Results 1 to 2 of 2

Thread: animatedcollapse.js more than one div per page

  1. #1
    Join Date
    Dec 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default animatedcollapse.js more than one div per page

    Hi,

    firstly, thanks to DD. for the code..

    the animatedcollapse.js is working great..

    Can anyone tell me how I can get more than one div on a page to work using collapse2.slideit

    I tried putting one in a div=cat and another in div=cat2 but hitting either link only affects the first (cat) div..

    thanks

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    Do you mean multiple collapsible DIVs that operate independently of one another, or dependently (ie: collapse one to reveal the other at the same time)? If the former, this is certainly possible. In fact the demo HTML you cut and paste already includes two instances of the script running. If the former, this isn't supported yet. Before we add such a functionality, you may want to look at Switch Content script instead: http://www.dynamicdrive.com/dynamici...tchcontent.htm

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
  •