The page I try to open in down menu button 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 down menu button 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:
|