|
The background images for drop down menu template are missing in the browser...
Return to Recent Questions
Q:
I put all images in the same folder where the "data.js" file can be found. My drop down menu template looks
great in the preview. As soon as I save the file and load it in the
browser, the background images are missing.
You advise to set absolute paths using var
pathPrefix_img = "http://domain.com/images/";
I have implemented this solution but the problem persists.
A:
Now you set pathPrefix parameter:
var pathPrefix_img = "http://www.domain/folder/menudir/dataAlumni.files/";
And you have such images paths, for example:
var arrowImageSub=["dataAlumni.files/submenuIconOff.gif","dataAlumni.files/submenuIconOn.gif"];
So you have such paths for arrows:
http://www.domain/folder/menudir/dataAlumni.files/dataAlumni.files/submenuIconOff.gif
It is not correct.
You should write your drop down menu template paths on the following way:
var arrowImageSub=["submenuIconOff.gif","submenuIconOn.gif"];
Please, correct it.
Return to Recent Questions
Related:
|