
Originally Posted by
Jessica445
BTW, doesn't anyone knows how to fix thie problem with the Close X button? It seems like the image is not found on a server, but everything is fine on a local computer.
That just means exactly what it says. The image is not found on the server. So, either the image wasn't uploaded to the server, or if it was, it wasn't to the location expected by the script. Here (in lightbox.js) is where the location of the close image is set:
Code:
// -----------------------------------------------------------------------------------
//
// Configuration
//
var fileLoadingImage = "images/loading.gif";
var fileBottomNavCloseImage = "images/closelabel.gif";
var animate = true; // toggles resizing animations
var resizeSpeed = 7; // controls the speed of the image resizing animations (1=slowest and 10=fastest)
var borderSize = 10; //if you adjust the padding in the CSS, you will need to update this variable
// -----------------------------------------------------------------------------------
That would be relative to the page using the script, but the path may be made absolute. In fact, if the script is used by more than one page(s) in different folders, an absolute path must be used. Example of an absolute path:
Code:
var fileBottomNavCloseImage = "http://www.mydomain.com/images/closelabel.gif";
If you need more help:
Please post a link to the page on your site that contains the problematic code so we can check it out.
Bookmarks