Re: JavaScript pie / ie

Tech-Archive recommends: Fix windows errors by optimizing your registry



I think that what you probably want to do is build your own browser that has
the possibility to maximize. You can start with IESample or IESimple and
make suitable modifications to do that. At that point, yes, you can't exit
using any user-controlled operation, but JavaScript can close the window
causing exit (at which point you'd presumably reenable the task bar and
start menu). We do this for our customers, so that they can build Web-based
applications on locked devices but, if they want, they can provide a page
where the user can enter some administrator password and trigger a script to
exit. Trying to do this, which is clearly not an intended scenario for the
prebuild browsers, with the built-in stuff, if pretty hopeless.

Paul T.

"TMa" <tma@xxxxxxx> wrote in message
news:hOUUk.99100$me2.88659@xxxxxxxxxxxxxxxx
The following has been reported to me via a third party application writer
using our Windows CE 5.0 based hardware;

Our application uses JavaScript in three areas as follows;

The OnLoad event is use to place the cursor in the correct entry field
i.e. onload=document.dataform.thisitem.focus();

The OnClick event is used to navigate to the correct page i.e.
onclick=window.location.href='pagename'

The OnKeyDown event is used to detect the use of the Enter key (KCode 13)
and check that required fields contain data before proceeding.



If the OS is built with Pocket IE it makes intelligent use of the screen
space but did not interpret any of the JavaScript.

If the OS is built with IE6, this did interpret JavaScript but makes
inefficient use of the screen space particularly the width as it allows
for a vertical scroll bar.

Unfortunately if you use the IE options to hide the toolbars, the screen
will maximize but there appears to be no way to then exit/close the
browser. The usual Ctrl_O and Ctrl_W do nothing.




.



Relevant Pages

  • Re: JavaScript pie / ie
    ... If you build in JavaScript in the OS, regardless of which browser you use, I ... Maybe when you changed from PIE to IE ... window causing exit (at which point you'd presumably reenable the task bar ...
    (microsoft.public.windowsce.platbuilder)
  • Re: JavaScript pie / ie
    ... in JavaScript doesn't work in PIE but does in IE. ... window causing exit (at which point you'd presumably reenable the task bar ... If the OS is built with IE6, this did interpret JavaScript but makes ... inefficient use of the screen space particularly the width as it allows ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How do I detect a user leaving the site?
    ... First you need to define for yourself "exit time". ... a request to aspx. ... At the end when user closes the browser you will have ... JavaScript is disabled. ...
    (microsoft.public.dotnet.framework.aspnet)
  • comp.lang.javascript FAQ - META 2009-03-04
    ... The official Big 8 Usenet newsgroup dealing with javascript is ... relates to javascript in a web browser. ... Questions that are specific to Microsoft's JScript may also ... This FAQ provides URLs to further information about ECMAScript ...
    (comp.lang.javascript)
  • comp.lang.javascript FAQ - Quick Answers- 8.0 - 2004-03-15
    ... Internationalisation in javascript. ... How can I see in javascript if a web browser accepts cookies? ... This is the official _comp.lang.javascript_ FAQ. ...
    (comp.lang.javascript)