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

Is it possible to executing a function when a menu closes?


Poster: bertmns
Dated: Tuesday March 30 2004 - 9:35:12 BST

I was wondering if its possible to execute a javascript function when a menu closes. I played around abit with the onfuntion and offfunction in cobination with a setTimeout and clearTimeout but my function gets called late or early compaired to the closing menu. I guess because there are 2 timers running and they will never expire at the same time. So best thing imho would be to hook the menu close timer but i can't find a way to do that :(