× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



http://www.magicwebsolutions.co.uk/Back-and-Refresh-Buttons.htm

or

place this at the top section of the BODY of the pages that you do not want 
users clicking back TO:

                        <script language="JavaScript"><!--
                                javascript:window.history.forward(1);
                                //--></script>

You should be able to disable the right click using dhtml or JavaScript.  Scan 
in google for: HTML right click.
 -----Original Message-----
From:   web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]  On 
Behalf Of Rob Dixon
Sent:   Friday, January 09, 2004 7:51 AM
To:     Web Enabling the AS400 / iSeries
Subject:        Re: [WEB400] Javascript - preventing use of  the Browser Back 
Button

Is there a way of  preventing the use of the back Button.?

Since the pages that I use are generated (not by me), I can only put JS 
in the <BODY> of the form.  I cannot therefore use the location replace 
method in the previous form.  Can I do something like that in the 
current form and if so how? 

I would also like to disable the forward button and the right click drop 
down menus for both buttons if possible.

The best solution for me would be if I could turn the back button click 
into a "click" of one of my buttons but I fear that that is not possible.

I have spent some time on Google but without finding the answer.

Many thanks

Rob Dixon

Rob Dixon wrote:

> Nicolas
>
> Very many thanks
>
> That should give me something to do over the weekend!
>
> Rob
>
> nicolas faucheux wrote:
>
>> don't be sorry, we all use this groups to get answers
>>
>> i've no access to any other browser than IE where I work this month
>> but I think this will work:
>>
>> declare a function onload:
>> function onload() {
>> cbt('E', "Enter/OK");
>> cbt('U', "Earlier");
>> }
>>
>> if you have acces to the body tag add
>> <body onload="onload()">
>>
>> else add (after the declaration of the function)
>> document.body.onload = onload;
>> if this does not work, check you did not type onLoad instead of onload
>> the second onload is written with no braces, because it's a function
>> reference, not a function call like in the first solution
>>
>> nicolas
>>
>>
>>
>>
>> _______________________________________________
>> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
>> To post a message email: WEB400@xxxxxxxxxxxx
>> To subscribe, unsubscribe, or change list options,
>> visit: http://lists.midrange.com/mailman/listinfo/web400
>> or email: WEB400-request@xxxxxxxxxxxx
>> Before posting, please take a moment to review the archives
>> at http://archive.midrange.com/web400.
>>
>>
>>  
>>
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>
>

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.