From: | Neil Bothwick |
Date: | 13 Mar 2001 at 00:50:11 |
Subject: | Re: Javascript Does'nt work on my amiga ??? |
Matt Sealey said,
> Hello Neil
>> What is a click in the context of the H2 tag? An onClick handler on
>> something that isn't clickable makes no sense.
> The text between <H2> and </H2> is obviously a clickable space: like a
> link, just without the special "it points somewhere" properties.
Why "obviously"? It's just a piece of text. Making it clickable does
mean that people will click on it. Making something a link when the
browser renders it as "not a link" is plain confusing to the user.
>>http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onclick.asp
>>
>> That's DHTML, not HTML.
> Event handlers and Javascript aren't HTML, they're DHTML.
But the document you referred to is for DHTML.
>>>> and there are no comments to prevent non-JS browsers displaying the
>>>> contents of the script.
>>
>>> Like that matters :)
>>
>> About as much as the missing closing brace. A lot of people browse with
>> JavaScript disabled, many companies insist on it.
> If Javascript is disabled, any self-respecting browser just ignores
> everything between <script> and </script>. Any browser which doesn't HAVE
> JavaScript knowledge quite obviously won't,
Thank you, as someone who has to use a non-JavaScript browser from time
to time, this thoughtlessness is really annoying.
As it is, only those with a non-JS browser would see anything on this
page...
> Until I can reproduce it (I can't, my RAM disks are called RAM: and RAM:,
> spaces are the devil's work :) it's a non-problem.
It doesn't matter, the code is screwed however you look at it :(
Neil
------------------------ 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/