26 Best ways to implement AJAX, CSS and Javascript based Tabs

Recently I was surfing the web for the best AJAX and CSS based tabs, menus for one of my project. In the process,I found some really good resources from fellow developers and thought to share the same with you all.

As you are aware that there are countless resources available on every topic in the world of internet but only a handful of them are utility types. As a result it is really hard at times to find the right resource from millions of websites which really suits our need.
Keeping this predicament of my fellow developers in mind, I came up with this list which will really prove to be helpful to all of you.

Here is the list of examples are arranged randomly, show some love and Digg it if you really like it :)


AJAX Tabs (Rails Redux):

Source: http://actsasflinn.com/Ajax_Tabs/index.html

AJAX Tabs (Rails Redux)Description: The purpose of doing Tabs in Ajax is not just to do something in Ajax. The context for which this is used is not for novelty. In this demo we are using Ajax to load information that does not need to be retrieved every time the user pulls the record. The methods used here are to yield absolute control over where the content comes from, what conditions trigger action, and how the panes are presented. This is really meant to be used in an application because the javascript and css are heavy if you are only using them on one page. However if you consider them groundwork for using tabs throughout a larger application then they are pretty light compared to something like YUI.

Snippet Code for Simple AJAX Tabs with cool CSS Styles:

Source: http://www.developersnippets.com/?p=22

Snippet Code for Simple AJAX Tabs with cool CSS StylesHey folks over there, here I came up with simple Ajax Tabs, you guys can show case your valuable content using tabs scenario that to with Ajax. This is simple and elegant way of representing your content when your pages have tons of content to display. If you go through the code its simple and basic Ajax implementation, if you are a web-developer its easy to understand. In the example which I am attaching with this snippet article consists of index.html, ajax.js, tabs.css and lastly the content page named as contentpage1.html

Javascript Tabbar Component with rich API:

Source: http://www.scbr.com/docs/products/dhtmlxTabbar/

Javascript Tabbar Component with rich APIdhtmlxTabbar is a JavaScript tabbar control for creating dynamic tab-navigation interface. This control lets you add nice looking and powerful multiline* tab bar to your site or web application.
The control can be easily initialized on a web page that makes building of DHTML tabbed interface a breeze. Just assign any elements on your page (for example DIVs) to tabs of Tabbar, and it will automatically do all work for you - the component will switch these elements displaying them by clicking on corresponding tab (see sample code for easy and fast initialization at the bottom of this page).

TabContainer - ASP.NET AJAX Control:

Source: http://ajax.asp.net/ajaxtoolkit/Tabs/Tabs.aspx

TabContainer - ASP.NET AJAX ControlTabContainer is an ASP.NET AJAX Control which creates a set of Tabs that can be used to organize page content. A TabContainer is a host for a number of TabPanel controls.

Each TabPanel defines its HeaderText or HeaderTemplate as well as a ContentTemplate that defines its content. The most recent tab should remain selected after a postback, and the Enabled state of tabs should remain after a postback as well.

Control Tabs:

Source: http://livepipe.net/projects/control_tabs/

Prototype - Control TabsUnobtrusive CSS tabs for Prototype.js

This script uses the Prototype javascript framework. You must include version 1.5 in your pages before including this script. This library is known to work in recent versions of all major browsers (IE 6/7,FireFox,Safari,Opera).

Accessible, unobtrusive JavaScript Tabs with jQuery:

Source: http://stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/

Accessible - unobtrusive JavaScript Tabs with jQueryHere is a jQuery plugin that lets you create Javascript tabs very easily - once you assembled the HTML with just one line of JavaScript Code

Yahoo! UI Library: TabView

Source: http://developer.yahoo.com/yui/tabview/

Yahoo! UI Library: TabViewThe TabView component is designed to enable developers to create navigate tabbed views of content. Check out the article on how to implement YUI tab view/menu interface.

Tabtastic (Non AJAX):

Source: http://phrogz.net/JS/Tabtastic/index.html

TabtasticThis library is a simple way to implement tabs on your page using CSS, a little JS, and semantic markup which degrades gracefully on browsers with CSS unavailable or disabled.
Not only is it easy to use and accessible for screen-readers, but it supports multiple (nested, even) tabsets on the same page and allows users to bookmark the page loading to a specific tab.

A Different approach for Tab Menu (Non AJAX):

Source: http://www.kollermedia.at/archive/2007/02/20/download-tabmenu-for-free/

A Different approach for Tab MenuIf you want that the tabs are changing on click and not on mouseover -> then just change the onmouseover to onclick Of course you can set a link to each Menu Tab - just set the linkurl in the href and delete the onclick=”return false;” At the moment it’s not usable with disabled Javascript but i will fix this as soon i have time. If you want to activate the Tabs via Keyboard - just add an onfocus=”” with the same functions as the onmouseover in it. I’ve packed everything in 1 File - but you can also put the css in an external css file and the javascript in an external javascript file. There are a lot of other ways how you can do something like this but if you use more then one of these tabmenus, i think this is one of the best solutions.


DOMTab - Navigation tabs with CSS and DOMscripting (Non AJAX):

Source: http://onlinetools.org/tools/domtabdata/

DOMTab - Navigation tabs with CSS and DOMscriptingDOMtab is a JavaScript that turns a list of links connected to content sections into a tab interface. The script removes any “back to top” links in the section and automatically hides all but the first one when the page is loaded. You can use as many tabbed menus on the page as you want to. New: If the URL of the page links directly to one of the tabs it get automatically highlighted. You can define with an extra class if you want previous and next links or not. DOMtab uses Unobtrusive JavaScript and does not have any global functions or variables. This page uses DOMtab.

