raydona Posted April 15, 2009 Share Posted April 15, 2009 Hi, How can I get text to appear and disappear very rapidly, so the text appears to be blinking. Thanks for your help. Link to comment https://forums.phpfreaks.com/topic/154189-get-text-to-blink/ Share on other sites More sharing options...
nadeemshafi9 Posted April 15, 2009 Share Posted April 15, 2009 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 More sharing options...
jackpf Posted April 15, 2009 Share Posted April 15, 2009 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 More sharing options...
nadeemshafi9 Posted April 15, 2009 Share Posted April 15, 2009 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 More sharing options...
nadeemshafi9 Posted April 15, 2009 Share Posted April 15, 2009 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 More sharing options...
jackpf Posted April 15, 2009 Share Posted April 15, 2009 No i wrote it myself lol Link to comment https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810553 Share on other sites More sharing options...
haku Posted April 15, 2009 Share Posted April 15, 2009 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? Link to comment https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810577 Share on other sites More sharing options...
FaT3oYCG Posted April 15, 2009 Share Posted April 15, 2009 you can use css to make text blink use some span tags and set the style i think it comes under text-decoration then just use blink as the attribute i.e. <span style="text-decoration:blink;">some text you want to blink</span> Link to comment https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810584 Share on other sites More sharing options...
jackpf Posted April 15, 2009 Share Posted April 15, 2009 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. Link to comment https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810628 Share on other sites More sharing options...
FaT3oYCG Posted April 15, 2009 Share Posted April 15, 2009 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 More sharing options...
jackpf Posted April 15, 2009 Share Posted April 15, 2009 Yeah, lol, come to think of it, I have never seen this property used since...I've been alive. Link to comment https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-810717 Share on other sites More sharing options...
maxudaskin Posted April 18, 2009 Share Posted April 18, 2009 Please note, blinking text is very annoying and should only be used if needed to get the users attention to that area. Even then, only make it blink a few times. Link to comment https://forums.phpfreaks.com/topic/154189-get-text-to-blink/#findComment-813299 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.