I have installed the Lightbox 2 plugin for displaying my images. And it works perfect.
But even though it works flawless in all browsers (IE, Opera, Chrome, FF and Safari) I get this error-message in IE and I´ve searched the web for 2 days now, trying to solve the problem.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)
Timestamp: Fri, 30 Apr 2010 14:07:54 UTC
Message: Expected '}'
Line: 50
Char: 56
Code: 0
URI: http://vassingdesign.dk/wordpress/wp-content/themes/wp-creativix/js/lightbox.js
Maybe I think, that it has something to do with the escape-sequence, that IE doesnt understand or something.
Here is the code from the lightbox.js-file
//
// Configurationl
//
LightboxOptions = Object.extend({
//fileLoadingImage: '/wp-content/themes/wp-creativix/images/loading.gif',
fileLoadingImage : '../images/lightbox/loading.gif';
//fileBottomNavCloseImage: '/wp-content/themes/wp-creativix/images/closelabel.gif',
fileBottomNavCloseImage : '../images/lightbox/closelabel.gif';
overlayOpacity: 0.8, // controls transparency of shadow overlay
animate: true, // toggles resizing animations
resizeSpeed: 7, // controls the speed of the image resizing animations (1=slowest and 10=fastest)
borderSize: 10, //if you adjust the padding in the CSS, you will need to update this variable
// When grouping images this is used to write: Image # of #.
// Change it for non-english localization
labelImage: "Image",
labelOf: "of"
}, window.LightboxOptions || {});
Line number 50 is:
fileLoadingImage : '../images/lightbox/loading.gif';
And I have tried with
fileLoadingImage : '../images/lightbox/loading.gif',
But then half the screen just turn black. :(
Really hope you can help.