Lazy-loading pages of content with Ojay.AjaxTabs

Here we show how to turn a set of links to other pages into a tabbed interface that displays the linked content in the selected document. With JavaScript disabled, users can follow the links to the content, but with JavaScript enabled they get an enhanced experience. Content is not loaded into the page until the user has clicked the appropriate link.

JavaScript source code

Stylesheet