|
Links don't work in the drop down horizontal menu. How can I correct this?
Return to Recent Questions
Q:
I have a frame page consisting of a header and
content.
The drop down horizontal menu is in the header and submenus show
in the content frame when they drop down.
Any link in any drop down horizontal menu will work the first time just fine.
But, if I pick another link in any drop down menu, it
appends the address of the first link to the address
of the second link and the URL fails.
I tried this test page on two different PCs, just in
case there was a problem on my browsers. MS IE.6.0
A:
Use additional parameters to make drop down horizontal 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, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these drop down horizontal menu parameters.
Return to Recent Questions
Related:
- March 12, 2009 - I don't understand, how can change place of the icon in button context menu...
- March 26, 2009 - After click the links the html form drop down menu stops showing up in cross-frame mode...
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these dynamic popup menu items.
- Apr 23, 2009 - I cannot configure the actual links or link names in the expandable menu?
- Apr 25, 2009 - How to work with pop up menus and submenus in JSP?
- Apr 26, 2009 - My html pulldown menu don't work with a popup...
- Apr 27, 2009 - Does your license for menu in css need to be tied to a domain name to work?
- May 08, 2009 - The dhtml dropdown menus works on our integration system but doen't work on the production system.
- May 09, 2009 - I am unable to see any separators when working with web site menu...
- May 22, 2009 - I would like to have links of javascript menu navigation to our website when javascript turned off.
- May 24, 2009 - When set up links in the horizontal menu bar using Tuner app, it changes them to different paths.
|