This is my javascript code. It's valid in Firefox but invalid in IE.
window.onload = function() {
Event.observe(
document,
'click',
function(event) {
if (Event.isRightClick(event)) {
Event.stop(event);
alert('add menu');
}
}
};
};
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---