This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Front Page > February 2004 > Blinking Text





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Blinking Text
MyTreasuredSecrets.com

2004-02-29, 5:29 pm

How do I make text blink?
Steve Easton

2004-02-29, 5:29 pm

Requires javascript in Internet Explorer. Most people don't like it,
but.....
Place this between the head tags.

<script type="text/javascript">
function doBlink() {
var b = document.all.tags("BLINK")
for ( i=0; i < b.length; i++)b[i].style.visibility = (b[i].style.visibility
== "" )? "hidden" : "" }
function startBlink() {
if (document.all)setInterval("doBlink()",1000)}
window.onload = startBlink;
</script>

Then surround the text you want to blink with blink tags.

<blink>this text will blink</blink>

Note: this script is set to blink one second on and one second off.
Do *NOT* make it blink faster ( by setting the value below 1000 ) as it can
cause "Light Flicker Syndrome" seizures in people who are prone to Epileptic
seizures.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

"MyTreasuredSecrets.com" <anonymous@discussions.microsoft.com> wrote in
message news:5BADC7E2-B17C-486D-8CE1-F183E6EA8451@microsoft.com...
> How do I make text blink?



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews