-----Original Message-----
How do I make a word or line of text blink or flash?
Surround it with <blink> and </blink> tags. However, this
only works in Netscape. To make it work in IE, add this
script to the <head> section of the page:
<script type="text/javascript">
function doBlink() {
var b = document.all.tags("BLINK")
for (i=0; i < b.length; i++){
if (b
.style.visibility == ""){
b.style.visibility = "hidden";
}else{
b.style.visibility = "";
}
}
}
function startBlink() {
if (document.all){
setInterval("doBlink()",1000)
}
}
window.onload = startBlink;
</script>
The value of 1000 in
setInterval("doBlink()",1000)
sets the blink interval to one second. Treat this value
as a strict minimum. Lower values (and thus faster
blinking) can trigger epileptic seizures.
Actually, constant blinking of this kind is out of favor.
The blinking distracts attention from the rest of the
page, and the blinking text itself is hard to read.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------