ApPHP Tabs (AJAX Enabled) - Live Demo
CSS Style:
Black
G-style
Light green
Dark red
Grey
XP
Child Tabs Style:
Links
Dropdown
Tabs
Submission Type:
GET
POST
AJAX
Direction:
Left-to-right
Right-to-left
Tabs
Pictures
HTML
Text
PHP
Code
New Window
PDF
Capitals
|
Anthems
Europe
|
America
Eiffel Tower
|
Big Ben
|
Italy
Statue of Liberty
Rome
|
Pisa
This code was inserted
directly
without using included files
Code
require_once
("tabs.class.php");
$tabs = new
Tabs
();
$tabs->
SetHttpVars
(array("submission","style","child","direction"));
$pictures = $tabs->
AddTab
("pictures","","content/picture.bmp");
$html = $tabs->
AddTab
("HTML");
$html->
AddTab
("Capitals","content/capitals.htm");
$html->
AddTab
("Anthems","content/anthems.htm");
$tabs->
AddTab
("Text","content/text.txt","content/text.gif","Supplemental information");
$tabs->
AddTab
("PHP","content/innertabs.php");
$code = $tabs->
AddTab
("Code","","content/code.bmp");
$code->
SetInnerHTML
("<i>This code was inserted <b>directly</b> without using included files</i>");
$newWindow = $tabs->
AddTab
("New window","content/london.jpg");
$newWindow->
OpenNewWindow
(true);
$tabs->
AddTab
("PDF","content/pdf_example.pdf");
$europe = $pictures->
AddTab
("Europe");
$america = $pictures->
AddTab
("America");
$france = $europe->
AddTab
("Eiffel Tower","content/paris.jpg","content/france.gif");
$britain = $europe->
AddTab
("Big Ben","content/london.jpg","content/britain.gif");
$europe->SetDefaultTab($britain);
$italy = $europe->
AddTab
("Italy","","content/italy.jpg");
$italy->
AddTab
("Rome","content/rome.jpg");
$italy->
AddTab
("Pisa","content/pisa.jpg");
$liberty=$america->
AddTab
("Statue of Liberty","content/newyork.jpg","content/newyorkflag.jpg");
$tabs->
Display
();
Open
Back To Site
Code Example
☒