Forums

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

Home Forums JavaScript help with lightbox

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #33992
    chanman
    Member

    Can somebody help me with my lightbox I am using this one on this page of my site on the first image. It just isn’t pulling up. IE say’s Line: 132 of lightbox.js
    Error: ‘Builder’ is undefined

    #85302
    Ben_Derby
    Participant

    Can we see the code you have for line 132 of light box.js ?

    #85306
    clokey2k
    Participant

    jQuery isn’t being loaded. Someone forgot to close the stylesheet link:

    <script starts before a >

    Chromes Dev Console highlighted the issue quickly, by mentioning jQuery is not defined.

    #85309
    chanman
    Member

    This is the code on line 132

    objBody.appendChild(Builder.node('div',{id:'overlay'}));

    and I tried closing the css and it didn’t work

    #85313
    clokey2k
    Participant

    Check the location of the effect.js and lightbox.js files;

    Again from Chrome Dev tools:

    Failed to load resource: the server responded with a status of 404 (Not Found) – effects.js
    Failed to load resource: the server responded with a status of 404 (Not Found) – lightbox.js

    #85314
    clokey2k
    Participant

    The page is looking to http://www.cordialcottage.com/js/lightbox/effects.js and not finding it (them). Double check those…

    #85316
    chanman
    Member

    I got it working!

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