Does anyone know of any jQuery plugins that can achieve the scrolling effect like the one seen here?
I'm not too well-up on javascript or jQuery and want to find something simple that just works. I've found examples on the net that I either can't understand or plugins that don't work. Don't need any fancy effects, just literally the ability to scroll the co开发者_Go百科ntents of a div and pause on mouse over, resume on mouse exit.
Thanks.
You can visit this url Click here for find it
modify this and hope it work fine.. you just decrease its pause time it will work as you specify in example.
Search for a jquery news ticker ? Here's a tutorial for how to achieve this effect : http://net.tutsplus.com/tutorials/javascript-ajax/build-a-simple-jquery-news-ticker/
I've put together a fiddle test page : http://jsfiddle.net/CzqFL/
It works the way you want, smooth scrolling as the site you were talking about in your first post..
Removal of Lightbox using Prototype got my JQuery stuff working ok.
I know this question is a bit old but just in case anyone comes by you can achieve this news ticker effect with this small function:
function tick() {
jQuery('#ticker li:first').slideUp(function () {
jQuery(this).appendTo(jQuery('#ticker')).slideDown();
});
}
And then setting an interval to execute it every period of time you choose:
setInterval(function () {
tick()
}, 5000);
I've put together a working example here: http://jsfiddle.net/XbjYS/1/
精彩评论