CharlotteCoder
10-04-2007, 11:33 PM
1) Script Title:
Animated Collapsible Div
2) Script URL (on DD):
3) Describe problem:
First off, let me say how much I like the expanding div script. It's excellent. I was going to use the script with a div that has dynamically changing text. So the visitor could expand it at any time in the day and get a different message, depending on what text I populate the div with.
Problem: when the div box is collapsed, and text changes dynamically inside the div, any visible divs below the div with the expanded text moves down about 3px. As soon as the innerHTML property writes to the div, it's pushing other content down a few pixels and I'm not sure why. I've tried fixing it with CSS and I've tried about 10 different work-arounds to keep the lower divs from moving.
Any thoughts?
Animated Collapsible Div
2) Script URL (on DD):
3) Describe problem:
First off, let me say how much I like the expanding div script. It's excellent. I was going to use the script with a div that has dynamically changing text. So the visitor could expand it at any time in the day and get a different message, depending on what text I populate the div with.
Problem: when the div box is collapsed, and text changes dynamically inside the div, any visible divs below the div with the expanded text moves down about 3px. As soon as the innerHTML property writes to the div, it's pushing other content down a few pixels and I'm not sure why. I've tried fixing it with CSS and I've tried about 10 different work-arounds to keep the lower divs from moving.
Any thoughts?