View Full Version : Idea for tab content

07-28-2007, 11:05 PM
1) Script Title:
Tab Content Script
2) Script URL (on DD):
3) Describe problem:

i have a problem that if i have include external page with rel="differentarea"
from the tab content itself how can i do it any suggest please help

07-29-2007, 05:50 AM
What problem are you having with getting the a particular tab to load in a different content area? This works as long as both content area DIVs are defined before you call startajaxtabs(). For example:

<ul id="maintab" class="shadetabs">
<li class="selected"><a href="#default" rel="ajaxcontentarea">Intro</a></li>
<li><a href="external.htm" rel="ajaxcontentarea">Bird</a></li>
<li><a href="external2.htm" rel="ajaxcontentarea">Dog</a></li>
<li><a href="external3.htm" rel="ajaxcontentarea2">Cat</a></li>
<li><a href="external4.htm" rel="ajaxcontentarea2">Sea Otter</a></li>

<div id="ajaxcontentarea" class="contentstyle">
<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>
<p><b><a href="javascript: expandtab('maintab', 2)">Select 3rd tab of "maintab"</a></b></p>


<div id="ajaxcontentarea2" class="contentstyle">


<script type="text/javascript">
//Start Ajax tabs script for UL with id="maintab" Separate multiple ids each with a comma.

07-29-2007, 11:22 AM
thx you but it not
umm i mean the external page that come with area that in the main page

main page 2 content area
let say's
area1 & area2

main page show at area1 (load external page)
external page at area2

07-30-2007, 10:34 AM
Do you want to load a part of your page in the tabs? Please explain your question properly, in English preferably :p