Ajax Project - Tabbed Page Interface:

Source: http://www.crackajax.net/tabs.php

Ajax Project - Tabbed Page InterfaceDidn’t find what you want? Try our search
This project was inspired by forum contributor Nomadiq, based on an original CSS/Tab idea that can be found at http://nontroppo.org/test/t ab1.html
There are quite a few Javascript implementations of tabbed interfaces out there on the web. How much better, though, to be able to change from pagetab to pagetab without a page refresh? Here’s an example of a tabbed interface using Ajax to load the new pages.
We are going to use the AHAH functions described in the Metatag Grabber project to implement the interface.

JavaScript Tabifier (Non AJAX):

Source: http://www.barelyfitz.com/projects/tabber/

JavaScript TabifierAutomatically create an HTML tab interface using plug-and-play JavaScript. Cool script which is very easy to implement with in no time. Must check it out.

DHTML Goodies: Tab Panes

Source: http://www.dhtmlgoodies.com/index.html?whichScript=tab-view

DHTML Goodies: Tab PanesNothing much to say about this cool tab panes, as you all know DHTML Goodies always rocks. This site has got even support form section for all the examples they host and trust me their support form for each script is simply superb. So check out that site for other stuff too.

Ajax Tabs Content script:

Source: http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/

Dynamic Drive AJAX TabsThis tab content script uses Ajax to let you display a selection of external content on your page inside a DIV and via CSS tabs! We got our inspiration for this script from Yahoo’s new homepage, which employs such a concept to show news in an organized fashion.

Tab Pane control (Non AJAX):

Source: http://webfx.eae.net/dhtml/tabpane/tabpane.html

Tab Pane controlThis Tab Pane control is fairly similar to the tab system Tim Scarfe created for developer-x.com and the basic idea is the same. That idea is to be able to use a normal XHTML document structure and if the browser supports DOM level 1 then the structure of the elements is slightly adjusted and a the className is changed for the tab pane container so that the css rules specially defined for the tab are applied.

Ajax Workshop 2: Building Tabbed Content

Source: http://www.ajaxlessons.com/2006/02/18/ajax-workshop-2-building-tabbed-content/

Ajax Workshop 2: Building Tabbed ContentThis workshop we will be building a tabbed content browser that’s Ajax powered. When ever a user clicks a tab the Ajax will communicate with the server and send back the appropriate data for that tab. We will start this workshop off with the XHTML and CSS for the tabbed content browser. We will need 3 main IDs (one for the container, one for the content area and one for the loading status) and 1 class (for the tabs).

The Zapatec Javascript Tabs Demos:

Source: http://www.zapatec.com/website/main/products/tabs/demo.jsp

The Zapatec Javascript Tabs DemosThis is the AJAX Tabs demo. It uses the Zapatec AJAX Transport layer to transfer the tab contents dynamically and JSON to define the contents. It fetches Tab contents only when they are needed. This method lets you reuse HTML code. You can think of it as a client/server side include. You can easily create a Zapatec Tabs database-driven application using AJAX and JSON.

DOM Dynamic Tabs (Non AJAX):

Source: http://www.ajaxlessons.com/2006/02/24/dom-dynamic-tabs/

DOM Dynamic TabsDOM Dynamic Tabs is a very easy simple to use, it can be used right out of the box with little code. The first thing that you need to do is create an instance of the Dynamic Tab object.

Create killer menus effortlessly!: CSS Tab Designer

Source: http://www.highdots.com/css-tab-designer/

CSS Tab DesignerCSS Tab Designer is a unique and easy to use software to help you design css-based lists and tabs visually and without any programming knowledge required! Ready made tab menu builder tool for designers and developers. Cool one must try it.

Light Weight Low Tech CSS Tabs (Non AJAX):

Source: http://www.fiftyfoureleven.com/weblog/web-development/css/light-weight-css-tabs

Light Weight Low Tech CSS TabsAn example of light weight tabs by combining the Sliding Doors method with the Mountaintop corners idea. Complete source is available for download, check this is also an another cool menu.

DD Tab Menu - 5 styles (Non AJAX):

Source: http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm

DD Tab MenuDD Tab Menu is a standards compliant, 2 level tab menu. Move your mouse over a tab, and a 2nd level content appears beneath it. The script uses CSS to control all of its appearance, and plain HTML to implement the entire menu tabs and contents.
Module Tabs - Carousel:

Source: http://billwscott.com/carousel/carousel_tabs.html

Module Tabs - CarouselExample of showing one page of content at at time in tabs. Each tab link scrolls to the page selected. Since all animation is turned off (animationSpeed = 0) then it just moves the desired content into view.

PAJAJ AJAX Tabs:

Source: http://www.wassons.org/pajaj/public/widget/AjaxTabWidget.php

PAJAJ AJAX TabsPAJAJ is a object oriented Ajax framework, created by Gilbert Hyatt, written in PHP5 for development of event driven PHP web applications.

CSS Tabs 2.0 (Non AJAX):

Source: http://unraveled.com/projects/css_tabs/

CSS Tabs 2.0My goal was to build CSS tabs without using any images or hacks and with as little CSS as possible. Simple CSS Tabs and very easy to implement the same in any of your applications.

I think this article doesn’t end here, there are even more good tab based interfaces and menus around the web. Why not check this huge collection of collected CSS based Navigational Tabs Articles, Tutorials on list menus, navigations and tabs.

http://webdeveloper.econsultant.com/css-menus-navigation-tabs/

Technorati Tags: ,