I chose ibox lightbox for my site. it has been working fine but i need to open a link in the current lightbox but to close the current lightbox first and open the link in a new light box. any ideas??? Here's the link for ibox http://www.ibegin.com/labs/ibox
I test id , and it works
in JS
var aaa = document.getElementById('test'); aaa.onclick = _pub.hide;
HTML
<a href="http://google.com" id="test" >test</a>
you need to put to tags 'a' event onclick = _pub.hide;
Hi Alexander, I've kind of the same problem. I want to click on an image in an ibox and then open that picture in a lighbox. But the problem is that the ibox won't close, so that the lightbox appears behind the ibox. I tried to follow your example but unfortunately I didn't manage to get i right. Maybe you can clarify your answer a bit? Should I make a new javascript and put the code inside that or simply use the existing ibox.js? If so where should in it should I place the code? And also what do you mean with your last sentence: "you need to put to tags 'a' event onclick = _pub.hide;"
I would be very grateful if you wanted to help me out here.
/Carl