Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 13-01-2009
Member
 
Join Date: Jan 2009
Posts: 65
No right click

hi
i am working on some java script for project ,till it good going but i am not able to do no right click scripting . so please any one can help me to obtain the code .??
thank you .
Reply With Quote
  #2  
Old 13-01-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: No right click

hi
check this i think it will work ..

Quote:
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->

</script>
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "No right click"
Thread Thread Starter Forum Replies Last Post
Mighty Mouse left and right click works as a middle click on MacBook pro Shrestha Hardware Peripherals 7 22-12-2011 05:56 AM
Unable to click Trackpad click in blackberry Bold 9700 Repliers Portable Devices 5 19-06-2011 09:50 PM
Toshiba NB255 Right click/Left click buttons not working Bearing Portable Devices 3 08-04-2011 04:19 PM
long delay with double click and right click when opening a file pushpendra MediaCenter 5 17-02-2009 08:02 PM


All times are GMT +5.5. The time now is 04:27 PM.