Results 1 to 2 of 2

Thread: internal linking within a tabbed interface. help!

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

    Default internal linking within a tabbed interface. help!

    Hello all,

    I just created a tabbed content interface a la this example on Dynamic Drive. Each tab examines the same topic under different opinions, so all tabs contain the same section headers (header 1, header 2, header 3, etc...). Since the content in each tab is fairly lengthy, I placed a table of contents on the right side that contains links to the top of each section (a href="#header1", a href="#header2"). My problem is this: since each tab contains the same sections, I would like the links in my table of contents to take the user to the same section within each tab. However, as far as I can tell, the links only take you to the marker in the first tab, and only when the first tab is being viewed. If a user is viewing any other tab, the links do nothing. How can I make the links affect every tab the same way?

    As a note, the sections in all tabs are all given the name (ie: header 1 of every tab is (a name="header1") and header 2 is (a name="header2").

    I hope I've explained my situation clearly enough! I'm a beginner at all of this, so please excuse any ignorance I might have revealed! Thanks in advance everyone.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I can't imagine what you are talking about but, if you could:

    PLEASE: Include the URL to your problematic webpage that you want help with.

    I might.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •