The background images for script menu vertical 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 script menu vertical 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 script menu vertical paths on the following way:
var arrowImageSub=["submenuIconOff.gif","submenuIconOn.gif"];
Please, correct it.
Return to Recent Questions
Related:
- Jun 04, 2009 - I've tried to change the width of the images within the dhtml menu sample...
- Jun 18, 2009 - The background images is missing in cascade menu
- Jun 23, 2009 - I cannot get the separator images to appear in the css menu horizontal.
- Jul 02, 2009 - Some graphic files for the top-level html form drop down menu are missing.
- Aug 13, 2009 - Why the background images disappear after hovering over javascript dropdown menu items?
- Aug 22, 2009 - I've tried to specify the pathPrefix_img but I'm still having problem with images in menu vertical html.
- Sep 13, 2009 - There is a gray line under the html pulldown menu images that makes it look broken.
- Jan 26, 2010 - Is it possible to use background images for the top items in horizontal menus?
- March 7, 2010 - At the first time arrow images are loaded successfully in the down css menu.
- March 27, 2010 - How create down menu dhtml using images that were created in a different program?
- April 6, 2010 - We would like to add website menu templates by using deluxe menu for our images.
|