Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:48
I want to display arrow only as subimage, not on main level
Poster: aquaverse
Dated: Wednesday April 6 2005 - 16:38:02 BST
Is this possible?
Thanks in advance.
Poster: Ruth
Dated: Wednesday April 6 2005 - 18:35:11 BST
Yes. I don't know what your menu_data.js file has in it, but if you have only one menu style, you need to create a second one, make the first one your mainStyle and the second one your subStyle and leave out the subimage from the mainStyle. If your menu style is the same on both main and sub menus, you can make the second style like this
Code:
subStyle=new copyOf(mainStyle)
subStyle.subimage="downboxed.gif";
mainStyle would be whatever your style is called i.e. menuStyle if you kept that name. From that mainStyle remove the subimage="arrow.gif"; With the above code you would have two styles, they would look exactly alike except that the submenus would have a subimage and the main menu wouldn't. Don't forget to put the new style name in each submenu.
subStyle.subimage="downboxed.gif";
Ruth