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
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