PDA

View Full Version : FeaturedContentGlider - Dynamic Creation



chas4za
09-23-2009, 08:20 PM
1) Script Title: FeaturedContentGlider - how to dynamically create one.

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

3) Problem:

The featuredcontentglider is very easy to set up - thanks!

I notice that I cannot place the init() call in a $(document).ready(... block.

The data I intend to put in the glider is dynamic and I must first get a JSON stream of data from the server.

Seems like a chicken-egg thing. How do I get the data first, so I know how to perform the init() with all necessary parameters?

Thanks

Chas