Webmaster

you are here: Lycos Home » Lycos Webmaster » Tips » Blinking text
Tips
All Tips ]

Blinking text

To get your titles noticed quickly, make them blink!

First, insert this script in the header of your page, between the tags <head> and </head>:

<SCRIPT LANGUAGE="JavaScript">
<!--
  function doFlash() {
    setInterval("txtDiv.filters.glow.enabled = !txtDiv.filters.glow.enabled", 700);
  }
// -->
</SCRIPT>

Next create your title as follows:

<DIV ID=txtDiv STYLE="width:400; filter:glow(color=gold, strength=2, enabled=0)"><H1>Enter your blinking text here!</H1></DIV>

Now all you have to do is activate the blinking via the onLoad attribute of the <body> tag:

<BODY onLoad="doFlash()">

Now your title blinks:

Blinking, blinking, blinking!



Compatibility. This tip only works with Internet Explorer version 4.0 and higher!

Discover all Webmaster tips.