|
|
How to display my top dynamic css menu items without a border, but my sub items all have a border?
Return to Recent Questions
Q:
How to display my top dynamic css menu 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 dynamic css menu 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:
- March 19, 2009 - I need that the dynamic css menu loads pages into an iFrame.
- Apr 05, 2009 - How to integrate your dynamic css menu into Microsoft Expression Web?
- Apr 23, 2009 - Why do I get the "Incorrect Copyright" message in IE 7 in my dynamic css menu?
- May 10, 2009 - Since I installed the dynamic css menu on our website the homepage start loads slowly...
- May 27, 2009 - The submenu of dynamic css menu disappears, it goes BEHIND the flash and can't be seen.
- Jun 13, 2009 - Is it possible to hide the plus signs in the tree dynamic css menu?
- Jul 01, 2009 - I can't put the dynamic css menu where I want it to appear on my page.
- Jul 18, 2009 - I'm hoping that the graphic would appear in dynamic css menu samples rather than a colored cell.
- Aug 04, 2009 - I have several questions about dynamic css menu.
- Sep 07, 2009 - The sub menus of the dynamic css menu are offset by about 100 pixels to the right.
- Sep 22, 2009 - How can I force the dhtml javascript menu to only expand down?
|