You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since it is not possible to use your own selector within the "navi" property of the plugin "navigator" (http://flowplayer.org/tools/forum/35/45797) I coded my own navigation. The problem i got now is that after i used the navigation the next() functions does not work behind the second element. So it scrolls to the second element in the scrollable and then its "disabled". Here is my code:
if(0<$('.slideshow').length){
$('.slideshow').scrollable({
circular: true,
mousewheel: false
}).click(function(){
$(this).data('scrollable').next(); // the next function which fails
});
$('.thumbs .thumb').click(function(event){
event.preventDefault();
var attributes = $(this).attr('rel').split("-");
var slideshowInstance = $('.slideshow').eq(attributes[0]); // get the right slideshow instance
slideshowInstance.data('scrollable').seekTo(attributes[1],400); // seek to the specific element
});
}
if you have multiple similar navigators on a page and you are using a selector such as .thumbs you need to wrap each scrollable inside a wrapper element. after this all works. more about this:
Hi there,
since it is not possible to use your own selector within the "navi" property of the plugin "navigator" (http://flowplayer.org/tools/forum/35/45797) I coded my own navigation. The problem i got now is that after i used the navigation the next() functions does not work behind the second element. So it scrolls to the second element in the scrollable and then its "disabled". Here is my code:
Is this a bug or did i missunderstand something?
Browser: FF 3.6.6
jQuery: 1.4.2
jQuery Tools: 1.2.3
Kind regards
The text was updated successfully, but these errors were encountered: