10 September 2010

how to create a blinking text in Internet explorer

you must have seen blinking text in some website normally we use <blink> tag for this purpose
but it does not work in internet explorer

For this we have to write a simple java script which is as follow
<script type="text/javascript">
function doBlink()
var blink = document.all.tags("blink")
var length=blink.length;
for (var i=0;i<length;i++)
blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden":""
function startBlink()
if (document.all)
window.onload = startBlink;


TRY this .It will work :)