Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbox within tabs doesnt work -SOLVED

    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 to work with a simple lightbox plugin, 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

    Code:
    $(document).ready(function(){
        $("#tab").tabs();
      });
    Code:
    <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

    Code:
    $(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!
    Last edited by dublin6; 09-16-2009 at 02:56 PM. Reason: Simple mistake - solved


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •