|
|
Is it possible via code customization to remove the border only for the top level of popup navigation..
Return to Recent Questions
Q:
Is it possible via code customization to remove the border only for the top level of popup navigation and subsequent menu levels with
the border? If yes, would you provide technical assistance with the
required code change?
A:
You can use Individual Item Style in that case.
You should create Individual Style, for example:
var itemStyles = [
["itemBorderStyle=none,none"], // style 0
];
And assign it for top items:
var menuItems = [
["Home","testlink.html", "", "", "", "", "0", "", "", "", "", ], // assign style 0
["Product Info","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "", "0", "", "", "", "", ], // assign style 0
["|Features","testlink.html", "deluxe-menu.files/icon2.gif", "deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],
["|Installation","", "deluxe-menu.files/icon2.gif", "deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],
["|Supported Browsers","", "deluxe-menu.files/icon2.gif", "deluxe-menu.files/icon2o.gif", "", "", "", "", "", "", "", ],
["||Windows OS","", "deluxe-menu.files/icon3.gif", "deluxe-menu.files/icon3o.gif", "", "", "", "", "", "", "", ],
["||Internet Explorer","", "deluxe-menu.files/icon5.gif", "deluxe-menu.files/icon5o.gif", "", "", "", "", "", "", "", ],
["||Firefox","", "deluxe-menu.files/icon5.gif", "deluxe-menu.files/icon5o.gif", "", "", "", "", "", "", "", ],
["Samples","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "", "0", "", "", "", "", ], // assign style 0
["|Sample 1","testlink.html", "deluxe-menu.files/icon6.gif", "deluxe-menu.files/icon6o.gif", "", "", "", "", "", "", "", ],
["|Sample 2 is Disabled","testlink.html", "deluxe-menu.files/icon6.gif", "deluxe-menu.files/icon6o.gif", "", "_", "", "", "", "", "", ],
["Purchase","http://deluxe-menu.com/order-purchase.html", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "_blank", "0", "", "", "", "", ], // assign style 0
["Contact Us","testlink.htm", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "", "0", "", "", "", "", ], // assign style 0
];
More info you'll find here:
http://deluxe-menu.com/individual-item-styles-info.html
Return to Recent Questions
Related:
- Nov 19, 2006 - How to display my javascript top menu without a border, but my subitems all have a border.
- Jan 07, 2007 - Some graphic files need to draw the top-level horizontal menu bar are missing.
- Jan 24, 2007 - In firefox my css vertical javascript menu is shifted way to the right
- Jan 25, 2007 - How I can change the background of the top level mouse over menu names?
- Feb 20, 2007 - We want to set a specific width for each item on top level of the jump menu code
- March 17, 2007 - The javascript popup code gives the (first) menu of the top menu.
- April 04, 2007 - Our submenus do not appear adjacent to the toplevel menu script.
- May 28, 2007 - How I can add border onle for the top items in the cascading dhtml menu?
- July 12, 2007 - Is there a way to leave a main navigation item highlighted in the dhtml top menu?
- Nov 06, 2007 - Is there any way to remove the spaces between the top items in collapsible menus?
- Mar 22, 2009 - For the attributes that can have top, left, right, bottom, i.e. border, padding, is there any way to specify just one of them in the javascript context menu?
|