Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Hiding Table Rows

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 4/8/2006 12:57:00 PM



AliR wrote:


> My Question: Can rows of a table be hidden/shown dynamically on the client
> side?   So that when the user presses the +/- button next to each item we
> can show or hide the rows that represent the children of that item.

Well modern (desktop) browsers (IE 5 and later, Netscape 6 and later, 
Opera 7 and later, Safari and others) usually build a complete DOM 
(document object model) tree of the document which script, if enabled, 
can pretty much manipulate any way HTML and/or CSS allows so with 
client-side script is is certainly possible to set the CSS inline style 
of an element node to 'none' causing the browser to reflow the layout 
and hide/collapse that element. But that is client-side scripting and 
not XSLT.
And your description sounds as if script is already used.

-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent