Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #13276

Re: A way of displaying an active Script

Message-ID <8729026.J7NaK4W3va@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2012-04-07 01:52 +0200
Subject Re: A way of displaying an active Script
Newsgroups comp.lang.javascript
References (1 earlier) <unkmn7h6bqoti42d4bvtejcah5957jtg7r@4ax.com> <arbZDQPqFKfPFw$f@invalid.uk.co.demon.merlyn.invalid> <m2vclfgkal.fsf@nntp.bednarz.nl> <Cle$Q1L9U1fPFwsL@invalid.uk.co.demon.merlyn.invalid> <m28vi8cv65.fsf@nntp.bednarz.nl>
Followup-To comp.lang.javascript

Followups directed to: comp.lang.javascript

Show all headers | View raw


Eric Bednarz wrote:

> Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> writes:
>> […] Eric Bednarz <bednarz@fahr-zur-hoelle.org> posted:
>>> Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> writes:
>>>> You can now look at <http://www.merlyn.demon.co.uk/js-boxes.htm#SSE>
>>> There is no nice way to say this, so I'll say it my way:
>>> Next time, *please* warn people who are not color-blind. Above the
>>> URL, not below. TIA.
>> I wonder what that means (except for TIA).
> 
> It means either your or my color perception might be slightly off.

IMHO there is nothing wrong with your color perception.  Black on lime next 
to magenta on light-grey next to black on yellow are certainly not very 
accessible color choices; not only for the color contrast between the layers 
being greater than between their fore- and background colors, but also for 
neglecting the meaning that the colors green and yellow are supposed to 
convey (correctness/go and warning/attention, respectively).  The least the 
author should do is sticking to the more eye-friendly pastel tones he used 
in the rest of the document.
 
>>>> [...] Yes, in FF11, the Title can be made visible just
>>>> above the Body's border
>>>
>>> The what?
>>
>> The Title.  All the best Web pages have a Title, supplied within <title>
>> ... </title> - validation calls for it.  The document element has, in at
>> least one browser, a read/write property addressable as document.title .
>>
>> The Body is non-mandatory for Web pages,
> 
> What, according to you, is validation, and what kind of validation does
> not call for a body element?

We can observe here the common misconception that if an HTML element's tags 
were not written it would not be there.  Contrary to e. g. the TITLE 
element, the start and end tag of the BODY element may be *O*mitted; the 
element must not:

| <!ENTITY % html.content "HEAD, BODY">
| 
| <!ELEMENT HTML O O (%html.content;)    -- document root element -->

| <!ENTITY % head.content "TITLE & BASE?">
| <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head
| elements -->
| 
| <!ELEMENT HEAD O O (%head.content;) +(%head.misc;) -- document head -->

| <!ELEMENT TITLE - - (#PCDATA) -(%head.misc;) -- document title -->

| <!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->


PointedEars
-- 
> If you get a bunch of authors […] that state the same "best practices"
> in any programming language, then you can bet who is wrong or right...
Not with javascript. Nonsense propagates like wildfire in this field.
  -- Richard Cornford, comp.lang.javascript, 2011-11-14

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A way of displaying an active Script Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> - 2012-04-02 23:40 +0100
  Re: A way of displaying an active Script Dr.Kral@nyc.rr.com - 2012-04-03 14:58 -0400
    Re: A way of displaying an active Script Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-03 21:17 +0200
      Re: A way of displaying an active Script John G Harris <john@nospam.demon.co.uk> - 2012-04-04 15:50 +0100
        Re: A way of displaying an active Script Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> - 2012-04-05 20:05 +0100
          Re: A way of displaying an active Script Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-04-06 10:39 +0200
            Re: A way of displaying an active Script "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-06 15:03 +0000
              Re: A way of displaying an active Script Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-04-06 21:20 +0200
                Re: A way of displaying an active Script "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-06 19:45 +0000
                [OT] Re: A way of displaying an active Script Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-04-06 22:39 +0200
                Re: [OT] Re: A way of displaying an active Script "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-06 22:18 +0000
                Re: [OT] Re: A way of displaying an active Script Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-04-07 00:40 +0200
                Re: [OT] Re: A way of displaying an active Script Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-04-07 02:33 +0200
                Re: [OT] Re: A way of displaying an active Script Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> - 2012-04-07 19:25 +0100
                Re: [OT] Re: A way of displaying an active Script "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-08 07:38 +0000
                Re: A way of displaying an active Script Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> - 2012-04-07 19:20 +0100
                Re: A way of displaying an active Script "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-08 07:52 +0000
  Re: A way of displaying an active Script Gene Wirchenko <genew@ocis.net> - 2012-04-03 12:44 -0700
    Re: A way of displaying an active Script Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> - 2012-04-04 20:30 +0100
      Re: A way of displaying an active Script Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-04-05 01:16 +0200
        Re: A way of displaying an active Script Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> - 2012-04-06 21:42 +0100
          Re: A way of displaying an active Script Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-04-07 01:11 +0200
            Re: A way of displaying an active Script Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-07 01:52 +0200
            Re: A way of displaying an active Script Dr J R Stockton <reply1214@merlyn.demon.co.uk.not.invalid> - 2012-04-08 19:48 +0100
              Re: A way of displaying an active Script "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-04-09 08:17 +0300
                Re: A way of displaying an active Script Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-04-09 09:06 +0000
          Re: A way of displaying an active Script John G Harris <john@nospam.demon.co.uk> - 2012-04-07 11:21 +0100
            Re: A way of displaying an active Script Tim Streater <timstreater@greenbee.net> - 2012-04-07 12:26 +0100
              Re: A way of displaying an active Script John G Harris <john@nospam.demon.co.uk> - 2012-04-07 15:16 +0100

csiph-web