Results 1 to 2 of 2

Thread: loadajaxpage and nested tab

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

    Thumbs down loadajaxpage and nested tab

    1) Script Title:
    Ajax Tabs Content
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...tent/index.htm
    3) Describe problem:

    Hi

    As per your suggestion i was able to replace child tab to different one with the help of loadajaxpage function.

    Now i want to place some tab content in that replaced tab.

    Basically http://www.dynamicdrive.com/dynamici...uppliment2.htm link provides sufficient information for embedding nested tabs.

    But there is difference in my setup and provided examples.

    My setup is not directly calling a html page, instead the child div itself replaces itself with a different page with the help of loadajaxpage function.

    If i add a tab based content in that replaced page, would it come to nested page category?

    If so i tried to implement a nested tab page following the examples.
    But it didn't work.

    My setup,


    Hoster page contains

    countries.onajaxpageload=function(pageurl){
    if (pageurl.indexOf("externalnested.htm")!=-1){
    var provinces=new ddajaxtabs("provincetabs", "provincedivcontainer")
    provinces.setpersist(true)
    provinces.setselectedClassTarget("link") //"link" or "linkparent"
    provinces.init()
    }

    }

    Hoster page call a child page by default,
    there is a loadajaxpage based link in that child page that replaces it self with another html page.
    Now in that page contains a Tab based content.

    Please help me dealing with the situation.

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

    Default

    I'm trying to understand the details here. So you have a Tabs Content (A) that contains a nested Tab (B). So far so Good. Inside this nested tab, one of its tabs uses loadajaxpage() to load a fresh new HTML page (C). At this point, I gather what you have is the entire contents of (A) (the contents, not the tabs themselves) being erased, and now contains the contents of (C) instead. Is this correct? So what you are trying to do now with this (C) content?

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
  •