Back Button RRS feed

  • Question

  • User1773661610 posted
    Can I disable the back button on a Pocket PC browser?
    Tuesday, August 10, 2004 1:30 PM

All replies

  • User1773661610 posted
    something like onback_click cancel ????
    Friday, August 13, 2004 7:10 AM
  • User2085740027 posted
    Hi, Since IE Pocket browser supports java script you can try out.
    Friday, August 13, 2004 2:05 PM
  • User1773661610 posted
    try out what ??
    Monday, August 16, 2004 5:32 AM
  • User2085740027 posted
    Here are Some way to avoid going back in a IE desktop browser .. try out whether this works in Pocket IE. 1) You can use the location replace method when changing the location. This replaces the current history location with the new location. <script language="JavaScript"><!-- if (document.images) location.replace('http://www.somewhere.com/apage.html'); else location.href = 'apage.html'; //--></script> 2) You can load the new location into another window, and then close the old window: In the first page: <script langauge="JavaScript"><!-- function newWindow(fileName,windowName) { msgWindow=window.open(fileName,windowName); } //--></script> Open Window In the next window: <script language="JavaScript"><!-- function newWindow(fileName,windowName) { msgWindow=window.open(fileName,windowName); } function replaceURL(fileName) { newWindow(fileName,'window2'); self.close(); } //--></script> change location 3) You can open a window without a toolbar: <script language="JavaScript"><!-- msgWindow=window.open('apage.html','windowName','toolbar=no'); //--></script> However, this does not totally stop the user from being able to go back to the previous page. 4) You can add code to the previous page to force the browser to go forwards again: <script language="JavaScript"><!-- javascript:window.history.forward(1); //--></script>
    Tuesday, August 17, 2004 5:32 AM