Is this possible?
Thanks in advance.
I want to display arrow only as subimage, not on main level
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
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.
Ruth
Code: Select all
subStyle=new copyOf(mainStyle)
subStyle.subimage="downboxed.gif";
Ruth