VIPStephan
11-24-2009, 11:28 AM
I’m currently trying to put a horizontal news scroller on a page and since I’m using jQuery already I wanted to have something using this framework. However, all I found so far isn’t 100% satisfying for me so far.
The best I could find was liScroll (http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html) which works but makes me a little suspicious as the script hasn’t been updated since 2007. OK, this could as well be a sign that the script is perfect and it is working in all major browsers but it has a huge gap after the last news item has passed. I would like it to be completely circular, i. e. the first news item should come right after the last one again without huge gap. Does anybody know what I would have to modify? I can’t for the life of me find what’s causing the gap.
I also tried to modify the news ticker script on http://net.tutsplus.com/tutorials/javascript-ajax/build-a-simple-jquery-news-ticker/ (to make it horizontal) and it works perfectly in Firefox if I change all marginTop and height occurrences to width and marginLeft but IE refuses to accept this (i. e. doesn’t scroll).
The last option I tried was to use scrollable (http://flowplayer.org/tools/scrollable.html)’s autoscroll plugin but it doesn’t work as smoothly as the other ones and I think it’s not so well suited for this purpose.
So I’m totally grateful for any help you can give me.
The best I could find was liScroll (http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html) which works but makes me a little suspicious as the script hasn’t been updated since 2007. OK, this could as well be a sign that the script is perfect and it is working in all major browsers but it has a huge gap after the last news item has passed. I would like it to be completely circular, i. e. the first news item should come right after the last one again without huge gap. Does anybody know what I would have to modify? I can’t for the life of me find what’s causing the gap.
I also tried to modify the news ticker script on http://net.tutsplus.com/tutorials/javascript-ajax/build-a-simple-jquery-news-ticker/ (to make it horizontal) and it works perfectly in Firefox if I change all marginTop and height occurrences to width and marginLeft but IE refuses to accept this (i. e. doesn’t scroll).
The last option I tried was to use scrollable (http://flowplayer.org/tools/scrollable.html)’s autoscroll plugin but it doesn’t work as smoothly as the other ones and I think it’s not so well suited for this purpose.
So I’m totally grateful for any help you can give me.