3. Text bergerak ke atas
Preview: Code: <marquee behavior="scroll" direction="up">Your upward scrolling text goes here</marquee> [[ gantikan 'down' untuk turun ]]
4. Text bergerak dengan kelajuan berbeza
Preview: Code:
<marquee behavior="scroll" direction="left" scrollamount="1">Slow scroll speed</marquee>
<marquee behavior="scroll" direction="left" scrollamount="10">Medium scroll speed</marquee>
<marquee behavior="scroll" direction="left" scrollamount="20">Fast scroll speed</marquee>
6. Text akan berhenti apabila mouse berada pada text
Preview: Code: <marquee behavior="scroll" direction="left" onmouseout="this.start();" onmouseover="this.stop();">Put your mouse here!</marquee>
7. Text berhenti dan bergerak dengan butang
Preview:
Code: <marquee behavior="scroll" direction="left" id="mymarquee"><span style="font-size: normal;">
Click to stop and move</span></marquee><br />
<marquee behavior="scroll" direction="left" id="mymarquee"><span style="font-size: large;"><br /></span>
</marquee><span style="font-size: large;">
<input onclick="document.getElementById('mymarquee').stop();" type="button" value="Stop Marquee" />
<input onclick="document.getElementById('mymarquee').start();" type="button" value="Start Marquee" /></span>
Post a Comment Blogger Facebook
Click to see the code!
To insert emoticon you must added at least one space before the code.