Lightbox script stopped working - can’t figure out why?
Posted: 06 May 2010 03:33 PM   [ Ignore ]
Newbie
Rank
Total Posts:  30
Joined  2010-04-25

Hi,
I am developing a site using Actinic e-commerce system. It is causing all sorts of trouble, but this time I am completely stuck. It breaks a lovely lightbox script I am using and causes it to misbehave. Perhaps someone more experienced with JS could have a look and point me to where the problem may be.

Original site with lightbox working fine:
http://www.nutri-linkltd.co.uk/products/

New e-commerce generated site with lighbox plugin misbehaving:
http://www.n-ll.co.uk/products/

When you click on ‘X Close’ on the latter, nothing happens. But when you hit ‘Esc’ on the keyboard it closes.

The lightbox script is here: http://www.nutri-linkltd.co.uk/cms/w…-2/lightbox.js

And it seems like this bit of the code isn’t working so well:

Code:

var objBottomNavCloseLink = document.createElement(“a”);
objBottomNavCloseLink.setAttribute(‘id’,‘stimuli_bottomNavClose’); 
objBottomNavCloseLink.setAttribute(‘href’,’#’);
objBottomNavCloseLink.onclick = function() { myLightbox.end(); return false; }
objBottomNav.appendChild(objBottomNavCloseLink);

Or something is stopping it from working…

Can someone please help me out?

________________________________________________________

 


Los Angeles Website Design
Free Press Release Submission

Profile
 
 
Posted: 29 January 2011 12:56 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  1
Joined  2010-12-09

I have the same problem. Did you find a solution?

________________________________________________________

Vendere casa
Bruska na parkety

Profile