SlidesJS Events Binding

498 views
Skip to first unread message

ujjwal

unread,
Mar 1, 2012, 4:21:48 AM3/1/12
to SlidesJS
I want to know how these functionalities can be achieved in SlidesJS -

1) What is the event called after change of slides? Is there any such
JavaScript event which occurs after change of slides to which I can
bind another action - like changing text in some other div?
2) How to know the index of current slide?
3) Is there a method with which I can set the current slide given the
index of slide?

Thanks,
Ujjwal

JF

unread,
Apr 19, 2012, 11:21:29 PM4/19/12
to slid...@googlegroups.com
I would also be interested in knowing the answers to Ujjwal's questions; especially to question #1.

Cheers!

JF

JF

unread,
Apr 19, 2012, 11:54:42 PM4/19/12
to slid...@googlegroups.com
I just tried a few things and found that the parameter animationStart can be used to specify the function to be called before each slide is displayed. 

Cheers!

JF

Kyle Macey

unread,
May 25, 2012, 1:05:14 PM5/25/12
to slid...@googlegroups.com
From the SlidesJS unminified code:

animationStart: function(){}, // Function called at the start of animation
animationComplete: function(){}, // Function called at the completion of animation
slidesLoaded: function() {} // Function is called when slides is fully loaded



On Thursday, March 1, 2012 4:21:48 AM UTC-5, ujjwal wrote:
Reply all
Reply to author
Forward
0 new messages