New Window Script Redux

I wrote a tutorial a little while back on writing a script that forces new windows on PDF and external links without the addition of anything extra into the xHTML. Turns out, to no surprise, that IE 6 does something strange with the image that indicates the new window. Check this screen shot out:

So there was some pretty good conversation around how to get this sort of thing to work and I think I found the best way to approach it. Instead of styling the link itself – throw a span at the end of the link and style that. Brilliant.

So if you’re using IE 6, check out the new demo – no breaking.

And if you’d like, here’s the full tutorial: Forcing New Windows on Users Script. Enjoy