tags:

views:

290

answers:

4

Neither the <blink> tag nor the text-decoration:blink; style in css are supported in Internet Explorer.

Is there any technique available for making blinking text in IE?

+8  A: 

Don't make it blink. It's a bad idea.

Banford
It's also not supported in Chrome and Safari.
Banford
A: 

From a design perspective it's generally considered a very bad idea. However, if you really want to do it, the effect can be achieved in javascript:

http://www.google.co.uk/search?q=javascript+blinking+text

Richard
+6  A: 

Avoid blinking, if possible - it annoys people.

But you can do it with JS/jQuery like this:

setInterval( "jQuery('.blinking').toggle()" , 1500 );

That'll show/hide anything with the blinking class every 1.5 seconds.

So in the HTML you would do:

<span class="blinking">hello!</span>  


But again, think very carefully about whether it should be blinking!

If you need something to specifically draw a user's attention (and for whatever reason regular emphasis/highlighting/etc isn't good enough), then instead of on-off blinking (where the text dissappears for half the time), consider changing the colour, or a blinking underline/border, or similar.
The key thing is, if something is important enough to visually annoy the user then it should remain readable.

Peter Boughton
+2  A: 

Dont do it! It is also bad for Accessibility, as users can't specify how long they see the text for.

jos
unless its purpose is to generate epileptic fits?
Thqr