Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text blinking or flashing

Status
Not open for further replies.

0211

Technical User
Oct 14, 2003
35
US
Hi everyone:
I have a couple of piece of text that I want to be flashing in the page such as special or save type of things. How do I do it? Is it possible with CSS? or do I have to use something else?(I am using Internet Explorer not Netscape....)
Thanks
 
Oh boy, when did we roll back to 1997? Sorry, being a little facetious. Blinking or flashing text was so annoying that the major browsers have removed the (non-standard) tags from their reportoire. I believe that there is a CSS kludge that enables it. The other way would be to use JavaScript to periodically blank out a section of text.

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
Its annoying and if you are trying to use it to get people to notice something on your page it actually has the opposite effect (people have trained themselves to ignore intrusive ads, which blinking text will look like).

If you're still determined, check out
Posting code? Wrap it with code tags: [ignore]
Code:
[/ignore][code]CodeHere
[ignore][/code][/ignore].
 
Thanks everyone for the suggestion. Now that I think about it, it is annoying but my boss wants it that way.
SlowFlight, how do I get the code for your Sale thing. I love it!!!! Thanks
 
There is no code for the sale thing. It is an animated image.

MrBelfry
 
Does any existing browser recognise the [tt]text-decoration:blink[/tt] CSS property? It's optional for them to do so, according to the link Breadcrust provided.

The simpler minds of bosses are easily fascinated by flashing things, an animated gif is the easiest way to give him what he wants. Remember to use the alt attribute to spell out the message to imageless visitors:
[tt]
<img src=&quot;/images/sale.gif&quot; alt=&quot;Sale!&quot; title=&quot;&quot; height=&quot;100&quot; width=&quot;200&quot; />
[/tt]
If you want to try and persuade your boss of the folly of blinking text, point him at &quot;mistake 10&quot; on , this article makes interesting reading too:
-- Chris Hunt
 
Blinking in the 3 to 49 per second range can cause epileptic seizures, which could get your company sued. That should convince your boss not to do it.
 
Chris,


Should that not have said:

<img src=&quot;/images/sale.gif&quot; alt=&quot;Annoying Image, think yourself lucky you can't see it!&quot; title=&quot;&quot; height=&quot;100&quot; width=&quot;200&quot; />

[wink]

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Thanks everyone for the input. I think I am not going to use blink text after all I heard... I probably go with a moving (slowly) text type of thing. Maybe!! I need to talk to the boss again....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top