Slimbox 2 macht Probleme

First of all: Slimbox2 is a really good Lightbox solution, if not one of the best currently available within the jQuery framework. Easy to implement, easy to use, easy to customize.

If it weren't for Internet Explorer – sometimes it simply refuses to cooperate: While all images are beautifully displayed in the Lightbox in Chrome and Firefox, the webpage looks broken in IE after clicking on the image: no translucent background, the Lightbox is shifted to the upper-left corner and only partially visible. If such errors occur or nothing is displayed, you should go through the following points, regardless of whether you are using IE9, IE8, or IE7:

 

1) Is the DOCTYPE declaration the first thing on the requested page (not in the source text, but in the actual source code)? In Joomla, for example, there are configurations where PHP queries are executed before the actual DOCTYPE declaration – this is poison for Slimbox2 in IE.

 

2) Is the correct DOCTYPE declaration being used? If you are unsure which one to use here: See point 3.

 

3) Does Slimbox work on the author's website? If yes, simply reproduce the setup. If not, check your browser settings.

... back to the blog