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

    The background images for horizontal menu using 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 horizontal menu using 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 horizontal menu using 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. creare sito gratis | web design software | free web design software | bootstrap popup | CSS Slideshow