Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 08-07-2008, 07:22 AM
wwstriviafed wwstriviafed is offline
Junior Coders
 
Join Date: Jul 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default Animated Collapsible DIV question

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!
Reply With Quote
  #2  
Old 08-07-2008, 02:40 PM
Nile's Avatar
Nile Nile is offline
Elite Coders
 
Join Date: Jan 2008
Posts: 3,007
Thanks: 10
Thanked 442 Times in 438 Posts
Blog Entries: 5
Default

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.
__________________
Coding is just another puzzle. And it's okay to have help putting together some peices.
Please don't be afraid to ask.
I try to highlight my code with correct syntax highlighting. Unless the its too long. Or I'm to busy.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:41 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.