NameSilo

Expanding List

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

The Equivocate

Established Member
Impact
13
I am creating a page that has a list, and each of these items would link to a page with more information, except I don't want to have to create a new page since there will be a few hundred different items. Instead, I want the visitor to be able to click the item, and it will expand to show the information. It would push the other list items down to make room for the information, and clicking it again would collapse. I'd also like to be able to have more than one level on the expansion and be able to put tables in the expanding space.

I've seen this done with javascript but there's an easier and more efficient way, I just can't figure it out.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
any examples of the easier or more efficient way? even the jacascript way oculd help out because I don't exactlyg et what youre asking
 
0
•••
Okay, if this was the list:

PRESIDENTS OF THE UNITED STATES:

> George W. Bush
> Bill Clinton
> Abraham Lincoln
> George Washington

and then when you click on Bill Clinton:

PRESIDENTS OF THE UNITED STATES:
> George W. Bush
V Bill Clinton
Information about Bill Clinton would appear here.
> Abraham Lincoln
> George Washington

And you can expand more than one list item:

PRESIDENTS OF THE UNITED STATES:
V George W. Bush
Info about George Bush
V Bill Clinton
Information about Bill Clinton would appear here.
> Abraham Lincoln
> George Washington

and even 3 levels

PRESIDENTS OF THE UNITED STATES:
> George W. Bush
V Bill Clinton
-> Policies
-V Biography
Bill Clinton was born Octember 32nd, 1991
-> Affairs
> Abraham Lincoln
> George Washington
 
0
•••
0
•••
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
URLs.com
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back