Good day
What i want to do is that:
Headlines ...........
imagine that the text scrolls down and stops each time for a specific delay then resume its scroll for a next text line
how do i do that? i found a hover in http://jsfiddle.net/BM2Cq/ that stops when you hover above the text.
i also want to incorporate the hover too :)
heres the code what i got for now:
<marquee class="tracks_marquee" direction="down" height="28" scrollamount="3" >Headline Text</marquee>
$(document).ready(function()
{
(".tracks_marquee").hover(function()
{
$(this).attr("scrollamount","0");
$(this).start();
},
function()
{
$(this).attr("scrollamount","2"); $(this).stop();
})
})
so thanks :D
did you mean like using attribute scrolldelay
ex : < marquee scrolldelay=5> Scrolling Text with delay < /marquee>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.