AmigaActive (899/2347)

From:Andy Wanless
Date:13 Mar 2001 at 00:51:57
Subject:Re: Javascript Does'nt work on my amiga ???

----- Original Message -----
From: Matt Sealey <matt@kittycat.co.uk>
>
> >>
http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onclick.asp
> >
> > Let's not go there. Remember, MS haven't a clue when it comes to
standards,
> > trust the W3C instead ;)
>
> But Microsoft have set the standard. The W3C define Sweet FA wrt
Javascript
> anyway, you want to talk to the ECMA. And guess what: Netscape 6's
Javascript
> implementation pretty much matches those specifications, which also
matches
> IE's specifications, apart from a few niggly details (NS6 coders decided
against
> certain features because they were a pain to do, and some Microsoft
specific
> stuff like accessing IE-specific features like ActiveX)

MS haven't set any standards, it's the W3C or (ok, I'll give you that one),
ECMA.
Deciding against IE-specific features like ActiveX is also a very good plan
too.

And don't forget, IE also has all sorts of weird JS bugs too, so they're not
sticking
to any standards.

> > Depending on what browsers it works in, of course.
>
> Owt with support for the decent side of the DOM.
>
> I'm certain NS6 allows it. Certain, I say.

Which is still kind of insignificant as browsers go. Most people are still
using NS4 or IE4/5.

> >> I suggest you quit taking Netscape 4.7's word for the scope of
Javascript
> >> these days, and read up on the documentation for NS6 and IE5.5 ;)
> >
> > Don't give up on NS4.x just yet
>
> No, I did, because it's shit.

Good argument ;)

> > it's still widely used.
>
> By idiots and Netscape engineers, and Linux idiots (a different breed of
idiot,
> no?)

90% of people are idiots anyway. (One of a few things we might agree on ;)

In some cases, you have to make sure a site works fine in NS4.x. One of
the sites I've done in the past year is getting around 50% NS4. And a fair
amount of traffic for a fairly specialised and obscure site. (Ok, most hits
are
from .ac.uk domains, apart from the random 190k hits from a .mil.us domain
;)

> You know what really pisses me off? When people go
>
> "oh, and don't get me started on XYZ. Just do this, and that, some
convoluted
> step that only I've ever been bothered to try and do, and I didn't report
it to
> anyone at Microsoft, but it annoys me, therefore the entire product is
> lacklustre in my opinion, ha ha ha"
>
> Or did you actually report it to Microsoft as a painfully annoying bug? I
> might be wrong about you, you never know..

You know what really pisses me off? When people go "You know what really
pisses me off?". Erm, hang on a second.

And no, I didn't report it to them. Got better things to do with my time.
It's not
that annoying, really, just sometimes pisses me off. And it was just an
example of
the many things that are crap about IE5.x

> What pisses me off most is when people take IE5.5 and say "well it's
Microsoft
> so it HAS to be non-standard". I challenge you to code to the Netscape
specs
> for Javascript, and I mean BEFORE the ECMA forced them to take their fists
> out of their asses and actually THINK about it before implementing the
classes.

You're actually more likely to get something that works for more people that
way,
although you may want to work around the various differences with IE.

> IE - which does have sterling support for the W3C DOM - has the best JS
> and the richest set of features. That you can't type in a valid URL and
get
> pissy when IE doesn't predict how you wanted it (Andy, go read the W3C
> docs on how to format a URI) is annoying at best.

IE still has rather dodgy support for various other standards (like XML?).
Don't
get me wrong, all browsers are pretty crap anyway. NS6 would be great if it
wasn't so slow. (Ok, the layout engine is wonderfully fast, it's just the
rest that's
slow).

And a URL without the http:// bit is technically not right, but find me any
other
browser that won't assume the http:// bit and not fall over with some silly
error.

Speaking of which, IE generally doesn't give you anything in the way of
helpful
errors anyway.

Andy Wanless

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Make good on the promise you made at graduation to keep
in touch. Classmates.com has over 14 million registered
high school alumni--chances are you'll find your friends!
http://us.click.yahoo.com/l3joGB/DMUCAA/4ihDAA/d8AVlB/TM
---------------------------------------------------------------------_->

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/