Jump to content

Recommended Posts

Hi,

How can I get text to appear and disappear very rapidly, so the text appears to be blinking. Thanks for your help.

http://www.domedia.org/oveklykken/css-blinking-text.php

 

http://www.google.co.uk/search?hl=en&q=css+blink+text&btnG=Google+Search&meta=&aq=f&oq=

Link to comment
https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810541
Share on other sites

function blink(id)
{
var text = document.getElementById(id);
text.style.display = (text.style.display == 'none') 'block' : 'none';
}
window.onload = function()
{
setInterval('blink()', 100);
}

 

Untested. But somehting like that.

 

And yes, kudos to nadeemshafi9, you could easily find something like that on google.

Link to comment
https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810543
Share on other sites

function blink(id)
{
var text = document.getElementById(id);
text.style.display = (text.style.display == 'none') 'block' : 'none';
}
window.onload = function()
{
setInterval('blink()', 100);
}

 

Untested. But somehting like that.

 

And yes, kudos to nadeemshafi9, you could easily find something like that on google.

 

was like the first result from the first search

Link to comment
https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810550
Share on other sites

function blink(id)
{
var text = document.getElementById(id);
text.style.display = (text.style.display == 'none') 'block' : 'none';
}
window.onload = function()
{
setInterval('blink()', 100);
}

 

Untested. But somehting like that.

 

And yes, kudos to nadeemshafi9, you could easily find something like that on google.

 

i was going to do a javascript myself but then i rembered those old websites with blink text css

Link to comment
https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810552
Share on other sites

I had to check the dates on this thread, cause I was sure it must be from '99, not '09. Has anyone actually used blinking text this millennium?

Lol.

 

And I tought text-decoration: blink didn't work in IE.

 

dunno lol, as quoted is it ever used any more, it is the worst effect that i can think of as the page viewer has to look at the text for longer to see what it says, using bold underline and italic effects are much more productive.

Link to comment
https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810705
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.