PDA

View Full Version : Animated Collapsible DIV question



wwstriviafed
08-07-2008, 06:22 AM
1) Script Title: Animated Collapsible DIV

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm

3) Describe problem:

I'm wondering how to remove the text DIV toggle options.

When the code reads like this:

<a href="javascript:animatedcollapse.toggle('kelly')"><img src="http://i25.tinypic.com/wa0img.jpg" border="0" /></a> <a href="javascript:animatedcollapse.show('kelly')">Slide Down</a> || <a href="javascript:animatedcollapse.hide('kelly')">Slide Up</a>

They appear, and work fine.

However.. when I remove them manually... like this:

<a href="javascript:animatedcollapse.toggle('kelly')"><img src="http://i25.tinypic.com/wa0img.jpg" border="0" /></a>

The images for example 1 & 2 are next to each other on the page, instead of on top of each other. If I add a BR, it leaves white space between them when the toggle is open.

Is there a way to remove the text, where the graphics will still be on top of each other, without having a 50px white space from using a BR?

Thanks!

Nile
08-07-2008, 01:40 PM
Please provide a link to your page and all of the problematic code.
Also make sure that you copied and pasted the code correctly.
But until you provide the code or a link to your page, we can't help you.