bluemoon562
08-16-2006, 01:52 AM
1) Script Title: Tab Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem: Is it possible to link to each tab? For example, I'd like to be able to link to info.html#contact and have it jump to that tab.
I tried changing:
<li><a href="#" rel="contact">Contact</a></li> to
<li><a href="contact" rel="contact">Contact</a></li>
That didn't work. Though I thought it worked once; it didn't when it refreshed.
I tried inserting an anchor tab where the contact information is in the body and that didn't work.
<a name="contact"></a>
Am I doing something wrong? Is this possible to work consistently in all browsers? Anyone else have success with that?
Thanks.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
3) Describe problem: Is it possible to link to each tab? For example, I'd like to be able to link to info.html#contact and have it jump to that tab.
I tried changing:
<li><a href="#" rel="contact">Contact</a></li> to
<li><a href="contact" rel="contact">Contact</a></li>
That didn't work. Though I thought it worked once; it didn't when it refreshed.
I tried inserting an anchor tab where the contact information is in the body and that didn't work.
<a name="contact"></a>
Am I doing something wrong? Is this possible to work consistently in all browsers? Anyone else have success with that?
Thanks.