Title: Delay Ajax Loading? Post by: tslatt on November 14, 2011, 07:48:48 AM When the content of a panel is loaded by ajax with the "href" property, is it possible to delay the load until it is triggered by an event?
I'm using the portal layout. Each panel within the portal contains lots of data. Loading a portal with 20 widgets is like loading 20 pages of data at once. It can take a long time -- long enough for alert boxes to appear asking me if I want the script to continue. To fix this, I would like to load all panels within the portal collapsed and EMPTY to begin with. Then, only when a panel is expanded or maximized, would the content be loaded via ajax. Can you tell me if this is possible, and how it could be implemented? Any help would be greatly appreciated. Title: Re: Delay Ajax Loading? Post by: stworthy on November 14, 2011, 06:44:23 PM The panel load its content via 'href' only when the panel is opened or expanded. Set 'closed' property to true or 'collapsed' property to true to prevent the content from loading at once.
|