Results 1 to 1 of 1

Thread: DD Tab Menu add link in div

  1. #1
    Join Date
    Oct 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD Tab Menu add link in div

    Script: DD Tab Menu
    http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm

    I used this tabmenu for my site, the only problem I've right now is that I don't know how to add an link inside the div's content that refers to another div content. So, for example, this is my code:
    HTML Code:
    <p>the text comes here, followed by a link that refers to another div <a href="#" rel="ct2"><span>the link here</span></a> exactly the same way as the DD tab works, but this way doesn't seems to work.</p>
    I tried the <a href="#" rel="ct2">[ function, as used in the example, but this doesn't work. It's no problem to use the <a href> function to an external link, but I want to link another Div. Hope someone can help me out?

    Script: DD Tab Menu

    http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm

    Is it possible to add a link inside the <div> content that refers to another <div>? I can use normal (external) links using <a href>, but what I need is a link that loads another <div> (just like the example).

    For example:

    right now, the format is:
    HTML Code:
    <li><a href="http://www.dynamicdrive.com/style/" rel="sc3">Link text</a></li>
    If I click this link, it opens the URL in an external page. What I want is that when I click this link, it doesn't open an external link, but the content from another div, so more like:

    HTML Code:
    <li><a href="#" rel="sc2">Link text</a></li>
    to load the content of div sc2. How do I manage this?

    Thanks for helping me out!
    Last edited by jscheuer1; 10-14-2012 at 02:09 AM. Reason: merge

Similar Threads

  1. Replies: 3
    Last Post: 07-21-2010, 09:12 AM
  2. Replies: 0
    Last Post: 02-07-2010, 01:21 AM
  3. Replies: 0
    Last Post: 02-06-2010, 01:58 AM
  4. Accordion Menu - Nested menu subheader link not working
    By vermonter42 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 10-02-2009, 04:33 PM
  5. Expand menu (Smooth Navigational Menu) via link in text
    By annes in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-10-2009, 09:11 AM

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
  •