|
|
I want to have one of the drop menus in the horizontal navigation use a different image.
Return to Recent Questions
Q:
I want to have one of the drop menus in the horizontal navigation use a different image.
I am using the vista images and would like to have all of them but one use the same image
and the last one a different one. Can this be done?
A:
You should create Individual Style for the last item and assign another image for it.
var itemStyles = [
["itemWidth=92px","itemHeight=21px","itemBackColor=transparent,transparent","fontStyle=normal 11px Tahoma","fontColor=#FFFFFF,#FFFFFF","itemBackImage=data-vista-01.files/btn_black.gif, data-vista-01.files/btn_black_blue.gif"],
["itemWidth=92px","itemHeight=21px","itemBackColor=transparent,transparent","itemBackImage=data-vista-2-03.files/btn_green.gif,data-vista-2-03.files/btn_green2.gif","fontStyle='normal 11px Tahoma','normal 11px Tahoma'","fontColor=#FFFFFF,#FFFFFF"],
];
var menuItems = [
["Home","testlink.html", "", "", "", "", "0", "0", "", "", "", ], //style 0
["Product Info","", "", "", "", "", "0", "", "", "", "", ], //style 0
...
["Purchase","http://deluxe-menu.com/order-purchase.html", "", "", "", "_blank", "0", "", "", "", "", ], //style 0
["Contact Us","testlink.htm", "", "", "", "", "1", "", "", "", "", ], //style 1
];
Return to Recent Questions
Related:
- Oct 15, 2006 - There's some problems when we use two javascript horizontal menus.
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Dec 16, 2006 - Is there a way to keep global cool navigation image highlighted?
- Dec 24, 2006 - How to get side menu items to swap images to use like a traditional image rollover.
- Dec 25, 2006 - The mouseover menu javascript will continue to expand horizontally.
- Jan 16, 2007 - The horizontal dropdown menu is missing background images
- Feb 25, 2007 - I am interesting to use the horizontal menu javascript for integration in some CMS
- March 13, 2007 - My drop down menu scripts don't work with a popup.
- June 27, 2007 - How create dhtml menu using images that were created in a different program?
- Aug 16, 2007 - What setting do I use for dmAJAXCount in my java menu navigation?
- Sep 13, 2007 - I want to use different background color for main items and submenus for cascading menus
|