954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Expandable / Collapsable Groups - Load on Expand

We currently have a system that display multiple sections on one page when it loads. What we were looking at doing is breaking each section into an expandable/collapsable group that is controlled by the end user with all groups collapsed on load by default. In saying that, is there a way to have it load the section ONLY when expanded to avoid having all the queries run to load the individual sections?

To explain it another way, we have an ASP page that is set to up to query and load all sections displayin on the page, so we have --
Section 1
Section 2
Section 3
Section 4
Section 5

When you first go to the page we want all of these sections to be collapsed (only showing the title of each section) but when expanded, we want it to run the respective queries to pull that section (and only that sections) information from the database?

jrotunda85
Junior Poster
144 posts since Feb 2011
Reputation Points: 19
Solved Threads: 7
 

The simplest way will be to use an iFrame for the menu, otherwise you will be mixing a JavaScript and ASP cocktail that probably won't provide the flexibility that you want.

ArtistScope
Junior Poster
150 posts since Jun 2010
Reputation Points: 5
Solved Threads: 14
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: