I am trying to change the direction of jQuery Rhinoslider after each animation. I think it's just a matter of changing the slideNextDirection
setting, but I don't know too much about the jQuery plugin structure and how to get at that setting.
This is what I tried, but obviously it doesn't work:
$slider = $('#slider').rhinoslider({
slideNextDirection: 'toTop',
callBackNext: function() {
$(this).slideNextDirection = 'toLeft';
//tried this too :)
//$slider.slideNextDirection = 'toLeft';
return false;
}
});
Any ideas?