Hi all,
Im trying to implement a very simple auto scroller, using the following code:
However, when line starting api.onStart returns an error:
api.onStart is not a function
Can anyone tell me why please?
Thanks in advance
higgsy
Im trying to implement a very simple auto scroller, using the following code:
$(".scroll").scrollable().autoscroll({
autoplay: true,
interval: 1000
});
var api = $(".scroll").data("scrollable");
api.onStart(function(e, i) {
...
});
However, when line starting api.onStart returns an error:
api.onStart is not a function
Can anyone tell me why please?
Thanks in advance
higgsy
