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

    The page I try to open in mouse over drop down menu could not found...

Return to Recent Questions


Q: All links in my page are in subfolders (for example /ergebnisse/2006/test.htm). When I call a page in a subfolder, is shown correctly in first time. The next page I call couldn't be found. I belief the pointer is in the subfolder an so the page could not found.


A: You can use additional parameters to make mouse over drop down menu paths absolute:

var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";

These parameters allow to make images and links paths absolute.
For example:

var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";

var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];

So, images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif

Link path will be look so:
http://domain.com/pages/index.html

Please, try to use these parameters.





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. free web editor | website generator | static website generator | HTML5 Video | CSS Slideshow