Creating a Marquee effect
This marquee can be made by using tags <marquee>...</marquee>.
Attributes are often in use are:
BGCOLOR = "color" -> To set the background color (background) text
DIRECTION = "left / right / up / down" -> Set the text direction of movement
BEHAVIOR = "scroll / slide / alternate" -> To set the behavior of the moving
Scroll -> moving text rotates
Slide -> move the text once and then stopped
Alternate -> text moves from left to right and then back again (back and forth bo)
TITLE = "message" -> message will appear when the mouse is above the text
SCROLLMOUNT = "number" -> set the speed of movement in pixels, the greater the number semajin fast movements.
SCROLLDELAY = "number" -> To set the delay time in milli seconds
LOOP = "number | -1 | infinite" -> Set the number of loops
WIDTH = "width" -> Set the width of the text block in pixels or percent
To be more clear I will include for example:
Marquee example of the movement:
<MARQUEE align="center" direction="left" height="200" scrollamount="2" width="30%">
marquee from right to left
</MARQUEE>
results:
Marquee example of the movement behavior:
<marquee align="center" direction="left" height="200" scrollamount="3" width="90%" behavior="alternate">
Marquee of the movement behavior
</MARQUEE>
Sample marquee with a variation letters and background color:
<div align="left"><FONT FACE="georgia" color="White"><B><MARQUEE BGCOLOR="RED" width="90%" scrollamount="3" behavior="alternate">
marquee with a variation letters
</MARQUEE></b></FONT></div>
Maybe it was just a few examples that can be given, please use your creativity to create variations of this marquee.
Category: Blogging Tips, Tutorial
0 comments