We are first going to go over behavior in a marquee. The
behavior is how you make it move.
1.<marquee behavior=alternate></marquee>
2.<marquee behavior=scroll></marquee>
3.<marquee behavior=slide> </marquee>
|
We are going to go over
direction next. Direction is which way the
marquee moves.
1.<marquee direction=left> </marquee>
2.<marquee direction=right> </marquee>
|
We will now go over what
scrolldelay is. Scrolldelay is how quickly or
how slow the marquee moves. Normal is 16.
1.<marquee scrolldelay=25> </marquee>
2.<marquee scrolldelay=100> </marquee> |
We will now talk about loop. You can tell it how
many
times to move. Telling the marquee nothing lets it
move indefinitely.
1.<marquee loop=1> </marquee>
2.<marquee loop=3> </marquee> |
Hint to
change the size or color of the words in the marquee
use the font tag before the marquee.
1.<marquee transparency=50% height=50 width=300
bgcolor="#ffffcc">
2.<marquee transparency=70% height=70
width=350 bgcolor="#dddddd" scrolldelay=35>
Ex:<font size=1 color="#ee0000"><marquee
scrolldelay=45>
</font></marquee>
We can also use the transparency tag, and we can
change the background color of the
marquee. In relation to the backgound we can change
the height and the width around
the marquee.
Back Home | Next Page |
---|