24 ways to impress your friends

Jump to menu

Vote down?

Tom

Waaah! I so don’t(!) wanna use this…

If you don’t care for search engines (login needed or sth.), you could maybe do it like load the image via CSS-Background and generate a style block with noscript around it.

<noscript>
<style>
.noJS .image1{background:…}
.noJS .image2{background:…}
</style>
</noscript>
<img src=“spacer.gif” class=“image1” alt=”“/>

Looks much cleaner to me than your solution, at least a bit… ;)