Subimage only show in submenus - SOLVED

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ssuite
Beginner
Beginner
Posts: 1
Joined: Thu Nov 02, 2006 5:22 pm

Subimage only show in submenus - SOLVED

Post by ssuite »

Hello.

Can someone tell me how to configure it so the subimage will NOT show with the main navigation items - and only show with the submenus?

Thanks a lot.

Update:
I created a new menustyle just for main menu, and dropped subimage from it. That worked :)

Thanks.
Last edited by ssuite on Wed Aug 29, 2007 5:07 pm, edited 1 time in total.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Yes, you create a different style for the main menu. So, if your menus all use menuStyle, create a copyOf style for the submenus, so it will use menu style, but in menuStyle leave out the subimage, and in the copyOf for the subStyle add that subimage. The below link is to an explanation of the copyOf method.

viewtopic.php?t=4595

The other way to do it, if you don't have a zillion submenus to open is to leave out the subimage from the menuStyle and just add that parameter to each item that opens a sub in the submenus.

Code: Select all

aI("text=Hello;showmenu=subhello;subimage=arrow.gif;"); 
} 
Post Reply