PDA

View Full Version : Ajax dynamic tab



akademik
11-21-2007, 03:51 PM
1) Script Title: Ajax Tabs Content Script (v 2.0)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/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

ddadmin
11-21-2007, 09:55 PM
Hmm what do you mean, so nothing loads at all when clicking on the tabs if JavaScript is turned off?

akademik
11-22-2007, 12:47 PM
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

jscheuer1
11-22-2007, 03:49 PM
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.

akademik
11-24-2007, 03:48 PM
OK thanks I'll try this.