Results 1 to 2 of 2

Thread: need help customizing DD Tab Menu

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

    Default need help customizing DD Tab Menu

    1) Script title: DD Tab Menu

    2) Script URL: http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm

    3) I wonder if someone might help me customize DD Tab Menu for my particular situation? Because of the CMS I'm using, I'm not able to assign a "rel" attribute to my menu links; I can, however, assign a unique "id" to each one. So, I can generate the following:

    Code:
    <div id="ddtabs" class="basictab">
        <ul>
            <li><a href="/url/" id="sc1" class="current">home</a></li>
            <li><a href="/url/work/" id="sc2">work</a></li>
            <li><a href="/url/customers/" id="sc3">customers</a></li>
            <li><a href="/url/blog/" id="sc4">blog</a></li>
            <li><a href="/url/contact/">contact</a></li>
        </ul>
    </div>
    
    <div class="tabcontainer">
        <div id="sc1" class="tabcontent">
            <p>Return to the home page</p>
        </div>
        <div id="sc2" class="tabcontent">
            <p>Services and samples</p>
        </div>
        <div id="sc3" class="tabcontent">
            <p>What our clients have to say about our work</p>
        </div>
        <div id="sc4" class="tabcontent">
            <p>On writing, the business of writing, and business writing</p>
        </div>
    </div>
    But I don't know how to alter ddtabmenu.js to make it work using the id attribute rather than the rel attribute in the ddtabs div. Thanks in advance for any help anyone might offer.

  2. #2
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default oops

    sorry, I just realized I'm trying to use the same ids twice on the same page (duh!)..

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
  •