PDA

View Full Version : Animated Collapsible DIV - variable height



ILikeBread
07-28-2010, 04:40 AM
1) Script Title: Animated Collapsible DIV v2.4

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

3) Describe problem: I currently use this script to call data from my database when a user requests it (thus saving time loading the page and bandwidth). My question is - Is it possible to set the height of the DIV based on the results i recieve from my MySQL query.

EG - If my SQL query returns 1 record from my database then i want to set the height of the DIV to only 20px. If i return 10 records, 200px.

Thankyou

ILikeBread
07-28-2010, 05:53 AM
Person i replied to has had their post removed. (odd)

ILikeBread
08-02-2010, 08:42 AM
Anyone?