24 ways to impress your friends

Jump to menu

Vote down?

Jonathan Snook

Lovely!

Another way (which I’ve never personally done but think it’d be a decent solution) is to hold any JS-required styles in its own stylesheet and then use JavaScript to attach that stylesheet to the page.