It is still creates an infinite loop when i remove the mouse. Maybe it's a conflict with the numbered tab that I just added yesterday, following your other thread's good advice?
$("div.navi a").mouseover(function() {
$("div.scrollable").scrollable().getConf().interval = 0;
});
$("div.navi a").each(function(i) {
$(this).html(i+1);
});
---------------------------------------------------
Here's the full script i'm using :
<script>
// execute your scripts when DOM is ready. this is a good habit
$(function() {
// initialize scrollable
// insert here
$("div.scrollable").scrollable({
size: 1,
items: "#thumbs",
// items are auto-scrolled in x millisecond interval
interval: 5000,
// when last item is encountered go back to first item
loop: true,
// make animation a little slower than the default
speed: 600
// ul.tabs now functions as our navigator
//navi:'div.tabs'
});
$("div.navi a").mouseover(function() {
$("div.scrollable").scrollable().getConf().interval = 0;
});
$("div.navi a").each(function(i) {
$(this).html(i+1);
});
});
</script>
-------------
Thanks for everything!
$("div.navi a").mouseover(function() {
$("div.scrollable").scrollable().getConf().interval = 0;
});
$("div.navi a").each(function(i) {
$(this).html(i+1);
});
---------------------------------------------------
Here's the full script i'm using :
<script>
// execute your scripts when DOM is ready. this is a good habit
$(function() {
// initialize scrollable
// insert here
$("div.scrollable").scrollable({
size: 1,
items: "#thumbs",
// items are auto-scrolled in x millisecond interval
interval: 5000,
// when last item is encountered go back to first item
loop: true,
// make animation a little slower than the default
speed: 600
// ul.tabs now functions as our navigator
//navi:'div.tabs'
});
$("div.navi a").mouseover(function() {
$("div.scrollable").scrollable().getConf().interval = 0;
});
$("div.navi a").each(function(i) {
$(this).html(i+1);
});
});
</script>
-------------
Thanks for everything!