View Full Version : <blink> that doesn't blink.

01-15-2003, 09:18 PM
Is something wrong with this?


Not the end of the world, I can use bold red.

01-15-2003, 09:25 PM
Mozilla/Netscape are the only browsers to support <blink>.

It is not part of the HTML specification, and:
text-decoration: blink;
is only an optional part of the CSS2 specification.

01-15-2003, 09:26 PM
That you try to view it in something else than Netscape maybe? :p

Try the CSS version and you will get at least modern Netscape/Moz and Opera.

.foo { text-decoration: blink }

01-15-2003, 10:03 PM
Thanks, I finally decided it was probably <blink>irritating</blink> anyway.


01-15-2003, 10:15 PM
Oh sorry jkd. I didn't see your post until now. Guess I'm a slow typer. :o

Roy Sinclair
01-15-2003, 11:13 PM
Blinking test is a bad idea, it makes text hard to read because it keeps vanishing. If you insist and also want IE to blink too, the following will do the trick:



<public:property name="msec" value="500"/>
<public:method name="blink"/>
<public:method name="pause"/>
<public:attach event="oncontentready" onevent="initBlink()"/>
<public:attach event="onpropertychange" onevent="checkProperty()"/>

<script language="JScript">

// Declare a reference to the interval
var blinkInterval;

function initBlink() {
if (element.style.visibilty == null) element.style.visibility = "visible";
blinkInterval = window.setInterval(element.uniqueID +".blink()", msec);
paused = false;

function blink() {
element.style.visibility = (element.style.visibility == "visible") ? "hidden" : "visible";

function pause() {
if (paused)
blinkInterval = window.setInterval(element.uniqueID + ".blink()", msec);
paused = !paused;

function checkProperty() {
window.status = event.propertyName;
if (event.propertyName == "msec") {



blink {behavior: url(blink.htc);}
Normal text<br>
<blink>Blinking text</blink><br>
More normal text<br>

Not my code, unfortunately I can't remember where I first ran across it so I can properly attribute the author and they didn't put anything into the code itself to help remind me. I kept it mainly because I was interested in the methods it used.

01-16-2003, 02:40 AM
/me just a has® this bookmarked from just a longgg® time back...

Roy Sinclair
01-16-2003, 05:02 PM
Thanks for the reference link, I'll add it to the code I have so that credit will be properly offered.

01-16-2003, 05:32 PM
Or if you want just a complete cross-browserness (is that even a word?) then just a make a animated gif with the text just a blinkin.

Hey there just a you where the heck you been?

01-16-2003, 08:44 PM
you mean thattt link just a goes® to the same 'code' that ya posted???...lol...

welll...tis been just a longgg® past year n' just a half® with grampa n' his health...sooo guessin' ya could say /me has been just a going® from one operation to the next with him :O((( ...'cept nooowww seems 'cept for one little (???) 'bleed' hes starting to recover n' hoping that the doc we see tomorrow will know what the code... errr cure is for it...:O)))

sooo...nowww /me is just a trying® to once just a gain® help out where/when she can...:O)))

01-17-2003, 03:17 AM
here's also the link too the javascript