jeffrey1586
10-13-2012, 11:51 AM
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:
<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:
<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:
<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!
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:
<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:
<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:
<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!