开发者

jQuery ticker plugin bug in Chrome

Here at www.islyamov.site90.net I use Alex Fish's Ticker plugin (http://alexfish.heroku.com/posts/21) to animate list items. List is styled properly with CSS, and you can see red, yellow and blue bubbles replacing one another.

The problem is, when 开发者_如何学CChrome loads the page first time, ticker stops functioning on yellow bubble, however when you refresh the page, it works properly and displays all three list items with text. So, what is the problem and how to fix it?

Here is the Plugin code http://plugins.jquery.com/files/ticker.js_1.txt Here is the script within document

    $(document).ready(function(){
        $('#ticker').list_ticker({
                speed:2000,
                effect:'fade'
        })              
})


Try removing run_once:false, looks like it's causing the bug in chrome, using this worked for me:

https://gist.github.com/1143861


To rotate list items you can also use another jQuery plugin the jQuery Web Ticker it works with all browsers. This enables you extended use especially if you have wordpress or another CMS which already bundles jQuery making your download footprint much smaller then alternatives.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