lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Java/JavaScript


From: Dave Eaton
Subject: Re: LYNX-DEV Java/JavaScript
Date: Fri, 20 Mar 1998 07:20:31 -0700 (MST)

On Fri, 20 Mar 1998, Philip Webb wrote:

> it would seem very simple for Lynx at least to alert the user,
> since the JavaScript is enclosed in  <SCRIPT ... > ... </SCRIPT> :
> i picture a suitable formatted `Message from Lynx' inserted in the page;
> it could perhaps be done for image-heavy HTML too;
> any problem about adding this for 2-8-1 ?

Yes, it is counter to the specifications.

HTML 3.2 (http://www.w3.org/TR/REC-html32.html) stated:
 "User agents should hide the contents of these [SCRIPT] elements."

What authors could do at this point was provide script comment lines
outside the HTML comment which hid the script. Though perhaps odd looking,
these comments could warn a user they were missing something.

HTML 4.0 (http://www.w3.org/TR/REC-html40/):
HTML 4 has added the NOSCRIPT element to permit authors to provide
content if they wish. From the spec:

 "User agents that do not support client-side scripts must render this
  element's [NOSCRIPT] contents."

If Lynx starts warning on SCRIPT tags without scanning to see if there is
also an associated NOSCRIPT tag, it will cause a properly composed HTML 4
page to be displayed with erroneous warnings.

Regards,
 Dave Eaton
--
 Artronic Development  - Your Web Site Solution
 12629 N. Tatum Blvd., Suite 224; Phoenix, AZ 85032
 e-mail: address@hidden - voice: (602) 953-0336  -  http://www.arde.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]