Terdapat 1 Tamu online
JavaScript Ready4

Neon Lights

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Neon Lights</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="wb_JavaScript1" style="position:absolute;left:37px;top:44px;width:100px;height:100px;z-index:0" align="left">
<script language="JavaScript1.2" type="text/javascript">
var message="Welcome to WYSIWYG Web Builder!";
var flashspeed=100;
var n=0;

if (document.all||document.getElementById)
{
document.write('<font style="font-family:Arial;font-size:12px;" color="#0000FF">');
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()
{
if (n==0)
{
for (m=0;m<message.length;m++)
crossref(m).style.color="#0000FF";
}

crossref(n).style.color="#C0FFFF";

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

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

StartNeon();

</script></div>
</body>
</html>

1 | 2 | 3 | 4 | 5