this function disables right-click BACK, not Back button on the Browser.
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sandarbh Sharma
> Sent: Tuesday, January 02, 2001 11:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: How to disable Back on Browser?
>
>
> <script language=JavaScript>
> var message="Sorry, right click function disabled";
> function click(e) {
> if (document.all) {
> if (event.button==2||event.button==3) {
> 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>
>
>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets