pergola.taskbar.toggleOn and pergola.taskbar.toggleOff allow to show or hide the taskbar. Its position is controlled by the property position which can get the value "top" (default) or "bottom". WindowTab and Preview are visible in all the examples with windows.
Using theme "suburban" with skin "rubber" as defined in config file.
pergola.taskbar:
myTaskbar = new pergola.Taskbar("myTaskbar");
myTaskbar.build({
position : "top",
height : 34,
hasMenu : false,
display : "block"
});