- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › help with lightbox
Can we see the code you have for line 132 of light box.js ?
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.
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
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
The page is looking to http://www.cordialcottage.com/js/lightbox/effects.js and not finding it (them). Double check those…
I got it working!