W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2005

Re: DOM and XHMTL

From: Philippe Le Hegaret <plh@w3.org>
Date: Tue, 10 May 2005 09:58:16 -0400
To: Tommie Westling <Tommie.Westling@Tactics.Se>
Cc: www-dom@w3.org
Message-Id: <1115733497.11616.156.camel@localhost>
On Thu, 2005-05-05 at 09:40 +0200, Tommie Westling wrote:
> Hi,
> 
> I wonder if a can use DOM with XHMTL to do dynamic text features like
> expand and collapse?

Yes, by removing and adding nodes in tree.
You could do that using events and the display property of CSS as well.
The DOM page has a demo that does exactly that using Mouse Events and
CSS. If you click on a title of a paragraph, you will hide or show the
paragraphs:
http://www.w3.org/DOM/

Philippe


Received on Tuesday, 10 May 2005 13:58:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT