
WebObject 'tabs2' displays a tabs-like horizontal menu.
It is used like this:

    <Include SRC="{{WEBOBJ_PATH}}tabs2.html" />

    <WebObject Class="tabs2" Name="su"
        items="{{./}}su_menu_items.php" />

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'.
