1) Script Title: Ajax Tab Content V2.2 (Ajax)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tent/index.htm
3) Describe problem:
I am getting problem in using this script to work with external page.
The tab is displayed correctly, but when I hit Guardian Information tab the login.php page is opened in new page. I want it to be opened in the divcontainer, defined as s1, but it always opens in new page.Code:<ul id="studenttabs" class="shadetabs"> <li><a href="#" rel="#default" class="selected">Personal Information</a></li> <li><a href="login.php" rel="s1">Guardian Information</a></li> <li><a href="external3.htm" rel="s1">Academic Information</a></li> <li><a href="external4.htm" rel="s1">Contact</a></li> <!--<li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>--><?php //Way to fetch the external url ;?> </ul> <!--<div id="sProfileContainer" class="stdclass">--> <!--<p>This is some default tab content, embedded directly inside this space and not via Ajax. It can be shown when no tabs are automatically selected, or associated with a certain tab, in this case, the first tab.</p>--> <div id="s1" class="stdClass"> Your Content Will be displayed here </div> <script type="text/javascript"> var students=new ddajaxtabs("studenttabs", "sProfileContainer") students.setpersist(true) students.setselectedClassTarget("link") //"link" or "linkparent" students.init() </script>
I have already searched for the solution but couldn't find one, and hope you gyz know some workout.
Thanks in advance,



Reply With Quote

Bookmarks