Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert Large Amounts of Text

Status
Not open for further replies.

Rick7

IS-IT--Management
Apr 15, 2003
16
US
Hi,All:

I am looking for a solution to the following delima: In an html doc, I have several headings. When the user clicks a heading, I would like to show the detail for the heading. Click again, and the detail is removed. The detail should be in contained in table format and might consist of several hundred rows.

I had some success using elementID.outerHTML combined with an onClick event, but it falls apart when I include large amounts of text/html. Again, the detail can be several hunderd rows.

Any help would be much appreciated!!!

Rick
 
how about putting the details into a scrollable section

____________________________________________________
[sub]The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811[/sub]
onpnt2.gif
 
Good idea, but the data needs to be aligned in column format. The data are sales related details. Everything needs to line up with the totals at the bottom row for each section.

I think that it is also easier to work with the data when it is all visible.

Thanks again for your suggestion!!!
 
Can you break up your table? If so, put each section into a <div> tag and selectively expand/contract the <div> when the user clicks the heading.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top