PDA

View Full Version : Animated Collapsible DIV v2.4 (Javascript)



olivera
03-30-2011, 04:41 PM
Hello,

I have used the Animated Collapsible DIV v2.4 on one of my page.
The Javascript works great.

here is the link or the javascript is used:
http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

But I wanted to make a change. When the <div> expands with the content, at the bottum of the content a extra new line is added. I want to remove that new line from the content when it expands.

I tried to look through the javascript provided but could not figure it out.

I would really appreciate your help.

If the my question is not clear please feel free to ask.

Thanks in advance.

azoomer
03-30-2011, 09:20 PM
Maybe you just need to adjust the height to get it the way you want !


animatedcollapse.addDiv('jason', 'fade=1,height=80px')
try making it smaller, 60px or whatever.
If that doesn't solve the problem, then post a link to your page and give some more details about the problem.