
Is it possible to executing a function when a menu closes?
Is it possible to executing a function when a menu closes?
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 
