Results 1 to 2 of 2

Thread: ddaccordian inside ajaxtabs problem with init

  1. #1
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ddaccordian inside ajaxtabs problem with init

    1) Script Title: ddaccordian and akaxtabs

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

    3) Describe problem:

    I need to run ddaccordian.init() after an ajax laod using the ajaxtabs script.
    so that the effects work. I know that someone has the answer to this, but I can't seem to findit

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

    Default

    Well, if you're talking about Ajax Tabs Content, you can use the concept for loading nested tabs here to fire ddaccordion.init() instead, so something like:

    Code:
    countries.onajaxpageload=function(pageurl){
    if (pageurl.indexOf("externalnested.htm")!=-1){
    ddaccordion.init()
    }
    DD Admin

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
  •