BipadTaranMahato / slideshow

Automatically exported from code.google.com/p/slideshow
0 stars 0 forks source link

allow more options for "?slide=" #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
linking to a specific slide using an integer is great for a slideshow with a 
fixed number of items that 
will not grow in the future.  It would be helpful to be able to target a slide 
through other means.  
One approach might be to use the file name ("?slide=my_pic-1.jpg") or set an 
attribute in the data 
array for a friendly target naming scheme (target: my_pic-1) and expose it in 
the URL as "?
slide_target=my_pic-1".

Original issue reported on code.google.com by stuartal...@gmail.com on 18 May 2009 at 3:53

GoogleCodeExporter commented 9 years ago
This has been added to SVN (rev 150). You can find the latest version here:

http://code.google.com/p/slideshow/source/browse/trunk/mootools/slideshow.js

If you would like to match a filename you could try:

match: /slide=(.*?)$/

Original comment by aeron.gl...@gmail.com on 19 May 2009 at 12:32

GoogleCodeExporter commented 9 years ago
You rock.  That was exactly what I needed.

Original comment by stuartal...@gmail.com on 19 May 2009 at 1:44