1.  
  2. var overview = new BiComponent();
  3. overview.setStyleProperty("border", "1px solid red");
  4. overview.setStyleProperty("left", "100px");
  5. overview.setStyleProperty("top", "100px");
  6. overview.setStyleProperty("border", "1px solid #949694");
  7. overview.setStyleProperty("backgroundColor", "#ffffff");
  8. overview.setOpacity(.7);
  9. overview.setRight(5);
  10. overview.setBottom(5);
  11. overview.setSize(200, 200);
  12. var multiple = getMultiple(overview, linkMgr);
  13. var navWin = new BiComponent();
  14. var navWinWidth = Math.round(screen.width/multiple);
  15. var navWinHeight = Math.round(screen.height/multiple);
  16. navWin.setSize(navWinWidth, navWinHeight);
  17. navWin.setStyleProperty("border", "1px solid #4245bd");
  18. navWin.setStyleProperty("backgroundColor", "#7eb5e5");
  19. navWin.setStyleProperty("cursor", "pointer");
  20. navWin.addEventListener("dragstart", dragNavWin);
  21. ...
  22. overview.add(navWin);
  23. win.add(overview);
  24.  
  25.