Gazing into my crystal ball I observed =?Utf-8?B?ZGlzcGxheW5hbWU=?=
<> writing in
news:B109347E-00FD-4C80-A618-:
> Tim, are you saying that I don't need to change any thing in my code
> and the application will run on PDA as if it runs on IE7 on my PC?
ASP knows nothing about the client, whether it's a browser, PDA, phone,
or refrigerator.
> What about the font size? May be I need to change all font size to
> smaller and make the page a lot smaller so it can fit on PDA screen,
> right?
No, let the user's UA decide what font size to use. Do not set a font
size at all.
> But then I want to page to be big to fill the enter screen on
> my PC.
You might want to look at the @media directive for CSS, @media screen,
@media handheld, @media print, etc., eg:
@media screen /* for browsers */
{
body {font-size:95%}
}
@media handheld
{
body {font-size:100%}
}
@media print
{
body {font-size:10pt}
#nav {display:none}
}
> What's the code for detecting whether it's PDA or PC in order
> to change the font size and page size accordingly?
As others have said, look at the UA string. You might want to see if
you can find a simulator. There is a phone simulator from Openwave that
can get you started.
>
> Which PDA (what features...) do you recommend me purchase to test out
> the app? Thanks.
>
> "Tim Slattery" wrote:
>
>> displayname <> wrote:
>>
>> >I have a Web application that is written in ASP. It runs well on
>> >regular PC. What is needed to make it run on PDA (wireless)? I want
>> >to buy a new PDA to test the application. Is there a particular
>> >brand of PDA or operating system that I should buy? Thanks.
>>
>> ASP runs on the web server, not the client. What kind of client you
>> use to access the server should make no difference to the app.
>>
>> --
>> Tim Slattery
>> MS MVP(Shell/User)
>>
>> http://members.cox.net/slatteryt
>>
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share