Showing posts with label small talk. Show all posts
Showing posts with label small talk. Show all posts

Wednesday, April 10, 2013

RIP Blinky

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:

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.

Friday, March 15, 2013

Headline

Teaser headline in TPM's "Daybreaker" e-mail this morning:

It's as if the headline is missing a certain something... Something like:

Position On Incest Remains Firm.

Yeah, that'd work.

Friday, February 15, 2013

Valentine Sunset

Damn nice sunset last night:

I really like the shadow cast by Mary's Peak (approx 4200' tall) upward onto the clouds.

Wednesday, February 13, 2013

Something Different

Zero fucks given.

I like it, I really need to build something like this. I'd probably use an old Z-car instead though, always liked those.

Friday, February 1, 2013

Better

These were taken at the same time of day and the same area as this one but are very different.

I know these camera-phone-snapshot posts are the blahg equivalents of meaningless small talk -- wait... I guess that's pretty much this entire blahg. Meh, whatevs.

Anyway, it's very nice to see the sun again -- hoping it lasts through the weekend.