Teks Roller Coaster

|

Demo :

Ini adalah Teks Roller Coaster


Cara membuatnya

Dari Dashboard >> Design >> Edit HTML.

Penempatannya
dibawah <body>
........
diatas </body>
artinya ad diantara bisa diatas </body> atau dibawah <body>

<script type='text/javascript'>
//<![CDATA[

/*
Roller Coaster Script- By JavaScript Kit
http://www.javascriptkit.com/script/script2/roller.shtml
*/

var fs=1
var direction="right"
function rollertext(whichone){
var thetext=whichone
for (i=0;i<thetext.length;i++){
document.write(thetext.charAt(i).fontsize(fs))

if (fs<7&&direction=="right")
fs++
else if (fs==7){
direction="left"
fs--
}
else if (fs==1){
direction="right"
fs++
}
else if (fs>1&&direction=="left")
fs--

}
}
//Change below text to your won
rollertext("Ini adalah Teks Roller Coaster")

//]]>
</script>
Teks berwarna merah, ganti dengan teks anda !.

0 komentar:

Posting Komentar

Next Prev
▲Top▲