WebObject 'tabs2' displays a tabs-like horizontal menu.
It is used like this:
The attribute 'items' is a PHP file that contains the items of the menu,
like this:
/**
* The $menu_items array contains the items of the tabs2.
*/
$menu_items = array(
"item1" => " Menu Item 1 ",
"item2" => " Menu Item 2 ",
"item3" => " Menu Item 3 ",
"etc1" => " . . . ",
"etc2" => " . . . "
);
?>
The item of the menu that is selected can be retrieved like this:
$selected = WebApp::getSVar("tabs2::su->selected_item");
If you need to change the look of the tabs2, then make a local
copy and modify 'tabs2.css'.