ApPHP Tabs (AJAX Enabled) - Live Demo

CSS Style: Child Tabs Style: Submission Type: Direction:
Tabs
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();