tkbe

October 25, 2006

My first IE7 bug!

Filed under: it — tb @ 11:55 pm

Well I didn't think I'd find it this fast, but here it is... The following code does not work with IE7:

HTML:
  1. <button onclick="window.open('http://www.google.com', 'Google Homepage')">Goto Google</button>

While the following code does work:

HTML:
  1. <button onclick="window.open('http://www.google.com', 'GoogleHomepage')">Goto Google</button>

The difference: there's a space between Google and Homepage in the first version.

Besides that, it sure is pretty to look at (and it opens links in a background tab when you click with the middle mouse button, just like Easy Gestures for FF!)

2 Comments »

  1. this bug isn’t IE7 specific, it also occurs in IE6.

    Comment by anonymous — October 31, 2006 @ 8:08 pm

  2. You’re right. I could have sworn I had it working on IE6, but it must have been later than I thought ;-)

    Comment by tb — November 2, 2006 @ 3:23 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress