简体   繁体   中英

Lightbox works but not when uploaded to the server

I have had a good look at previous questions/answers to this but am a newbie. Have downloaded Firebug - Do not particularly understand.

http://www.deccardy.com/portfolio-field-house.html

Is the page I am trying to sort out with Lightbox.

Any help will be much appreciated.

Also, if you know of a way of lightbox ordering the images, say #1 - #5 - #2 - #6 as opposed in sequence, this would be great!

Many thanks,

Cody

You have 404 errors on page, that's why script is failing.

404 Not Found:
http://www.deccardy.com/effects.js
http://www.deccardy.com/builder.js

The below mentioned files are not publicly accessible. Upload both the JS Files.

http://www.deccardy.com/effects.js
http://www.deccardy.com/builder.js

Get them from here .

You need to load the lightbox.css too. The lightbox works on script-side(you'll see it when you scroll to the bottom of the page), but without the css-file it's not the desired result.

But however: I would suggest an update to the current Version(which uses jQuery).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM