Social Icons

twitter facebook google plus

Pages

Wednesday, 28 August 2013

HOW TO USE CONTROL BUTTONS IN HTML DURING MARQUEE..

THINK DIFFERENT

THINK DIFFERENT

Copy this HTML code and paste in notepad and save it with .html format then open it..


<HTML>
<title>
THINK DIFFERENT
</title>
<BODY bgcolor="cyan">
<marquee id="think different" behavior="scroll" direction="left" scrollamount="10">
<h3>THINK DIFFERENT</h3>
</marquee>
<center><input type="button" value="slower" onClick="document.getElementById('think different').setAttribute('scrollamount',2,0);">
<input type="button" value="Normal" onClick="document.getElementById('think different').setAttribute('scrollamount', 10, 0);">
<input type="button" value="faster" onClick="document.getElementById('think different').setAttribute('scrollamount',25,0);">
</center>
</BODY>
</HTML>

No comments:

Post a Comment

 

OUR VISION

think different

ABOUT US