|
|
How to display my top vertical menu using items without a border, but my sub items all have a border?
Return to Recent Questions
Q:
How to display my top vertical menu using items without a border, but my sub items (child items) all have a border and shadow?
If I try to change the menuBorderWidth to anything but 0, I get a
menu on both the top vertical menu using items and dropdowns. I need a topBorderWidth and a
childBorderWidth.
Is there any way to accomplish this?
A:
Yes, you can do it.
Please, set:
var menuBorderWidth=0;
You should use Individual Submenu styles to set border for sub menus, for example:
var menuStyles = [
     ["menuBorderWidth=1","menuBorderColor=#9A9CA7"], //style 0
];
var menuItems = [
     ["Home","testlink.html", , , , , , , , ],
     ["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
         ["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , , "0", , ], //style 0
     ["Samples","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
         ["|Sample 1","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , , , "0", , ], //style 0
         ["|Sample 2 is Disabled","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , "_", , "-1", , ],
...
You should assign style for the first item in the submenu.
Return to Recent Questions
Related:
- Sep 22, 2009 - How can I force the horizontal menu css to only expand down?
- Sep 29, 2009 - I wished the dynamic context menu, only for the application which has no precise name
- Oct 01, 2009 - Can I set borders in the right click popup menu example around the sub-menus only?
- Jan 09, 2010 - Why I'm only seeing just a small percentage of the templates for the navigation in web?
- Feb 16, 2010 - I wished the menu javascript css, only for the application which has no precise name..
- Feb 19, 2010 - What I try to make is a dhtml horizontal menu having a border of only 1 px.
- March 1, 2010 - How I can add border onle for the top items in the down menus in css?
- March 6, 2010 - I am trying to change the Width for only one dhtml menu over item.
|