Results 1 to 5 of 5

Thread: Ajax dynamic tab

  1. #1
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax dynamic tab

    1) Script Title: Ajax Tabs Content Script (v 2.0)

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

    3) Describe problem:

    Hello, this is really great script. Is it possible to turn of loading page in new window when javascript is disabled? Just same like on yahoo page?
    Thanks

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

    Default

    Hmm what do you mean, so nothing loads at all when clicking on the tabs if JavaScript is turned off?

  3. #3
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Right now, when js is turned off, it opens a page in new window (page that would actually be fetched). The problem is that target page is not formatted properly when open directly in browser.
    Thanks

  4. #4
    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

    That (opening the page when javascript is unavailable) is known as degrading gracefully. You can put a stylesheet link on the external page(s). It will be ignored when importing the content, but if the page is launched on its own, the stylesheet link on it will be used to format its content.
    - John
    ________________________

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

  5. #5
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK thanks I'll try this.

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
  •