PDA

View Full Version : Animated Collapsible DIV & Ajax Tabs Content



ilude
04-15-2008, 07:23 PM
1) Script Title: Animated Collapsible DIV & Ajax Tabs Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm & http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem: Trying to get both of these scripts to lay together seems to fail.

On my initial page I load tabs for each 'project' I have in my DB (using Ajax Tabs Content). On clicking a tab, it calls a new page, page2.php, which loads a list of tasks related to that project. Each task should be a link which expands/collapses a div tag containing milestones for each task. However, what is happening is that the page is being loading with all the div's appearing and the links do nothing.

Calling page2.php directly works just fine, and allows the links to expand and collapse the div's as desired. The problem only seems to exist when page2 is called by the first page, and loads it's content within the dynamic div.

As this is housed behind an intranet I can't provide a URL to visit the current scripting, although if required I will attempt to port the info to a web accessible location.

Any help would be appreciated!

Thanks in advance.

ilude
04-16-2008, 01:48 AM
Update:

This seems to the case only when fetching the secondary page via Ajax. Loading via iframe works just fine, and the links expand without troubles.

Any ideas what could be causing the Ajax to fail?