Results 1 to 2 of 2

Thread: Collapse one div when another expands

  1. #1
    Join Date
    Sep 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Collapse one div when another expands

    1) Script Title: Animated collapse

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

    3) Describe problem: Basically, I need to setup an animated collapse in which only one div may be open at a time. To accomplish this I need any expanded div to collapse when another is opened.

    Is this possible? Thanks in advance for any help you can offer!
    Last edited by cdransfeldt; 09-04-2010 at 02:10 PM.

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    that script allow grouping so that only one of a group is expanded at a time

    see the 'pets' example.
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

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
  •