Re: OmniWeb weather forecast is bleak
Karl Kuehn <larkost <at> softhome.net>
2003-12-06 19:38:00 GMT
This is a mistake on the WebPage developer's part... a small but
confusing one. The mistake is that the developer is trying to "return"
a variable from an onSubmit callback... as if it were a subroutine. It
OmniWeb seems to trip over the bad coding.
For those who want to play along at home, search for the string
"checkForm()" in the source code, remove the "return" before it, and
then have OmniWeb redisplay the modified page. It will now work.
On the animated map part... some developer has taken a very simple
thing (changing an image with a timer callback), and made it into a
monstrosity... There is so much JavaScript in that page... I got a
headache wading trough ti to try and find out what is going wrong. My
guess is that there is a bug in all the code that tries to deal with
various browsers, one that is mis-filing OmniWeb... To me this is
simple: all browsers have the document.images array, and then load the
images into the browser by making 1x1 img tags at the bottom of the
page with either and onLoad handler on the page, or on the individual
images to tell you when you are ready to go...
Someone got way to involved on trying to do it a single way... Oh...
and their feedback page for JavaScript problems is a dead link...
*sigh*
Karl Kuehn
larkost <at> softhome.net
On Dec 6, 2003, at 11:33 AM, Ward Clark wrote:
> The Weather.com site seems to be seriously OmniWeb-unfriendly:
>
> 1. When I fill in my Zip code in the "local forecast" banner, select
(Continue reading)