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

onopen and onclose Menu Properties


Poster: kevin3442
Dated: Friday October 3 2003 - 1:35:45 BST

Hi All,

I think it would be useful to have menu properties, say onopen and onclose, that you could use to fire a function when a menu opens or closes respectively. Currenly, the onfunction and offfunction menu item properties are it. Don't get me wrong... those are great and can certainly substitute for onopen and onclose menu properties in some circumstances. But the onfunction and offfunction are limited to individual items, making it harder to use them to help track/do things based on opening and closing of a whole menu.

Respecfully submitted,

Kevin


Poster: Hergio
Dated: Friday October 3 2003 - 2:13:21 BST

I agree Kevin, you can't have too many events at one's disposal, ya know? I also think an onClick should also be implemented. I can think of a few instances where it may be helpful. And you would not have to rely on putting the javascript: in the url. What do you think? Do you think the url=javascript: is enough?


Poster: kevin3442
Dated: Friday October 3 2003 - 2:54:12 BST

As you say Dave, can't have too many events ;) ... yes, I agree. Having onclick available might also stifle IE's annoying propensity to de-animate animated gifs.

Cheers,

Kevin


Poster: Hergio
Dated: Tuesday October 7 2003 - 19:10:10 BST

So what do ya think there Andy? Is it a possibility? At least on the todo list? ;) Us javascript junkies love having as many events to latch on to as possible... :lol: