In an effort to write asp pages that work on Desktop browsers, Audreys and Pocket PCs (I have an Ipaq 3850) I have run into some bizarre issues with Internet Explorer on Pocket PC 2002...
Perhaps someone has workarounds, otherwise this is just a way to share my frustrations [img]/infopop/emoticons/icon_biggrin.gif[/img]
1. IMG tag sizing
When you specify just one dimension in an image tag (for example width="100%", the other dimension is supposed to proportionally scale along, so you dont have to explicitly calculate it) Not on PPC: it just stretches the image in one direction. Also, the other (vertical) direction is neither proportional nor the native image height. Arghhh. Also, WIDTH="100%" doesn't stretch to 100% of the width, but seems to make the image wider than the screen width.
<This works fine on the desktop IE of course>
2. flaky reloads
On PPC, the browser is much less likely to reload a page from a server when a href contains a form submission. For example
<A HREF="test.asp?key=value">test</a>
will reload the page every time from the server on my desktop browser, but not on my PPC. I have to hack a uniquifying extra value into the URL to force the reload, eg
url = "test.asp?key=value&dummy=" & CInt(Rnd()*10000)
3. broken Document Object Model
unlike the desktop browser, PPC IE doesnt understand:
document.all
document.all.myForm
document.all["myForm"]
document.all.items("myForm")
sigh
----------------------------
Robert's Audrey pages
http://www.canoma.com/audrey
http://www.canoma.com/audrey/controlpanels
Perhaps someone has workarounds, otherwise this is just a way to share my frustrations [img]/infopop/emoticons/icon_biggrin.gif[/img]
1. IMG tag sizing
When you specify just one dimension in an image tag (for example width="100%", the other dimension is supposed to proportionally scale along, so you dont have to explicitly calculate it) Not on PPC: it just stretches the image in one direction. Also, the other (vertical) direction is neither proportional nor the native image height. Arghhh. Also, WIDTH="100%" doesn't stretch to 100% of the width, but seems to make the image wider than the screen width.
<This works fine on the desktop IE of course>
2. flaky reloads
On PPC, the browser is much less likely to reload a page from a server when a href contains a form submission. For example
<A HREF="test.asp?key=value">test</a>
will reload the page every time from the server on my desktop browser, but not on my PPC. I have to hack a uniquifying extra value into the URL to force the reload, eg
url = "test.asp?key=value&dummy=" & CInt(Rnd()*10000)
3. broken Document Object Model
unlike the desktop browser, PPC IE doesnt understand:
document.all
document.all.myForm
document.all["myForm"]
document.all.items("myForm")
sigh
----------------------------
Robert's Audrey pages
http://www.canoma.com/audrey
http://www.canoma.com/audrey/controlpanels
Comment