fires before a popup is hidden, cancelable
| type | string | "click", "esc" or "select" - specifies the reason why a popup will be hidden (see details) |
| ev | Event | a native event object |
| id | string|number | the id of the clicked item, for the select type only |
myPop.attachEvent("onBeforeHide", function(type, ev, id){
return true; // return false;
});
The event is cancelable, returning false will prevent hiding
Back to top