[WSG] hiding content with a click

2005-05-09 Thread john
I've been searching for some simple instructions on how to create a link that says hide content and it will remove a section of text from the page. The layout uses some tables (XHTML Transitional), so it would have to hide three tr's and shift the content below it up. Can somebody please

Re: [WSG] hiding content with a click

2005-05-09 Thread Andrew Krespanis
On 5/9/05, john [EMAIL PROTECTED] wrote: create a link that says hide content and it will remove a section of text from the page. The layout uses some tables (XHTML Transitional), so it would have to hide three tr's and shift the content below it up. Can somebody please instruct me on a

Re: [WSG] hiding content with a click

2005-05-09 Thread Joshua Street
Use onclick to set the ID of the relevant rows to display:none; or something along these lines. There's no way that I'm aware of to remove this content without _javascript_, short of doing server-side processing. On Mon, 2005-05-09 at 11:42 +0100, john wrote: I've been searching for some

Re: [WSG] hiding content with a click

2005-05-09 Thread Parker Torrence
You could employ the same concept that makes this http://webdesign.parkertorrence.com/designtest/peekaboo.php page work. Parker Unfolded WebDesign http://webdesign.parkertorrence.com On 5/9/05, john [EMAIL PROTECTED] wrote: I've been searching for some simple instructions on how to create a

Re: [WSG] hiding content with a click

2005-05-09 Thread Andrew Krespanis
Ooops! I really shouldn't leave things half-baked like that. If the link in question doesn't do anything without javascript, it is a wise idea to have it written to the page using js as well. We don't want any orphan UI elements, do we ;) And I even tested this one :] //let the code