Shadowbox and Internet Explorer 8

This is a post from my previous blog which I thought I’d transfer here as it seems to be getting some Google hits!

(Originally posted Friday, 19th June 2009)

If, like me, you’ve been using Shadowbox.js by Michael J. I. Jackson for displaying shadow boxes for images and videos (see photos and videos), then you may have been slightly annoyed to get an “invalid argument in shadowbox.js” error when viewing the site in Internet Explorer 8.

To fix this, simply go to /(your-shadowbox-directory)/skin/classic/skin.css and add the following:

#shadowbox_title {
border: 0px solid;
}
#shadowbox_info {
border: 0px solid;
}

And it will all work!