From: | Andy Wanless |
Date: | 13 Mar 2001 at 00:04:57 |
Subject: | Re: Javascript Does'nt work on my amiga ??? |
----- Original Message -----
From: Matt Sealey <matt@kittycat.co.uk>
>
> Nearly all objects on the page that can be enclosed in tags have onClick
> handlers.
>
>
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 ;)
> > You haven't called the function anywhere
>
> By specifying the object id, and the name of the handler (onclick) he is
in
> fact attaching that code, to that handler, on that object. It's perfectly
> good Javascript.
Depending on what browsers it works in, of course.
> > and there are no comments to prevent non-JS browsers displaying the
> > contents of the script.
>
> Like that matters :)
Like another 7 characters to comment out Javascript is a huge problem
anyway. It's always a good plan.
> > I'd suggest thinking through what you want to do more clearly, and then
> > reading some books or tutorials on JavaScript to determine the best way
> > to do it.
>
> 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, it's still widely used. NS6 is still rather
unstable,
and don't get me started on IE5.5. Try going to a website on a port other
than
port 80, and entering www.whereveritis.com:8080, for instance. (8080 being a
fairly common other port). And then laugh at "Please try the following: Open
the
s: home page, and then look for the information you want". Add the http://
bit and
you're in luck. And yes, that's been annoying me in a huge way lately, for
various
reasons.
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/