|
|
|
How I can add border onle for the top items in the css horizontal menu?
Return to Recent Questions
Q:
I just purchased your multiple site bundle and have a css horizontal menu question.
I need to create a css horizontal menu for a site that has the top level menu
have no border but I want any of the sub menu popups to have a
border around them (or a different background color for the menu
area for the popup). I can not see a way to do this? If a put a
menu border on it appears on both the top level and any submenu
popups.
A:
You should use Individual Item Styles.
You should set the following parameters:
1) var menuBorderWidth=0;
2) Create Submenu Style
var menuStyles = [
["menuBorderWidth=1","menuBorderStyle=solid","menuBorderColor=#7E5927"], //style 0
];
You can do it in Deluxe Tuner. Click "Edit Individual Styles" and then
choose "Submenu Styles" tab.
3) Assign Individual Style for your submenus.
You can assign them only for the first item in each submenu.
For example:
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
["|Installation","", "default.files/icon2.gif", "default.files/icon2o.gif", "", "", "", "", "", ],
["||Description of Files","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", "", "", "", "0", "", ], //style 0
["||How To Setup","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", "", "", "", "", "", ],
["|Parameters Info","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", "", "", "", "", "", ],
Return to Recent Questions
Related:
- Apr 02, 2009 - Where can I change the font size of the top menu horizontal css items?
- Apr 11, 2009 - I cannot see the shadow on the top items in my css horizontal menus example.
- May 02, 2009 - How can I add "|" separating in the menu items with your drop down menu?
- Jul 12, 2009 - How do I add more space between the top items in my menus script?
- Jul 31, 2009 - How to add the new items to the javascript navigation without using two data files?
- Aug 21, 2009 - How to display my top menus in java script items without a border, but my sub items all have a border?
- Aug 24, 2009 - Can I create css horizontal drop down menu with the same width of the top items? Each item has a different width now...
- Sep 05, 2009 - I want to add a Flash icon with sound next to the dropdown menu in html items...
- Oct 21, 2009 - How I can add little vertical spacers between menu items in the html drop menu?
- Nov 04, 2009 - Is there a way to change the height of the top items in my javascript floating window.
- Jan 08, 2010 - Is there any way to remove the spaces between the top items in dhtml css menu?
|