|
|
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:
- Sep 22, 2006 - Where do I add my "blahblah.htm" page links in js menu?
- Oct 15, 2006 - There's some problems when we use two javascript horizontal menus.
- Oct 19, 2006 - I want a javascript toolbar with all the buttons the same length.
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Nov 17, 2006 - Is there a way to change preview screen color of the onmouseover menu maker?
- Dec 03, 2006 - We have several problems with your javascript side menu. Please, help!
- Dec 16, 2006 - Is there a way to keep global cool navigation image highlighted?
- Dec 21, 2006 - Can I install and run this pull down menu html on a server running OS X?
- 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 07, 2007 - I can't install my javascript mouseover menu on the page made with Yahoo sitebuilder
|