Click to See Complete Forum and Search --> : Flashing Text Help


Dviper_2001
02-28-2003, 04:00 PM
anyone know how to put flashing or blinking text on a web page?

pyro
02-28-2003, 04:53 PM
In netscape, either of these will work

<blink>test</blink>
<span style="text-decoration: blink">test</span>

In IE, we need to get a bit more creative...

<head>
<script language="javascript" type="text/javascript">
function blink()
{
document.getElementById("blinking").style.color = "white";
setTimeout ("blink2()",500)
}
function blink2()
{
document.getElementById("blinking").style.color = "black";
setTimeout ("blink()",500)
}
</script>
</head>

<body onLoad="blink()">
<span id="blinking">test</span>
</body>