Lightbox works in Preview, not when...

User 2432550 Photo


Registered User
105 posts

The lightbox works when I look at the Preview in VSD, but when it is published, it does not. Is this code written right?

http://writtenbytarajohnson.com/Portfolio.html
User 38401 Photo


Senior Advisor
10,951 posts

I'm looking at your code right now and so far I see:

Duplicated CSS line in the Head area of the page(s):

<link href="css/lightbox.css" rel="stylesheet" type="text/css" />

And further it shows that the files for the Lightbox have not been uploaded (the CSS and .js files for the most part are missing on the server or not in the correct location.)

User 464893 Photo


Ambassador
1,611 posts

Actually the best place get them up to your server is to add them via "Edit add files". VSD will then take care of it for you.Once working on line you can remove those files from the vnu to save uploading them for each mod.
The Guy from OZ


User 2147626 Photo


Ambassador
2,958 posts

Actually, if you add the files to VSD and publish your site, you won't have to remove them. If the files don't change, VSD will not upload them every time. The files for my Lightbox were uploaded through VSD and when I change my web site they do not re-upload every time. Works great! :cool:
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.