Tacky DHTML web tricks #1
Sunday, October 16th, 2005
It’s been a while since we’ve had some DHTML (Sorry, I mean, DOM scripting) action here, so I thought I’d get us back on track with some stupid DHTML tricks for your web page. Today I’ll be showing you the Strongbad-esque technique I’ve been employing around these parts: hidden popup images.
Have a browse at some of the more recent articles around here. Scan your mouse over all the words. If you find them, pretty images spring to life - adding form and colour to the page. Then, seconds later, they are gone. Leaving you - the reader - intrigued and amused.
So how do you do it?
Well, first some considerations to make popup images practical:
- It’s got to be easy to add new images. Otherwises it’s not gunna happen.
- It must provide a method of varying parameters on each image, for added wackiness.
- It has to “gracefully degrade” if viewed on browsers that don’t support javascript.

The logic is simple - there are currently
On some days you learn something new every day. For me, today was like 20 of those every days.
