Results 1 to 3 of 3

Thread: Ajax Tab Content

  1. #1
    Join Date
    Feb 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Tab Content

    1) Script Title: Dynamically selecting a tab/ loading an external page

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...suppliment.htm

    3) Describe problem: Well, I am able to make my tabs. But inside my tabs I have other links and I want them to stay in that tab when you click on them instead of going to another page. Is that possible? Sorry if that has already been asked. But I have a tab that opens up to a table and each link in the table I want to open on the same page. They are all external links.

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

    Default

    If you mean you have links inside the content loaded by a particular tab, that when clicked on, you wish for them to load in the same content area:

    1) Assuming the content is loaded via Ajax (instead of iframe), use a link such as:

    Code:
    <p><a href="javascript: countries.loadajaxpage('external5.htm')">Load "external5.htm" into content container via Ajax</a></p>
    2) Assuming the content is loaded via IFRAME instead, then no changes to your links need to be made, as they will by default load inside the IFRAME.

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

    Default

    thank you! that is exactly what I needed.

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
  •