Script Teks Neon berikut scriptnya :
1. Klik "Layout" (Tata Letak)
2. Klik "Add Gadget"
3. Pilih "Javascript/HTML"
4. Copy dan Paste kode berikut ini:
5. save.
<center><h1>
<script language="JavaScript1.2">
//Visit http://ananggresik.blogspot.com/ for this script
var message="https://anangzaini.blogspot.com"
var neonbasecolor="blue"
var neontextcolor="Yellow"
var neontextcolor2="#33CC99"
var flashspeed=50
var flashingletters=3
var flashingletters2=1
var flashpause=0
///http://ananggresik.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://ananggresik.blogspot.com/
if (n==0){
for (m=0;m<message.length;m++)
crossref(m).style.color=neonbasecolor
}
//http://ananggresik.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://ananggresik.blogspot.com/
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script>
</h1></marquee>
<center></center></center>
No comments:
Post a Comment