Forum Moderators: not2easy

Message Too Old, No Replies

Blinking text

I know its horrible but...

         

kapow

10:07 am on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't like blinking text but my customers really wants it.

I've heard there is a 'blink' attribute in html but have never used it.

Is there a way with css to apply a blink/flashing-text? I would really like it if I can set the timing so that it only flashes every 5 seconds or so.

jweighell

10:47 am on Jun 28, 2004 (gmt 0)

10+ Year Member



Not sure about in CSS, but there is a blink tag.

<blink>This is blinking, but not in all browsers</blink>

Microsoft have removed support for this in IE though, since it offends most people. I just tried it in Opera and it works there though.

Other than that, you could start playing with Javascript and timers to toggle the text on and off.

Or how about an animated gif?

encyclo

10:53 am on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



.whatever {text-decoration:blink;}

If you need to contol the flashing, you will need to use Javascript.

Leosghost

10:59 am on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Considering the likely repercussions of the current IE and javascript issue ..If your customer wants anyone to see it ..IMHO ..go the anigif route..
( do they wear "deeley boppers" to meetings? ;))

kapow

12:57 pm on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not supported in IE!
That makes it a waste of time since most people use IE.

Animated gif: Hmmm maybe this will work. Its for a particular message that appears about 50 times in the site - a sort of 'coming soon' message.

JavaScript will not work as he's using a CMS (content management system) to change his pages, and he can't make that kind of change.

ktwilight

2:35 pm on Jun 28, 2004 (gmt 0)

10+ Year Member



use an external jscript and import it to the template of the CMS, that should work well.

DrDoc

3:21 pm on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Microsoft have removed support for this in IE though

Microsoft never supported it in the first place. JavaScript or an animated GIF is your best bet...

drbrain

3:24 pm on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Conforming CSS2 user agents are not required to support the blink value of text-decoration [w3.org]:

Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value.

Robin_reala

10:30 pm on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm waiting for bug 173540 in gecko to be implemented - "make text-decoration:blink pulse instead of blink"