Results 1 to 2 of 2

Thread: Tab Content Script help

  1. #1
    Join Date
    Mar 2009
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tab Content Script help

    1) Script Title:
    Tab Content Script
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...content2.htm#1
    3) Describe problem:

    hello i think i have finally found a script that does what i want but i have a couple of questions.

    if you go to www.eventtrafik.com you can see the tab script working along to top.

    at the monent i have 4 top tabs
    * HOME
    * EVENT PLANNER
    * SERVICES & TALENT ZONE
    * PROMOTERS ZONE

    if i click on any of the tabs it will show the sub links under it.

    how do it make it go to the desired url ant show the links for that tab automatically ???

    in the top tabs code i have put the urls but the when i click on a tab nothing changes.

    HTML Code:
    <ul id="tablist">
    <li><a href="index.php" onClick="return expandcontent('sc1', this)">HOME</a></li>
    <li><a href="planner.php" onClick="return expandcontent('sc2', this)" theme="#EAEAFF">EVENT PLANNER</a></li>
    <li><a href="services.php" onClick="return expandcontent('sc3', this)" theme="#FFE6E6">SERVICES & TALENT ZONE</a></li>
    <li><a href="promoters.php" onClick="return expandcontent('sc4', this)" theme="#DFFFDF">PROMOTERS ZONE</a></li>
    </ul>
    unless i remove the onClick="return expandcontent code but the n the sub tabs dont show when it goes to that page.

    maybe it would help if i knew what the following bits of code do?

    what do to following do ???
    1 - class="current"
    2 - onClick="return expandcontent
    3 - what does the THIS do ('sc1', this)

    ????


    ANOTHER STRANGE PROBLEM -----------

    why is it that some of the text url's change colour when i mouse over and some don't ???? strange css




    thanks
    rick
    Last edited by rickyspires; 03-14-2009 at 09:32 PM.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    The version you are using is not used, and out-dated. Please check out Tab Content Script v 2.2. Once you do this, others will be able to help knowing your using an up-to-date version.
    Jeremy | jfein.net

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
  •