Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:38

Tree Menu > clicksubimage question


Poster: ScottN
Dated: Tuesday July 19 2005 - 14:33:28 BST

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.)


Poster: Ruth
Dated: Tuesday July 19 2005 - 17:52:01 BST

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


Poster: ScottN
Dated: Tuesday July 19 2005 - 18:02:02 BST

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. :)