Results 1 to 6 of 6

Thread: Dynamically selecting tab from a DIFFERENT page.

  1. #1
    Join Date
    Mar 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamically selecting tab from a DIFFERENT page.

    1) Tab Content Script (v 2.1)

    2) http://www.dynamicdrive.com/dynamici...tabcontent.htm

    3) I would like to know if it's possible or even a good idea, and how to select a tab from a link on a different page. So for instance, on my home page I have sub content links that I would like the user to be able to click on that first loads the page with the tabbed interface, and then second select the tab on load.

    Ideally, even jump to the topic on that tab using targeted links. The targeted links I have figured, and it works on the default selected tab, but I'm now struggling with selecting the tab dynamically from a different page.

    I think I'm close to my answer, and it maybe in a isSelected:function on a similar tabbed interface, or a friend was suggesting javascript query strings with onloads attached... I don't know.

    Thank you in advance for any help on this.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

  3. #3
    Join Date
    Mar 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    You rock... trying it now... I will let you know how it works!!!

  4. #4
    Join Date
    Mar 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok, didn't work, but I have a feeling that maybe I don't have the function appropriately located. Should it be in the prototype portion of the script?

  5. #5
    Join Date
    Mar 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    NEVERMIND!! I got it... and THANK YOU very much!

  6. #6
    Join Date
    Mar 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok so here I go again... I am understanding more and more though, so hopefully the questions will lessen. I have the tabs selected dynamically from other pages using the script provided on the other thread that listens for the query string in the link. Now, I want to know if I can add on to that. I have tabs, and expandable content that ideally I would like someone to link from a different page to the appropriate tab (of course I have that), and then target the appropriate heading and expand that particular section. I have the switch content script that I'm using for my project.

    Thank you in advance again for any help you can give me.

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
  •