PDA

View Full Version : Ajax Tabs Content script - Using default content at all tabs



blikje
06-29-2006, 09:21 PM
Hi,

I just installed this script:

http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

First of all: awesome script, just what I need!

What I would like to do is give every tab it's default content. So I won't load anything external. Basically I want my tabs to all be like the "Intro" tab, the first one. But I don't know how. I tried some things with div ID, like adding this block:


<div id="laatste" class="contentstyle">
<p>%%Panel.RecentArticlesPanel%%</p>
</div>

Note: The %% thingies are for my CMS, and this works because I got it working in the first tab. When the page is loaded the content is filled in.

When I insert above code I just get another block of content below the tabs. I tried to put it in the second tab using:


<li><a href="#default" rel="laatste">Belangrijk nieuws</a></li>

As you can see I tried to match the div ID "Laatste" but no success.

You can see the working excample at:

http://www.gvvv.nl/versie2/

I think it's a really simple thing, but not for me ;-)

Thanks!

Jacco

jscheuer1
06-30-2006, 03:58 AM
Sounds like you want the non-ajax version of this script:

http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm