Lightbox Issue in IE

I am sure I’m overlooking something, but in IE on some computers this light box for these images doesnt work. http://www.westleycontract.com/select_liquidations.htm

On my computer though it works in IE9, and 8. Then it also works in firefox, chrome, and safari. Any help with this? Not sure what is going on.

Hi,

You are using an outdated doctype that will throw all versions of IE into quirks mode and behave much like ie5 and most things will not work properly.

Add a proper doctype like the following:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

ah I didn’t see that. I picked this site up to make some changes after the other web designer left. Thanks

Nope that didnt work. Still opens the image in a new window instead of the lightbox. Weird because on my pc i have no issues with it.

Hi,

The first picture is working in IE now and opening in a lightbox but the others are not. It may be because you have used the same id on each of the pictures and ids must be unique.

id=“westley” is repeated numerous times and should only be used once.

You also have spaces in your file names which is not a good idea.

e.g.
images/sales home page/mandarin oriental1.jpg

If none of that makes a difference then shout and I’ll take another look.