...

View Full Version : Lightbox within tabs doesnt work -SOLVED



dublin6
09-16-2009, 01:31 PM
Hi,

I searched around and can not find help to my specific problem. If it has been previously posted I'm sorry, please point me to it?

I am struggling with getting tabs (http://docs.jquery.com/UI/Tabs) to work with a simple lightbox plugin (http://www.balupton.com/sandbox/jquery_lightbox_bal/demo/), and desperately need some help.

You can see whats going on by looking first as the tabbed content by itself, it is just a link that pops out into an image.

This can be see here

But when the page is brought into the tabbed section here (scroll down, bottom left "web" tab) the lightbox function no longer works.

The tabs use:

jquery-1.3.2.js
ui.core.js
ui.tabs.js


$(document).ready(function(){
$("#tab").tabs();
});


<div id="tab">
<ul>
<li><a href="logos.html">logos</a></li>
<li><a href="web.html">web</a></li>
<li><a href="print.html">print</a></li>
</ul>
</div>


and the lightbox uses:
jquery.lightbox-0.5.js


$(function() {
$('#gallery a').lightBox();
});

and

<div id="gallery">
<ul>
<li>
<a href="resources/lightbox/photos/image1.jpg" title="Utilize">
image
</a>
</li>

</ul>
</div>

any ideas or suggestions?

Thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum