Jumat, 11 Februari 2011
Home »
Tutorial Blog
»
Teks Gaya Neon
Teks Gaya Neon
<h1>
<script language="JavaScript1.2">
//Visit http://space-blogg.blogspot.com for this script
//ganti Teks anda di bawah ini :
var message="Welcome To Www.kikiyo.co.cc"
//Ganti warna Teks di bawah ini sesuai keinginan anda
var neonbasecolor="blue"
var neontextcolor="Yellow"
var neontextcolor2="#33CC99"
var flashspeed=100
var flashingletters=3
var flashingletters2=1
var flashpause=0
///http://space-blogg.blogspot.com/////
var n=0
if (document.all||document.getElementById){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
document.write('</font>')
}
else
document.write(message)
function crossref(number){
var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
return crossobj
}
function neon(){
//http://space-blogg.blogspot.com
if (n==0){
for (m=0;m<message.length;m++)
crossref(m).style.color=neonbasecolor
}
//http://space-blogg.blogspot.com
crossref(n).style.color=neontextcolor
if (n>flashingletters-1) crossref(n-flashingletters).style.color=neontextcolor2
if (n>(flashingletters+flashingletters2)-1) crossref(n-flashingletters-flashingletters2).style.color=neonbasecolor
if (n<message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",flashpause)
return
}
}
//http://space-blogg.blogspot.com
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script>
</h1>
INFO :
Jika artikel
Teks Gaya Neon
ini bermanfaat, silahkan sobat share (copy/paste) artikel ini. Bila berkenan mohon mencantumkan link sumbernya,
http://space-blogg.blogspot.com/2011/02/teks-gaya-neon.html. Terima Kasih,,
0 KOMENTAR: