| Sample: dhtmlxToolbar | Vertical layout | dhtmlxToolbar main page |

You can create toolbar with vertical layout by setting the fifth parameter in the toolbar's constructor

    <div id="toolbar_zone" style="width:600; height:50;"/>
    <script>
        aToolBar=new dhtmlXToolbarObject('toolbar_zone',160,200,"Demo toolbar",1);
        aToolBar.setOnClickHandler(onButtonClick);
        aToolBar.loadXML("_toolbarV2.xml")
        aToolBar.showBar();

        bToolBar=new dhtmlXToolbarObject('toolbar_zone2',25,200,"",1);
        bToolBar.setOnClickHandler(onButtonClick);
        bToolBar.loadXML("_toolbarV1.xml")
        bToolBar.showBar();</script>

Parameters passed to the constructor are:
- object to attach toolbar to (should be loaded before calling constructor)
- width of the toolbar
- height of the toolbar
- title of toolbar
- vertical mode flag