<blink> that works for internet explorer ?

Status
Not open for further replies.

Gat Dat

Active Member
554
2008
7
0
hey

i tried the code <blink> in site fuzzyshare.com


the thing is its only working for firefox , is there any html code like this to make it work with IE too ?
 
3 comments
Code:
<!--[if IE]>
<script type="text/JavaScript">
function doIt(){
document.getElementById('blink').style.visibility =  (document.getElementById('blink').style.visibility == "hidden") ? "visible" : "hidden";
}
function Knipper(){
setInterval('doIt()',1000);
}
window.onload = Knipper;
</script>
<![endif]-->
Code:
<p>Ik wil <span id="blink">knipperende tekst!</span></p>
Second hit on google

Dindt test it but the doIt() is pretty cool, better than firefox.....

setInterval('doIt()',5);

HTML

forgotten language.

I noticed on vBteam, im trying out alot of stuff with vBulletin and post it on vBteam, everybody OMG how cool.....

basic HTML......
 
Code:
<!--[if IE]>
<script type="text/JavaScript">
function doIt(){
document.getElementById('blink').style.visibility =  (document.getElementById('blink').style.visibility == "hidden") ? "visible" : "hidden";
}
function Knipper(){
setInterval('doIt()',1000);
}
window.onload = Knipper;
</script>
<![endif]-->
Code:
<p>Ik wil <span id="blink">knipperende tekst!</span></p>
Second hit on google

Dindt test it but the doIt() is pretty cool, better than firefox.....

setInterval('doIt()',5);

Allow me to shorten that to:
Code:
<span style="text-decoration: blink;">Bling bling!</span>

Edit: on second thought, you'll have to use javascript indeed. Seems like IE still doesn't fully support the standards (<blink> is not a part of the HTML standard). Now I remember why people should always use FF/Opera etc.
 
Status
Not open for further replies.
Back
Top