Results 1 to 2 of 2

Thread: Animated Collapsible DIV and Ajax Tabs Content together

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

    Default

    1) Script Title:
    Animated Collapsible DIV, and
    AJAX Tabscontent
    2) Script URLs on DD:
    http://www.dynamicdrive.com/dynamici...edcollapse.htm
    http://www.dynamicdrive.com/dynamici...tent/index.htm
    3) Describe Problem:
    I am trying to get these 2 scripts to work together.
    I have an AJAX tabs panel, and on clicking a menu button, it fetches an other page within the site. Works very well.
    But, now I am trying to fetch a page that has DD's Animated Collapsible DIV script in it (because the content is over a 100 words long, and I want to show just a teaser segment of a 100 words, with an "Read More" button).
    The problem is that the fetched page doesn't work the way it is supposed to- the Animated DIV doesn't work, instead shows all the content in the expanded state. I can get it to work the first time after a fresh refresh (F5), but not after that. In fact, I got it to that state by making calls to the inititalize, for eg, calling: var collapse1=new animatedcollapse("dog", 1000, false) in the main page (calling page- where the AJAX script resides).
    Any ideas on how I can get it to work repeatedly? This is supposed to be the 'crowning glory' of my site's content presentation, done mostly with DDs scripts!!
    Thanks!

  2. #2
    Join Date
    Jun 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

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
  •