fires before the context menu is called in the item area
| id |
| boolean | returning false will block the event |
$$("list").attachEvent("onBeforeContextMenu", function(id, e, node){
if (some_check(id))
return false; // blocks the context menu
else
return true;
});
Returning false from the event handler will block further processing.