My site has three levels of a folder structure. Can I create only one vertical dropdown menu
Return to Recent Questions
Q:
My website has four levels of a folder structure. Can I make a
vertical dropdown menu that will allow me to link in and out of folders? Or must I
design four menu's with different link locations.
A:
You can use one menu.
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:
- March 17, 2009 - Can the vertical dropdown menu items be set so they are all the same width?
- Apr 03, 2009 - I would like to change the height of the submenu items in the vertical dropdown menu...
- Apr 20, 2009 - I'm interested in in the actual vertical dropdown menu selection opening in the second frame
- May 08, 2009 - How do I make vertical dropdown menu backgrounds and items to override the page text?
- May 25, 2009 - I get a window with an error message "dmObjectsCheck is undefined" in vertical dropdown menu.
- Jun 12, 2009 - In Firefox my vertical dropdown menu is shifted way to the right
- Jun 29, 2009 - I want my vertical dropdown menu appears at the top the page with center align. Is it possible?
- Jul 16, 2009 - I have "Incorrect Copyright" message in IE7 in the vertical dropdown menu
- Aug 02, 2009 - Is there any way to have a cursor becomes a pointer for a link in a vertical dropdown menu?
- Aug 20, 2009 - We need to place 2 vertical dropdown menu on the one page.
- Sep 05, 2009 - There are the features that, unfortunately, cannot be done in javascript drop menu...
|