Results 1 to 2 of 2

Thread: Ajax Tabs Content script - Using default content at all tabs

  1. #1
    Join Date
    Jun 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Tabs Content script - Using default content at all tabs

    Hi,

    I just installed this script:

    http://www.dynamicdrive.com/dynamici...tent/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:

    Code:
    <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:

    Code:
    <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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Sounds like you want the non-ajax version of this script:

    http://www.dynamicdrive.com/dynamici...tabcontent.htm
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •