Table of Contents

Tab pane

The classical tab pane widget. The tab list is pure tableless XHTML/CSS.

Screenshot

Here you can see a tab pane with 3 pages. Nothing has been anchored to the pages.

Sample code

$this->build("p4a_tab_pane", "tab_pane");
$this->tab_pane->setWidth(300);
$this->tab_pane->setheight(100);
 
$this->tab_pane->pages->build("p4a_frame", "frame1");
$this->tab_pane->pages->frame1->setLabel("First frame");
 
$this->tab_pane->pages->build("p4a_frame", "frame2");
$this->tab_pane->pages->frame2->setLabel("Second frame");
 
$this->tab_pane->pages->build("p4a_frame", "frame3");
$this->tab_pane->pages->frame3->setLabel("third frame");
 
widgets/tab-pane.txt · Last modified: 2007/01/03 12:56
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki