Serikin's

Permohonan Online Ke Sekolah Berasrama Penuh Tingkatan 1 Dan Tingkatan 4 Sesi 2014

Sabtu, 21 September 2013

Moving Color Animation

This animation using javascript, so you can install the code easily on your blog/web.
This animates a moving color on a text. You could specify the moving color. And you can see the example below.

FidScript

To have it on your blog/web, just copy the codes below and paste it to your blog.

Script code (you should place this on your blog's widget):


Text code:


To specify the moving color, just change the color_1 variable. You can type hex code for the color, or directly type the color's name. Example: to set the color to be red, you should get the code like below:

var color_1 = "#ff0000"
or,
var color_1 = "red"

And to get text have the animation, you just have to set the class be "animation1" inside its tag and you can set the other parameters of the tag, such like idstyle, etc, but you should not add another tag inside the animation tag.




Tiada ulasan:

Catat Ulasan