PVP SERVERLER FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.
PVP SERVERLER FORUM

You are not connected. Please login or register

JavaScript DaktiLo YazıSı

Go down  Message [Page 1 of 1]

1JavaScript DaktiLo YazıSı Empty JavaScript DaktiLo YazıSı Sun Mar 28, 2010 9:42 am

Chun Chu

Chun Chu
Vip Üye
Vip Üye

Code:
<h2>
<script language="Javascript1.2">

/*
Neon Lights Text
By Abstraction
*/

var message="[color=red]BURAYA YAZIYI YAZIN[/color]"
var neonbasecolor="red"
var neontextcolor="yellow"
var flashspeed=100  //in milliseconds

///No need to edit below this line/////

var n=0
if (document.all){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>')

//cache reference to neonlight array
var tempref=document.all.neonlight
}
else
document.write(message)

function neon(){

//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
tempref[m].style.color=neonbasecolor
}

//cycle through and change individual letters to neon color
tempref[n].style.color=neontextcolor

if (n<tempref.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}

function beginneon(){
if (document.all)
flashing=setInterval("neon()",flashspeed)
}
beginneon()


</script>
</h2>[url=http://www.main-board.net/java/156175-javascript-daktilo-yazisi.html][img]http://www.main-board.net/images.gif[/img][/url]

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum