I have been asked to help out building a series of web pages for data capture
on a PDA. They have asked for a website that can be used by either a
computer terminal or PDA - so I have started looking into limitations of
Pocket IE.

Unfortunately the pages that work in IE do not work on PIE. The main
functionality seems to be using javascript to populate a second drop down
list based on a first drop down list. This is an ASP page written with
Javascript. When you select an item in the first list, the second one does
not update. The page I think uses an iframe as part of the solution of
populating - but I have also looked at other people's javascript function
that uses arrays and they don't work properly on Pocket IE either.

I have tried finding a sample of this (as its pretty fundamental) but cannot
seem to find anything about it being done on PIE.

Any help would be GREATLY appreciated!

Re: Javascript Limitations on Pocket IE by Thom

Thom
Mon Sep 12 02:38:35 CDT 2005

Part of the answer is to do the IE and PIE stuff separately. You could use
redirection in JavaScript but since you are using ASP (3?) you could put
both versions in the same module and then choose the one to display based on
the visitor's environment.

It may not be obvious but you can also use JavaScript in each section to do
whatever you want. In fact you can use HTML, client-side JavaScript,
client-side VBscript, server-side JavaScript, and server-side VBscript in
the same module.

This example just shows the default server-side VBscript to establish the
main structure.

<%
UserAgent = Request.ServerVariables( "HTTP_USER_AGENT" )
IsPocketPC = ( InStr( UserAgent, "Windows CE" ) > 0 )
if ( IsPocketPC ) then %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<body>
</body>
</html>

<% else %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<body>
</body>
</html>

<% end if %>

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Jen" <Jen@discussions.microsoft.com> wrote in message
news:BA634895-1591-4056-8963-FDFE228CF842@microsoft.com...
>I have been asked to help out building a series of web pages for data
>capture
> on a PDA. They have asked for a website that can be used by either a
> computer terminal or PDA - so I have started looking into limitations of
> Pocket IE.
>
> Unfortunately the pages that work in IE do not work on PIE. The main
> functionality seems to be using javascript to populate a second drop down
> list based on a first drop down list. This is an ASP page written with
> Javascript. When you select an item in the first list, the second one
> does
> not update. The page I think uses an iframe as part of the solution of
> populating - but I have also looked at other people's javascript function
> that uses arrays and they don't work properly on Pocket IE either.
>
> I have tried finding a sample of this (as its pretty fundamental) but
> cannot
> seem to find anything about it being done on PIE.
>
> Any help would be GREATLY appreciated!



Re: Javascript Limitations on Pocket IE by Steve

Steve
Tue Sep 20 18:08:58 CDT 2005

And the iframe element is not supported by Pocket IE.

--
-Steve [MS]
This posting is provided "AS IS" with no warranties, and confers no rights.


"Thom Little" <thom@tlanet.net> wrote in message
news:OBvn%23z2tFHA.3932@TK2MSFTNGP15.phx.gbl...
> Part of the answer is to do the IE and PIE stuff separately. You could
> use redirection in JavaScript but since you are using ASP (3?) you could
> put both versions in the same module and then choose the one to display
> based on the visitor's environment.
>
> It may not be obvious but you can also use JavaScript in each section to
> do whatever you want. In fact you can use HTML, client-side JavaScript,
> client-side VBscript, server-side JavaScript, and server-side VBscript in
> the same module.
>
> This example just shows the default server-side VBscript to establish the
> main structure.
>
> <%
> UserAgent = Request.ServerVariables( "HTTP_USER_AGENT" )
> IsPocketPC = ( InStr( UserAgent, "Windows CE" ) > 0 )
> if ( IsPocketPC ) then %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> </head>
> <body>
> </body>
> </html>
>
> <% else %>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> </head>
> <body>
> </body>
> </html>
>
> <% end if %>
>
> --
> -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
> --
>
> "Jen" <Jen@discussions.microsoft.com> wrote in message
> news:BA634895-1591-4056-8963-FDFE228CF842@microsoft.com...
>>I have been asked to help out building a series of web pages for data
>>capture
>> on a PDA. They have asked for a website that can be used by either a
>> computer terminal or PDA - so I have started looking into limitations of
>> Pocket IE.
>>
>> Unfortunately the pages that work in IE do not work on PIE. The main
>> functionality seems to be using javascript to populate a second drop down
>> list based on a first drop down list. This is an ASP page written with
>> Javascript. When you select an item in the first list, the second one
>> does
>> not update. The page I think uses an iframe as part of the solution of
>> populating - but I have also looked at other people's javascript function
>> that uses arrays and they don't work properly on Pocket IE either.
>>
>> I have tried finding a sample of this (as its pretty fundamental) but
>> cannot
>> seem to find anything about it being done on PIE.
>>
>> Any help would be GREATLY appreciated!
>
>