Hi Troy, Be aware there are some limitations with HTML and Scripting on Pocket PC devices running PocketIE, plus some extensions.
The link below has the complete available object reference as well some good articles: "Designing Web Sites for Pocket Internet Explorer for Pocket PC" http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/h tm/designing_web_sites_for_internet_explorer_for_pocket_pc_mgvc.asp?frame=tr ue (Above URL will word-wrap) Note the frame index on the left-hand-side, it shows links to other content about stuff like HTML, Scripting and XML support for Pocket PC. Hope this helps. Cheers..... Scott Cadillac, Witango.org - http://witango.org 403-281-6090 - [EMAIL PROTECTED] -- Information for the Witango Developer Community --------------------- XML-Extranet - http://xml-extra.net 403-281-6090 - [EMAIL PROTECTED] -- Well-formed Development (for hire) --------------------- > -----Original Message----- > From: Atrix Wolfe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 02, 2003 1:37 PM > To: [EMAIL PROTECTED] > Subject: Re: Witango-Talk: Java Script & Handhelds > > > Hey Troy, > > Hopefully the browser will be NS or IE compliant, if so you > can make set it > up to capture key events and alert() them so you can atleast know the > "value" of the key pressed. > > id put this in my <head> to capture the value of the keys and > then this code > could be modified to check the value and preform the right > action based on > the value: > > > <SCRIPT language=javascript> > <!-- > var nav = window.Event ? true : false; > if (nav) > { > window.captureEvents(Event.KEYDOWN); > window.onkeydown = NetscapeEventHandler_KeyDown; > } > else > { > document.onkeydown = MicrosoftEventHandler_KeyDown; > } > > function NetscapeEventHandler_KeyDown(e) > { > alert("Netscape:Key="+e.which); > } > > function MicrosoftEventHandler_KeyDown() > { > alert("IE:Key="+event.keyCode) > } > > --> > </script> > > > i put this by itself in an html file and when i pressed a key > from either IE > or NS it told me the value of the key i pressed so hopefully > it will work > for you too on the handheld devices (: > > > ----- Original Message ----- > From: "Troy Sosamon" <[EMAIL PROTECTED]> > To: "Tango List" <[EMAIL PROTECTED]> > Sent: Wednesday, July 02, 2003 12:25 PM > Subject: Witango-Talk: Java Script & Handhelds > > > > I am in the process of doing some R&D for making web pages > that are going > to > > be used by PDAs running Pocekt PC 2002. > > > > The device I am testing has some keys on it called Action > and Escape. > > I was wondering if anyone has a javascript that will > capture the key so I > > can see what this thing is really sending and be able to > test for those > keys > > being pressed. > > > > Ideally when everything is done, I want to write pages > where the ACTION > > button will Submit the form and the Escape key will Cancel the form. > > > > Thanks for any advice. > > > > Troy Sosamon > > > > > ______________________________________________________________ > __________ > > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
