PDA

View Full Version : Ajax Tab Content v.2.0 + Internal Divs Problems



Ruven
02-04-2008, 07:45 AM
1) Script Title:
Ajax Tab Content V.2.0

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

3) Describe problem:
Hello, i've been trying to use Ajax Tab Content v.2.0. I would like to use it to load differents internal DIVS, divs located on the same page, home.php, but i cant, it look just to work fine when i load external pages but not when i call divs on the same page where i have the tag panel.

eg: i would like to do something like:

<li><a href="#" rel="tcontent1">Tab 1</a></li>
<li><a href="#" rel="tcontent2" class="selected">Tab 2</a></li>
<li><a href="#" rel="tcontent3">Tab 3</a></li>

<div id="tcontent1" style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
//Optional default content here.
</div>

<div id="tcontent2" style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
//Optional default content here.
</div>

.................

Else, all i've been looking for here on the forum, but it doesnt help me because all topics about talk about loading external pages, and not internal divs,,, and the documentation on the site doesnt help me alot neither to know what i'm doing wrong..

I hope some one help me please.
Thanks

ddadmin
02-04-2008, 06:25 PM
Tab Content script (http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm) (not Ajax) is the version you want then.