Tree Menu > clicksubimage question

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ScottN
Advanced
Advanced
Posts: 16
Joined: Fri Jun 24, 2005 9:22 pm

Tree Menu > clicksubimage question

Post by ScottN »

In my tree menu, the clicksubimage displays on every menu item that I click. This is ordinary functionality, but it seems strange using the familiar document tree metaphor, where plus and minus signs are used to indicate the existence of subfolders. In the example, a minus sign shows up on click, whether or not a subfolder has opened.

Is there a way to have clicksubimages show up only if a submenu exists, other than by taking clicksubimage="x"; out of the style and adding it to each menu item that shows a menu?

(Note-this issue can be observed in the tree menu sample. Clicking on an item without a plus sign will make a minus sign appear.)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Scott,

The only thing you might try is creating a 'blank' gif that is the same size as the subimages, and then putting clicksubimage=blank.gif; in the aI string of items that don't have any submenu. I'm still experimenting, but sometimes I get so 'involved' I forget where I am and what I've done to a particular point in time :oops:

Ruth
ScottN
Advanced
Advanced
Posts: 16
Joined: Fri Jun 24, 2005 9:22 pm

Post by ScottN »

Thanks Ruth,
I've decided it's not too much trouble to just specify the clicksubimage when needed. It will only be a couple of times. Stay tuned for more tree-related questions. :)
Post Reply