Switch to full style
ASP/ASP.net examples
Post a reply

disable right click on your web page

Sun Mar 27, 2011 10:56 pm

VB script to disable right click on your web page
Code:

<Script Language="VBScript">
sub fOnMouseDown()
if Window.event.button = 2 Then
Alert
("Sorry ,but right click is not allowed.")
End If
End sub
</Script>




Post a reply
  Related Posts  to : disable right click on your web page
 click,double click,focus,blur and hover actions in JQuery     -  
 disable button     -  
 Disable TextBox html by php     -  
 how to disable JavaScript in Mozilla FireFox     -  
 Disable submit button until all form's fields are filled     -  
 Image Scroller-scrollbar-LINE_UP,LINE_DOWN-PAGE-UP-PAGE-DOWN     -  
 Hide the background image by one click     -  
 Detecting right mouse button click     -  
 Show image when click on link     -  
 Javascript Code For Moving Images On Click Of A Button     -  

Topic Tags

ASP Basics