When I select any item from a list of items that includes items with arrows, images disappear from vertical menu..
Return to Recent Questions
Q:
Both arrow types are visible when my intranet first loads and when I select a top item that is a direct link to a page.
But, as soon as I select any item from a list of sub items that includes sub
items with arrows, the arrow images disappear from vertical menu until I refresh the site.
A:
You can use additional parameters to make 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 parameters.
Return to Recent Questions
Related:
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 05, 2006 - Can I say to deluxe-menu "use wrapping"?
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Oct 01, 2006 - When I click on link of my vertical drop down menu no file is loaded!?
- Oct 03, 2006 - Are these cool html scripts compatible with .NET?
- Oct 12, 2006 - Can I create a scroll vertical menu on the right side and the subnav popout on the LEFT?
- Oct 13, 2006 - Under the menu images there is a gray line that makes it look broken.
- Oct 16, 2006 - I need the sub menu of the drop menu to be vertical instead of horizontal
- Oct 22, 2006 - When the html submenus are over applet in https: the applet disappeared.
- Nov 03, 2006 - Can-t get our favorite template to linkin the javascript cascade menu
|