1.  
  2. ...
  3. var internalContainer = new BiComponent();
  4. internalContainer.setStyleProperty("backgroundColor", "#fbfbfb");
  5. internalContainer.setStyleProperty("margin", "1px");
  6. internalContainer.setSize(451,207);
  7. internalContainer.setLocation(0,23);
  8. container.add(internalContainer);
  9.  
  10. var tabPane1 = new BiComponent();
  11. tabPane1.pane = "pane";
  12. tabPane1.setSize(261,197);
  13. tabPane1.setLocation(8,5);
  14. tabPane1.setStyleProperty("border", "1px solid #c0c7c8");
  15. tabPane1.setStyleProperty("backgroundColor", "#ffffff");
  16. tabPane1.setStyleProperty("display", "none");
  17. tabPane1.add(new BiImage("./howToCloseSidebar.gif"));
  18. internalContainer.add(tabPane1);
  19.  
  20. var tabButton1 = new BiLabel("How to close the Sidebar");
  21. tabButton1.referTo = tabPane1;
  22. tabButton1.setAlign("left");
  23. tabButton1.setStyleProperty("border", "1px solid #fbfbfb");
  24. tabButton1.setStyleProperty("borderLeft", "1px solid #c0c7c8");
  25. tabButton1.setStyleProperty("padding", "3px 0 0 4px");
  26. tabButton1.setLocation(268, 5);
  27. tabButton1.setSize(175, 24);
  28. internalContainer.add(tabButton1);
  29. ...
  30.  
  31.