Results 1 to 2 of 2

Thread: Animated Collapsible DIV question

  1. #1
    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!

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    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.
    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •