Saturday, 01 November 2014 13:26
beggarly

lighbox broken in IE6 and IE7

zOOm Media Gallery for Joomla 1.5

lighbox broken in IE6 and IE7

Postby ideamarket » Tue Apr 29, 2008 2:38 pm

When I use firefox (2.0.0.14) the lightbox JS popup effect seems to work fine but IE6 and 7 anf FF (2.0.0.12) it just opens a new window. any one else have this error or have solved it?
Last edited by ideamarket on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
ideamarket
Fresh Boarder
Fresh Boarder
 
Posts: 15
Joined: Thu Mar 20, 2008 5:09 pm

Re:lighbox broken in IE6 and IE7

Postby ideamarket » Tue Apr 29, 2008 4:55 pm

Alright I just tested a site I made a few weeks ago that did work with lightbox zoom popup but is no longer working, it does them same thing, click the link and it just opens a new window to display the image in. obveosly IE is not allowing the javascript files to be included during loading.

however other scripts are working on the page such as suckerfish.js...I'm at a loss, I'd like to say that it may have been a security update from microsoft, but thats hard to test, can some one give it a try and let me know if the script loads for them.

http://www.faces-model.com/index.php?option=com_zoom&Itemid=89&catid=13
ideamarket
Fresh Boarder
Fresh Boarder
 
Posts: 15
Joined: Thu Mar 20, 2008 5:09 pm

Re:lighbox broken in IE6 and IE7

Postby ideamarket » Tue Apr 29, 2008 6:50 pm

I turned on debugging in IE and got this error when I load the page/gallery:

Line: 259
Char: 3
URL: http://www.faces-model.com/index.php?option=com_zoom&Itemid=89&catid=13

when I click the image to have the lightbox popup effect I get this error:

Line: 203
Char: 35
ERROR: 'myLightbox' is undefined
URL: http://www.faces-model.com/index.php?option=com_zoom&Itemid=89&catid=13

These errors seem to be in the lightbox.js file for the myLightbox.start, and myLightbox.end functions...I have no idea why they would not work.

I have added an onload="initLightbox()" to the body tag like the lightbox hompage says to do and still no go.
Last edited by ideamarket on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
ideamarket
Fresh Boarder
Fresh Boarder
 
Posts: 15
Joined: Thu Mar 20, 2008 5:09 pm

Re:lighbox broken in IE6 and IE7

Postby ideamarket » Tue Apr 29, 2008 9:31 pm

Alright after much work, this is the fix

Line 258 in lightbox.js need to be commented out for IE6 and IE7 compatability

Code: Select all
// objOverlay.setStyle('border','3px solid #000000');


I dont know why this started but this did fix it!
ideamarket
Fresh Boarder
Fresh Boarder
 
Posts: 15
Joined: Thu Mar 20, 2008 5:09 pm


Return to zOOm



Who is online

Users browsing this forum: No registered users and 1 guest