Is it possible to programmatically pause automatic scrolling? I don't see any mention of this functionality in your documentation.
Thanks in advance for your help,
Ken
Thanks in advance for your help,
Ken
Posts: 1867
Registered:
Nov 16, 2007
$("div.scrollable:first").scrollable().getConf().interval = 0
Posts: 1867
Registered:
Nov 16, 2007
$("div.scrollable").click(function() {
$(this).scrollable().getConf().interval = 0
});
$(document).ready(function() {
$("#marquee_wrapper .scrollable").scrollable({
size: 1,
vertical: true,
loop: true,
interval: 10000,
speed: 200,
clickable: false,
navi: '.rotator'
});
$("#marquee_wrapper .rotator a").click(function() {
$(this).scrollable().getConf().interval = 0;
});
});
Posts: 1867
Registered:
Nov 16, 2007
$("#marquee_wrapper .rotator a").click(function() {
$(".scrollable").scrollable().getConf().interval = 0;
});
$(this).parents(".scrollable").scrollable().getConf().interval = 0;