The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript One JS plug in working but another is not?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #23783

    I’m trying to add a lightbox image gallery to a website, and each time I click on the thumb nail image, the larger image that should open in the lightbox opens in a new window. I know my jquery lib is working because I have a image cycle plug in working, just each time the page loads I get a error saying lightbox line of javascript code is not a function. Here is my scripts code:

    $(‘#gallery a’).lightBox();

    Here is my head.php code:


    <?php echo $pageTitle ?>

    and here is my html:


    I have been looking at this code all day and I think it is something simple, and I just need a fresh set of eyes to check it out.

    Thanks in advance.

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.