[Javascript] Navigation Control - No back button?

rhh ric_hod at terra.com.br
Thu Jun 21 10:31:41 CDT 2001


Code:The return of Snake Plissken

window.open('inicio.htm','inicio','fullscreen=no','menubar=yes','scrollbars=
yes','toolbar=no','location=yes');

ANNNNNNNNNNNND

<script language="javascript">
function noRightClick() {
if (event.button==2) {
alert('You can NOT Right-Click on this page -- but you CAN Left-Click.')
}
}
document.onmousedown=noRightClick
</script>



Click on XXI Century Psychology
http://planeta.terra.com.br/educacao/hodara
Brazil, South America
Phone: 5132174690
email:ric_hod at terra.com.br

----- Original Message -----
From: "rhh" <ric_hod at terra.com.br>
To: <javascript at LaTech.edu>
Sent: Wednesday, June 20, 2001 7:04 PM
Subject: Re: [Javascript] Navigation Control - No back button?


window.open('inicio.htm','inicio','fullscreen=no','menubar=yes','scrollbars=
yes','toolbar=no','location=yes');

Ric from the land of the Jumblies! :-)

I have no doubt that in reality the future will be vastly more surprising
than anything I can imagine. Now my own suspicion is that the universe is
not only queerer than we suppose, but queerer than we can suppose.
......the biologist J. B. S. HALDANE, 1927.

Click on XXI Century Psychology
http://planeta.terra.com.br/educacao/hodara
Brazil, South America
Phone: 5132174690
email:ric_hod at terra.com.br

----- Original Message -----
From: "Z. Franco" <zeno at citrus.ucr.edu>
To: <javascript at LaTech.edu>
Sent: Wednesday, June 20, 2001 3:00 PM
Subject: [Javascript] Navigation Control - No back button?


Hi all,

I need to absolutely prevent a user from returning to the previous page (a
form which inputs to a db) -- the simplest thing I can think of is removing
the back button from the browser window.  Is there a better way?

If taking the back button out of the browser window is the approach, could
you give me an idea what the code would look like?  Also, is there a good
reference (either book or web) on manipulating browser navigation controls
using jscript?


Thanks a bunch!!

Zeno


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript







More information about the Javascript mailing list