Click here to Skip to main content
15,900,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

Need Html cod to stop the marquee after specific time interval automatically

Is it possible...

I alreay tried this kind of code..

but it works when i click the stop button only but i need to stop the marquee after

the specifted interval automatically without clicking any button...
Posted
Updated 23-Dec-12 20:01pm
v2

1 solution

Check this out...



http://www.quackit.com/html/codes/stop_marquee.cfm[^]

Go though various examples available in this.


Here is your solution :



XML
<marquee behavior="scroll" direction="left" id="mymarquee">
<p>Go on... press the button!</p>
</marquee>
<input type="button" value="Stop Marquee" onClick="document.getElementById('mymarquee').stop();">
<input type="button" value="Start Marquee" onClick="document.getElementById('mymarquee').start();">
 
Share this answer
 
v2

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