Pretty snazzy. You can find it out if you view the source though. (be careful, they added a tonne of white space at the top so it looks like you can't view the source either, you gotta scroll down). You'll eventually see this:
<!--
var copyright="Please respect the copyright of this material.";
function noRightClick(e) {
if (document.layers || document.getElementById && !document.all) {
if (e.which == 2 || e.which == 3) {
document.captureEvents(Event.MOUSEDOWN);
// alert(copyright);
return false;
}
} else if (document.all && !document.getElementById) {
if (event.button == 2) {
// alert(copyright);
return false;
}
}
}
function noContextMenu(e) {
return false;
}
function noClip(e) {
if(window.clipboardData) {
window.clipboardData.setData("Text", "");
}
}
document.onblur = noClip;
document.onmousedown = noRightClick;
document.oncontextmenu = noContextMenu;
// -->
They just used some javascript.
Last edited by scott_p_1; 11-25-2004 at 12:12 PM..
Reason: spelling mistake :P
|