I add this code
/////////////////////////////////
if(document.layers) window.captureEvents(Event.MOUSEDOWN);
function no_click(e){
if (navigator.appName == 'Netscape' && ( e.which == 2 || e.which == 3))
{
alert(message);return false;
}
if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
{
alert(message);return false;
}
}
window.onmousedown=no_click;
document.onmousedown=no_click;
/////////////////////////////
at the end of Function.
and finaly worked on me IE7. Complete function is on the file.
More...




LinkBack URL
About LinkBacks









Bookmarks