Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hai....
I have to display datalist items inside scrolling marquee. It works well.But I want to display the first item just after the last item. Now there is a delay in displaying it. Can you help me to solve this problem?
Thanks...
Posted

1 solution

Are you talking about HTML element <marquee>? If yes, the answer is simple: don't use it :). But if you really cannot find another way to scroll content, try scrolldelay attribute
 
Share this answer
 
Comments
Neha Thanka 23-Aug-11 6:47am    
I used scrolldelay attribute. But my problem is that I can't display the first item just after the last item. Now there is a delay.For the second time, the first item is appearing only after the last item completely disappear from the screen.
Timberbird 23-Aug-11 7:08am    
There's no way to make it work with pure html (without hacks like very long cycled string, of course :) ). You can use something like this jQuery plugin, though
Neha Thanka 24-Aug-11 0:19am    
How can I use Javascript code in this?
Timberbird 24-Aug-11 8:56am    
They have demos on their site: this guide, for example. I believe you need one of scrollLeft / scrollRight / scrollHorz effects with parameters speed and timeout

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900