Friday, August 14, 2009

Make Marquee Effect (Running Text)

A blog on we usually see that, either from top to bottom, left to right, right to the left of the main motion. At the time this tutorial I will try to write a tutorial on how to create text that is running or marquee effect.




By making this marquee effect in our blog, blog akan look more beautiful and more attractive .. ceilee,, hehe. But the most important so visitors get more attention with the posts that are usually hehe .. (personal opinion)


Jump oke aja, tags that are used to create a marquee effect is:
<marquee......... marquee="">

While the Attribute that is usually used to make this marquee is as follows:

Bgcolor = "color" -> To set the background color (background) the text

Direction = "left / right / up / down" -> Set the text direction of movement

Behavior = "scroll / slide / alternate" -> To set the behavior of movement

Scroll -> text move rotate
Slide -> text stops moving once ago
Alternate -> text moves from right ago left behind again (pace bo)

TITLE = 'message "-> message will appear when the mouse is in the top text

SCROLLMOUNT = "number" -> set the speed of movement in pixels, the greater the number semajin fast gerakannya.

SCROLLDELAY = "number" -> To set the time delay in the movement milli seconds

Loop = "number | -1 | infinite" -> Set the number of loop

Width = "width" -> Set the width of the text block in pixels or percent

More details so that I will include for example the following

<marquee align="center" direction="left" scrollamount="3" width="30%" height="100">

marquee From Left to Right

</marquee>

Result
marquee from left to right
The words "right" you can change the "left, up or down."
<marquee align="center" direction="left" scrollamount="3" behavior="alternate" width="70%" height="200">
Tulisan ini bolak-balik kiri kanan


</marquee>

</marquee.........></span><div align="left"><span class="fullpost"><span style=";font-family:georgia;color:White;" ><b><marquee scrollamount="3" behavior="alternate" width="100%" bgcolor="RED">

Marquee dengan variasi warna font dan latar belakang

</marquee></b></span></span></div><span class="fullpost">

And the result is like this:






Marquee with variations in font color and background






Already ... segitu aja example. Later variations are set to stay in line with the desire to use the attributes that I write above.