New Window Script Redux

Aug 25, 2008

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 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

Share the Love: del.icio.us | digg | magnolia

Comments

Share Your Comment

You must preview your post and then hit submit.

If you haven't looked already check out my articles, my tutorials or my portfolio. If you need something else, please feel free to chat with me.

All content of this website (unless marked otherwise) is © copyright bradley j. cooper 2006-2008

Brad's AvatarI'm Brad Cooper a web designer/front-end programmer with a passion for actualizing visions. I try to create a piece of art in each site that I put together both visually and technically. I currently work outside Philadelphia and live in Marlton, New Jersey.

You can find me online:

Twitter | FriendFeed | Flickr | Delicious

Or keep up to date and:

Feed Icon Grab My Feed.

If you have a question or need some help, feel free to Chat with Me.

Recent Articles

» New Window Script Redux

» Magnolia - How social bookmarking should be - social!

» My Affinity for Color 2

» Pained by Invalid Code

Recent Tutorials

» Unobtrusive Expand and Collapse Navigation

» Forcing New Windows on Users Script

» Shorten document.getElementById

» Google Feed API Tutorial