Sabtu, 17 April 2010

Logic klik ivent

#head>
#script>
function klik(event){
if(event.button==2){
alert("anda telah klik kanan")}
else
{
alert("anda telah klik kiri")}
}
#/script>
#/head>
#body onmousedown="klik(event)">
#p>
asdfasdf asdfjasdhfkjhas hsajkdfhjashd fhasdjfhasd hfsjdhfkas dfhjsd fhasjkfh
#/p>
#/body>