From: | Andy Wanless |
Date: | 13 Mar 2001 at 19:32:56 |
Subject: | Re: Javascript Does'nt work on my amiga ??? |
----- Original Message -----
From: Matt Sealey <matt@kittycat.co.uk>
>
> >> <SCRIPT><!--// cam counter
> >>
> >> ble bah boo;
> >>
> >> //--></SCRIPT>
> >
> > Well, if you do go and write ugly looking code... ;)
>
> Ugly?
Ugly in that...
<SCRIPT>
<!--
// cam counter
ble bah boo;
//
-->
</SCRIPT>
is a lot nicer to read, with just an extra 4 characters.
> Decent code and pretty code are mutually exclusive in my opinion. And
> it just goes to prove that Netscape's parser is shit.
I'm not suggesting pretty code. No need to make it all nice and fluffy and
put big ASCII flowers and fluffy rabbits in, or anything like that. But
starting
a new line in sensible places, and some decent indentation is always a good
plan.
> > So NS4 has, at most, 8% of the browser market? It's still a fair bit
more
> > than that, depending who you believe.
>
> I beleive.. umm. those people who give out the browser market figures (no,
> not Browserwatch :)
Good non-answer there ;) Don't believe any of these statistics anyway, their
not much use. NS4 could be as high as 50% for some sites, and as low as
10% or less for others. Of course, if a site only works in IE, then it'll be
100%
for IE, with no incentive to make it work for anything else. MS would never
deliberately encourage a website to do that though, would they? ;)
> > www.whateveritis.com:8080 is a perfectly valid URI. It's not a valid URL
> > though. You'd reasonably expect a web browser to assume HTTP as the
> > protocol if you don't specify it, the same way you'd expect it to use
port
> > 80 if you don't specify it. Every other browser does.
>
> That's no reason to expect it at all. You didn't form the request properly
> and are expecting the browser to fill in your blanks.. you think if you
> pasted that URL into an HTTP header, it'd actually get accepted? :)
No, of course not. I'd expect a browser to form a proper request based
on that though. All other browsers, including earlier versions of IE, assume
the HTTP protocol if you don't specify it. All IE asks for is "Address".
That's
what it says next to where you type it. http://anything isn't an address,
it's a URL.
There's a difference between a URI and a URL. Browsers accept either and
do sensible things. Except IE5.5.
> > We could go on for weeks about that one, but let's not. Then again, if
it
> > wasn't for OpenSource, we wouldn't be getting these emails anyway. And
> > there'd be about 6 websites in the world so we wouldn't need this
argument.
>
> YAM wasn't OpenSource when I started using it.
But the yahoogroups servers are running <insert open source OS here 'cos
I can't be arsed looking it up again>, and are probably running Apache.
> > Ideally, my webbrowser should know where I want to go before I do,
> > but that's not going to happen so I'd better be able to type it in.
>
> And hence, stop whinging when you type it wrong and the browser
> complains.
And if I type it in right and it still happens?
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/