Results 1 to 3 of 3

Thread: Looking for such script which opens a link with in the same tab content.

  1. #1
    Join Date
    Jan 2013
    Thanked 0 Times in 0 Posts

    Default Looking for such script which opens a link with in the same tab content.


    Following is the link of my webpage using tab content script.

    I want to make 2 internal links in health notes tab.

    1. Green Blood

    2. Enzymes

    When i click health notes i should see these 2 links and some content.

    When i click green blood link the content of green blood opens within the health note tab.

  2. #2
    Join Date
    Dec 2008
    Portsmouth, UK
    Thanked 441 Times in 435 Posts


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    <html xmlns="" xml:lang="en" lang="en">
    <link rel="stylesheet" type="text/css" href="" />
    <script type="text/javascript" src="">
    * Tab Content script v2.2-  Dynamic Drive DHTML code library (
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at for full source code
     <ul id="countrytabs" class="shadetabs">
    <li><a href="#" rel="country1" class="selected">Description</a></li>
    <li><a href="#" rel="country2">Supplement Facts</a></li>
    <li><a href="#" rel="country3">Label</a></li>
    <li><a href="#" rel="country4">Nutrition Facts</a></li>
    <li><a href="#" rel="country5">Acid-Alkaline Rebalancing</a></li>
    <li><a href="#" rel="country6">Health Notes</a></li>
    <li><a href="#" rel="country7">FAQ</a></li>
    <li><a href="#" rel="country8">Recipes</a></li>
    <div style="border:1px solid gray; width:840px; margin-bottom: 1em; padding: 10px">
    <div id="country1" class="tabcontent">
    Country 1
    <div id="country2" class="tabcontent">
    Countryy 2
    <div id="country3" class="tabcontent">
    Countryy 3
    <div id="country4" class="tabcontent">
    Countryy 4
    <div id="country5" class="tabcontent">
    Countryy 5
    <div id="country6" class="tabcontent">
    Countryy 6
     <ul id="countrytabs2" class="shadetabs">
      <li><a href="#" rel="country21">Description</a></li>
      <li><a href="#" rel="country22">Supplement Facts</a></li>
      <div id="country21" class="tabcontent">
       Countryy 24
      <div id="country22" class="tabcontent">
       Countryy 25
    <div id="country7" class="tabcontent">
    Countryy 7
    <div id="country8" class="tabcontent">
    Countryy 8
    <script type="text/javascript">
    var countries=new ddtabcontent("countrytabs")
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    var countries=new ddtabcontent("countrytabs2")
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    <div id="dog4" class="tabcontent">&nbsp;</div>
    <script type="text/javascript">
    //var mypets=new ddtabcontent("pettabs")
      <!-- End Content -->
    God Loves You and will never love you less.
    If my post has been useful please donate to

  3. #3
    Join Date
    Jul 2008
    Derbyshire, UK
    Thanked 599 Times in 575 Posts
    Blog Entries


    An alternative could be to use something like the Animated Collapsable Div script inside of your health note tab to only reveal your green blood content on demand: .

    Or you could use the Iframes SSI 2 script to swop the content completely:
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Lightbox 2.04 - Opens like regular link
    By Fenris in forum JavaScript
    Replies: 4
    Last Post: 01-14-2010, 10:03 AM
  2. Amazon style Drop-in content box - How to close it the same way as it opens?
    By in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 10-15-2007, 03:30 PM
  3. Ajax Tabs Content - BUG - IE opens it in a new page
    By starp25 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 06-22-2007, 01:07 AM
  4. link that opens document in same window
    By marsshutters in forum Looking for such a script or service
    Replies: 4
    Last Post: 05-02-2007, 03:55 PM
  5. Replies: 1
    Last Post: 07-11-2006, 07:42 AM


Posting Permissions

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