Jump to content

Blinking String In Ie

Recommended Posts

Not my code... but works in FF3, Opera 9.52, and IE6.Unsure of IE7+.note: It does not work in Safari(win) 3.2

<body  onload="setInterval('blinkIt()',500)"><script type="text/javascript">function blinkIt() { if (!document.all) return; else {   for(i=0;i<document.all.tags('blink').length;i++){	  s=document.all.tags('blink')[i];	  s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible';   } }}</script><blink>Am i blinking ?</blink>

not 100% sure if this is ok or not, but the code was originally from (http://www.rgagnon.com/jsdetails/js-0098.html). just giving credit where credit is due... and google was the original finder of that for me

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...