Sitenize güzel bir neon yazı örneği
İşte Kodlar:
<html>
<head>
<style>
.neontext
{
FONT: 10pt arial;
COLOR: black;
background-color: white;
border: medium none
}
</style>
<script>
var message="SifirVeBir.com"
var neonbasecolor="black"
var neontextcolor="red"
var flashspeed=100
var n=0
</script>
</HEAD>
<BODY onload="beginneon();" BGCOLOR="#FFFFFF">
<center>
<TABLE width="220" border="0" cellpadding="0" cellspacing="0" bgcolor=#F5F4E0>
<td width=200 height=30 bgcolor=white align=center><script>
if (document.all)
{
for (m=0;mdocument.write(''+message.charAt(m)+'</span>')
var tempref=document.all.neonlight
}
else
document.write(message)
</script></td>
</table>
</center>
</body>
<script language="JavaScript1.2">
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()",500)
return
}
}
function beginneon(){
if (document.all)
flashing=setInterval("neon()",flashspeed)
}
</script>
</html>
<script language="JavaScript1.2">
function neon(){
if (n==0)
{
for (m=0;mtempref[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()",500)
return
}
}
function beginneon(){
if (document.all)
flashing=setInterval("neon()",flashspeed)
}
</script>
</html>
1 yorum:
Bu neon yazının uygulanmış halini nerede görebilirim
Yorum Gönder