|
The background images for java web menu 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 java web menu 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 java web menu 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 menu navigation...
- Jun 18, 2009 - The background images is missing in navigation web
- Jun 23, 2009 - I cannot get the separator images to appear in the vertical navigation menu.
- Jul 02, 2009 - Some graphic files for the top-level html navigation menu are missing.
- Aug 13, 2009 - Why the background images disappear after hovering over drop down menu java script items?
- Aug 22, 2009 - I've tried to specify the pathPrefix_img but I'm still having problem with images in menu in java script.
- Sep 13, 2009 - There is a gray line under the navigation menu html images that makes it look broken.
- Jan 26, 2010 - Is it possible to use background images for the top items in css menu hover?
- March 7, 2010 - At the first time arrow images are loaded successfully in the menu and navigation.
- March 27, 2010 - How create vertical menu dhtml using images that were created in a different program?
- April 6, 2010 - We would like to add scroll down menu by using deluxe menu for our images.
|