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

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bertmns
Beginner
Beginner
Posts: 4
Joined: Tue Mar 30, 2004 9:24 am

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

Post by bertmns »

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 :(
Post Reply