Re: Attach event/function to links within span tag
- From: Lasse Reichstein Nielsen <lrn@xxxxxxxxxx>
- Date: Mon, 23 Jan 2006 08:18:17 +0100
Thomas 'PointedEars' Lahn <PointedEars@xxxxxx> writes:
> Michael Winter wrote:
>> That seems to make it rather clear that #00f and #0000ff specify the
>> same colour.
>
> Iff the color depth of the display device allows that, hence the remark on
> the dependency of the color depth of the display that is removed by using
> it instead of the six-digit form.
No, #00f and #0000ff specify exactly the same color, #0000ff,
aka. rgb(0,0,255), independently of what device it may be displayed on.
The equivalence is at the defintion level - the meaning of #xyz is
defined as the meaning of #xxyyzz.
Translating this color to an actual display happens later.
> The `body' element's _attribute_ is meant on both occasions. I would
> have referred to the `onload' property of an _object_, not an element,
Well, in the W3C DOM's ECMAScript mapping, HTML elements are
represented by Element objects, and I would personally call them
"elements" when discussing them. Just as I call functions that,
even though they are "just" special objects.
/L
--
Lasse Reichstein Nielsen - lrn@xxxxxxxxxx
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
.
- Follow-Ups:
- Re: Attach event/function to links within span tag
- From: Thomas 'PointedEars' Lahn
- Re: Attach event/function to links within span tag
- References:
- Attach event/function to links within span tag
- From: johkar
- Re: Attach event/function to links within span tag
- From: VK
- Re: Attach event/function to links within span tag
- From: Thomas 'PointedEars' Lahn
- Re: Attach event/function to links within span tag
- From: Michael Winter
- Re: Attach event/function to links within span tag
- From: Thomas 'PointedEars' Lahn
- Re: Attach event/function to links within span tag
- From: Michael Winter
- Re: Attach event/function to links within span tag
- From: Thomas 'PointedEars' Lahn
- Attach event/function to links within span tag
- Prev by Date: Passing variable...
- Next by Date: Re: problem with validating input value
- Previous by thread: Re: Attach event/function to links within span tag
- Next by thread: Re: Attach event/function to links within span tag
- Index(es):
Relevant Pages
|