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

Menu Adjustments


Poster: r3tr0x
Dated: Wednesday February 1 2006 - 14:37:34 GMT

Hey guys

I was delighted with what I thought was the finished menu until my client asked for the following (absurb?) adjustments - which I personally don't think can be done lol. That said however, I thought I'd ask anyway...

http://www.convey365.com/dev/

1. As opposed to the submenus appearing when the mouse is rolled over a main menu item, he would like it to happen when the mouse is clicked. Now I've tried using the openonclick property (which seems to work to a certain extent) but is causing me some issues. If you look at the menu above, you will notice that if you hover over Cost Calculator nothing happens (which is good!) then if I click on it the menu activates (which is also good), then if I scroll to the right over the other main menu links the submenus for these also appear (which is not good). Now from a development point of view I think this is how the menu has been designed. As all submenus have been told to activate onclick, then just one click will potentially activate 'all' menus? Is there a way of a submenu only appearing when the user clicks on the particular menu item in question - without it activating all other submenus? If you click to visit a page, it takes this click as a queue to activate, so by running over the menus soon after a pageload, all the submenus appear onmouseover (although after a few seconds the openonclick kicks in again).

2. On a similar note, when a page loads it highlights the overimage correctly and also the submenu item that is currently being viewed. I think Ruth managed to sort this out for me so I am very grateful for that. However, is it possible that when running over other main menu items (the images) the one currently active goes back to its normal state (to avoid two images being in an active state at once) and then only returning to an active state when the user leaves the menu?

I can't apologise enough for asking these questions lol. In my opinion they are ridiculous adjustments that may add to the user friendliness of the menu as a whole, but I can imagine would be nothing short of a development nightmare!!! I'm only bringing them up as my client has asked for them and he believes the menu is too confusing to use in its current state - something I personally don't agree with.

Anyway many thanks in advance for any help you can give me (sorry for the long post!)

Mark


Poster: Ruth
Dated: Wednesday February 1 2006 - 16:04:51 GMT

Hi,

As to the 1st question, instead of having the openonclick=1; in the style try putting it into the items that open the submenus.

For the second, the simple answer is no. But, you can fix that by changing your pageimage. You can make it a darker blue with white text instead of the overimage, that way the mouseover image is different than the page image.

Ruth


Poster: r3tr0x
Dated: Wednesday February 1 2006 - 17:35:21 GMT

Hi Ruth, many thanks for the reply. I'm surprised anyone was bothered to read it lol :-)

As for the first query, I'm still not having any luck with it. On first loading the site it works fine and also when you have loaded a page and waited a few seconds (without going near the menu). But if you load a new page and then immediately hover over another main menu item then it behaves exactly like it does when the openonclick parameter is left out (onmouseover). I'm guessing the mouse click used to view a page is causing the submenus to open up?

With regards to point 2, could you please put up some images to better illustrate what it is you mean - although I think I have a pretty good idea :-)

Thanks again

Mark


Poster: r3tr0x
Dated: Thursday February 2 2006 - 8:13:17 GMT

Hi Ruth,

Thanks for the images, I can see your point about the white text. I'm gona give this a go. With any luck this will be the last proposed adjustment to the menu lol - or so I'm hoping.

Cheers!