<html> <head> </head> <script> function click_mouse() { if (event.which == 1) document.body.style.backgroundColor = "red";; if (event.which == 2) document.body.style.backgroundColor = "blue"; if (event.which == 3) document.body.style.backgroundColor = "green"; } </script> <body onmousedown="click_mouse()" oncontextmenu="return false;">
</body>
</html>