jquery.scrollto / jquery.serialscroll plane scrolling


i am looking exercise plane scrolling controlling (based ).



i now have continual plane scrolling operative liscroll i plead .



however, i need dissimilar scrolling i have serialscroll operative ideally loyal scrolling.



for reason, 'axis' ability specified 'x' zero happens.



i can't even work.



i have html this:



<div id="pane">
<div>item 1</div>
<div>item 2</div>
<div>item 3</div>
</div>


i have jquery this, works focus 'y'



 jquery(function($) {
var $pane = $('#pane');
$pane.serialscroll({
items: 'div',
next: $pane, // enclosing itself bound
duration: 2100,
force: true,
axis: 'x',
step: 1, //scroll 1 news any time
event: 'shownext' //just futile eventuality name
});

setinterval(function() {//scroll any 12 seconds
$pane.trigger('shownext');
}, 12000);
});


any ideas?



//edit (answer accepted)



for those along, supposed answer gets absolved need "serialscroll" (just need scrollto). heights weren't required. certain change $('scroller') something $('mywrap') $(target.parent().parent()). also set adult involuntary scrolling this:



 var index = 2;

setinterval(function() {//scroll any 5 seconds
index = index > $('#news ul li').length ? 1 : index;
sliderscroll($('#news ul li:nth-child(' + index + ')'));
index ++;
}, 5000);


replacing #news ul li your suitable selector.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?