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

Popdown function killing menus prematurely


Poster: jtrout
Dated: Monday September 13 2004 - 22:32:07 BST

This is a bit of a tough one to explain, so bear with me :)

We are using Milonic on the left side of our page at, for example, http://protolive.educause.edu/majorinitiatives I don't think we're doing anything all too unusual here. We have the menus anchored to images on the left side of the page, and call popup onmouseover, and popdown onmouseout. The problem is that when a user mouses off the main link to view a menu item, it calls popdown and we loose the menu item the user is moving to. For example, on the page I gave above, if you mouse over "ECAR" at the top of the left nav, then move down to "Symposia" on the resulting menu, the menu spontaneously dissapears and the user's mouse is left sitting over "Core Data Service".

It almost seems as if the popdown call isn't interrupted by the user mousing over a menu, so the menu you were heading to dies in the popdown call.

Does this make any sense? If so, is there a workaround or is this a bug?

Thanks so much!


Poster: Ruth
Dated: Monday September 13 2004 - 22:59:28 BST

I'm getting an error message "menuname is undefined" but I can't see where that's coming from since I'm not getting any of the menu files, and I get no submenus at all onmouseover. I've downloaded the page, usually that gives me the milonic files, menu_data files etc, so I can check them, but maybe with asp that isn't the case. You need to post what version of the menu you are using, and what browser has the problem. I go in Netscape 7.11 and I don't see that problem at all. In IE5.5 win98se I get the problems noted above.

Ruth


Poster: jtrout
Dated: Monday September 13 2004 - 23:02:31 BST

We're using version 5.46, and we're finding the problem at least on IE 6 (SP2) on Win XP (SP2). I think some users have noted this as well on FireFox (0.8).

Thanks!


Poster: Andy
Dated: Tuesday September 14 2004 - 12:00:09 BST

Hi,

It looks as though you have created your own popup and popdown functions, is there any reason for this.

The built in popup() and popdown() functions set and unset certain conditions that will allow the menu to hide, show and remain visible based on user actions. These setting don't appear to have been included in your custom functions and are causing the menu to work erratically.

try using the built-in popup and popdown functions, I think we've pretty much covered all eventualities so you should be able to use them in the same way as your custom functions

-- Andy


Poster: jtrout
Dated: Tuesday September 14 2004 - 15:50:16 BST

Right, I forgot about that. I have two "custom" functions. ePopup just starts a timer so the menus can delay before popping up, then it calls your Popup function. ePopdown deletes the timer instance then calls Popdown. They're very benign, which is why I didn't think to mention them before hand. But they are necessary, as you don't provide a way to delay the menu opening when using the Popup function :)


Poster: jtrout
Dated: Tuesday September 14 2004 - 16:05:27 BST

Ah ha, so it was my timer that was messing things up. That's really unfortunate. I've removed our functions, but if there's any way Milonic could look at applying _menuopendelay to menus fired by popup(), that would be most helpful.

Thanks very much for the help!