Thursday, 2 October 2014

text slide html code

From right to left. This is the most simple animation given that we will not
need a label to achieve the movement.

From left to right. We will add the attribute direction with the "right" as follows
<marquee direction="right">TEXT</marquee>
direction set as you need

Alternatively. With attribute behavior.
<marquee behavior="alternate">TEXT</marquee>

Html code for on mouse stop and off mouse start

<marquee behavior="scroll" direction="up" onmouseover="this.stop();" onmouseout="this.start();" scrolldelay="100" scrollamount="2">
Edit this text as per your requirement </marquee>

No comments:

Post a Comment