I am adding a lightbox script that has images for the buttons. I will want to use this script in more than one location, so I want to put the scripts and the images in a central location. The script calls for the images to be in the same folder that is calling the script, and I want the images to be located in the folder where the included scripts are located. This way I know where the images are located, and they are in the same place for each page that I use the lightbox script for. I hope that makes sense.
Since I may be calling from all over the website, I want to grab the files by going to either the root of the server or the root of the web server. If I call from the root of the server, using imageBtnNext:'/ var/www/www.meded.umn.edu/includes/javascript/jquery/lightbox/images/ lightbox-btn-next.gif' it doesn't show. Does anyone have any advice how to do this? This site runs both http and https, so I don't want to go that route to avoid errors for having both secure and insecure content.