A sad, sad day. The much-maligned <blink> tag is being removed from the last browser that supported it, Firefox.
Thankfully, we can easily come up with an even more annoying alternative, our own special programmatic "blink" that has adjustable speed and alternating blinkage.
First, apply a "class" attribute to whatever you want to blink:
<div class='blink'><p>PUT ANNOYING BLINKY STUFF HERE</p></div>
You can use tags other than <div> -- <span> is a good choice too. Note that more than one item can have the same "class" so you can do that multiple times. In fact you should, because that way they'll alternate states and be extra annoying.
Now, add just a tiny bit of code:
<script type="text/javascript">
var delay=100; // change to adjust speed
function annoy() {
var annoyances = document.getElementsByClassName('blink');
var positive=1;
for (var i=annoyances.length - 1; i>=0; i--) {
var b = annoyances[i];
if (positive === 1) {
b.style.visibility = (b.style.visibility === 'visible') ? 'hidden' : 'visible';
positive = 0;
} else {
b.style.visibility = (b.style.visibility === 'hidden') ? 'visible' : 'hidden';
positive = 1;
}
}
window.setTimeout(annoy, delay);
}
annoy();
</script>
Presto:
THIS SHOULD ANNOY EVERYONE
BUT IF IT DOESN'T HOW ABOUT THIS TOO?
Oh yeah, that's the stuff. The blink is dead, long live the blink!
UPDATE: I fixxorated it so it'll work (hopefully) with a new-ish version of Internet Exploder too. Woudln't want bbkf and Mooser to miss out.
Hey, that works in the body of the post from the HTML compose screen?
ReplyDeleteIndeed it does.
DeleteI'm sure Monsieur McGravitas or Smut Clyde could cook up something just as seizure-inducing.
ReplyDeleteI would be surprised if they hadn't already.
DeleteIs that a challenge?
ReplyDeletehttp://eusa-riddled.blogspot.co.nz/2010/08/pattern-induced-flicker-colours.html
I get no blink. Is there blink? Should I be seeing blink?
ReplyDeleteOh wait, O-r-e-g-o-n. Darn, I thought this was a B3 site.
Damn, you, sir. Damn your eyes!
ReplyDeleteYou're welcome!
DeleteI hope you're happy now.
ReplyDeleteWell done, sir!
DeleteStill better than the Zappa.
ReplyDeleteHey, at least Zappa is dead. Your Mekons haven't even been kind enough to zombify themselves yet.
Delete1998 LIVES!
ReplyDeleteI simply must come up with code to replicate a blinking marquee tag for the truly horrific 1998 Angelfire website effect. I can sense another post coming on!
Delete*Sniff* I'm pouring some beer out. It's for Blinky.
ReplyDeletehey, what gives? i see no blinky here...i do over at riddled...am i just not cool or what?
ReplyDeleteProbably won't work if you're using Internet Explorer. I've tested it with everything else though.
DeleteI blinked and I missed it.
ReplyDelete~
Try that with the new one...
Delete