PHP Classes

PHP Tab Control Creator: Generate a tab control to switch visible content

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 741 All time: 4,524 This week: 488Up
Version License PHP version Categories
tab-creator 1.0BSD License5HTML, PHP 5
Description 

Author

This class can generate a tab control to switch visible content.

It takes an array with multiple HTML content entries and generates HTML and JavaScript to show only one content entry visible at a time depending on which tab control is clicked by the user.

The titles for each tab are taken from the array entry keys.

The presentation of the tabs can be customized using CSS styles.

Picture of Mohammad Keramatifar
  Performance   Level  

 

Screenshots (1)  
  • tab.gif
  Files folder image Files (7)  
File Role Description
Plain text file class.tab.php Class main class file
Accessible without login Plain text file jquery.js Data jquery source file (can be CDN)
Accessible without login Plain text file tab.js Data javascript function file
Accessible without login Plain text file Example.php Example Simple Example File
Accessible without login Plain text file reset.css Data Cross Browser Compatibility CSS File
Accessible without login Plain text file tab.css Data Stylesheet File

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:741
This week:0
All time:4,524
This week:488Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2394