(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    The background images for menu dhtml 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 menu dhtml 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 menu dhtml paths on the following way:
var arrowImageSub=["submenuIconOff.gif","submenuIconOn.gif"];

Please, correct it.





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap slider | free bootstrap templates | video background | bootstrap builder | website designing software