joeblack9988 / slideshow

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

Feature Request #203

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I use your slideshow in all of the galleries I make, but please make callbacks 
so you can have a function called on slide change, initialization, etc.

Original issue reported on code.google.com by flash...@gmail.com on 7 Jun 2011 at 9:00

GoogleCodeExporter commented 8 years ago
Hi! So there are already some callbacks (from the wiki):

onStart, onComplete, onEnd - (function) Events that are fired on the start or 
completion of a slide change and at the end of a non-looping show.

I'm not sure that an initialization callback would be needed.

Original comment by aeron.gl...@gmail.com on 7 Jun 2011 at 10:03

GoogleCodeExporter commented 8 years ago
I see, thanks this was a major help.

~Jacob

Original comment by flash...@gmail.com on 7 Jun 2011 at 10:16

GoogleCodeExporter commented 8 years ago
If it helps to give you any ideas, I had a client request this sort of
navigation. Maybe an idea for a future version would be plugins to create
different styles of navigation.

http://stookemedia.com/Creative/Jacob/LLC_NEW/maintenance_photo_gallery.php

~Jacob

Original comment by flash...@gmail.com on 7 Jun 2011 at 10:25

GoogleCodeExporter commented 8 years ago
That style of navigation would be pretty easy to do with a little CSS and a 
line of javascript to insert the slide #'s into the thumbnails.

It would also be very easy to extend Slideshow with navigation plugins given 
the OO-style of the code.

Original comment by aeron.gl...@gmail.com on 8 Jun 2011 at 1:38

GoogleCodeExporter commented 8 years ago
True, which is what I did. It would be a cool feature though if the
slideshow could handle it automatically and have any different styles like
JWPlayer.

Events on creation (and others) of the slideshow are not necessary because
someone could very easily put a function call adjacent to the slideshow
declaration - but it makes cleaner code to have all slideshow code
contained, and it couldn't hurt.

Remember people who use your slideshow are more often then not people who
know much less than you about JavaScript, maybe not at all. For me, I just
don't use MooTools and I still have some difficulty hacking your code.

~Jacob

Original comment by flash...@gmail.com on 8 Jun 2011 at 6:15