PHP Classes

Tab Menu: Create tab menu for navigation using HTML and CSS

Recommend this page to a friend!
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 3,860 All time: 828 This week: 488Up
Version License Categories
tabmenu 1.0.0GNU General Publi...HTML


This is a simple class for creating tab menus for site navigation using HTML and CSS.

The class takes an array that defines the name of all the tab labels and the respective URLs and render the tabs in an HTML table using normal links. The currently active tab just displays its label text.

The tab menu may be aligned to the left, right or center of the page or container element. If left or right alignment is specified, the class may also display a label text before or after the menu table.

Picture of Vedanta Barooah
Name: Vedanta Barooah <contact>
Classes: 11 packages by
Country: United States United States
Age: 43
All time rank: 497 in United States United States
Week rank: 301 Down34 in United States United States Down
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

  Files folder image Files  
File Role Description
Files folder imageimages (3 files)
Accessible without login HTML file doc.html Doc. Documentation
Plain text file menu.php Class The main class file
Plain text file menu2.php Class Modified tabMenu class to support child menus
Accessible without login Plain text file style.css Data Required Style Sheet
Accessible without login Plain text file style_alt.css Data Alternate style Sheet
Plain text file tabMenu_nospace.php Class Tabs with no spaces between them
Accessible without login Plain text file tab_nospace.php Example Tab Example
Accessible without login Plain text file test.php Example Example Script
Accessible without login Plain text file test2.php Example Tab Menu With Child Menus

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file left_arc.gif Icon Required Images
  Accessible without login Plain text file readme.txt Doc. Readme
  Accessible without login Image file right_arc.gif Icon Required Images

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:828
This week:488Up
 User Ratings  
 All time