View Full Version : loadajaxpage and nested tab

05-04-2008, 03:34 PM
1) Script Title:
Ajax Tabs Content
2) Script URL (on DD):
3) Describe problem:


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/dynamicindex17/ajaxtabscontent/ajaxtabs_suppliment2.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

if (pageurl.indexOf("externalnested.htm")!=-1){
var provinces=new ddajaxtabs("provincetabs", "provincedivcontainer")
provinces.setselectedClassTarget("link") //"link" or "linkparent"


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.

05-05-2008, 10:42 PM
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?