您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

bottom_toolbar.js 975B

12345678910111213141516171819202122232425262728293031323334353637
  1. var BottomToolbar = (function (my) {
  2. my.toggleChat = function() {
  3. if (ContactList.isVisible()) {
  4. buttonClick("#contactListButton", "active");
  5. ContactList.toggleContactList();
  6. }
  7. buttonClick("#chatBottomButton", "active");
  8. Chat.toggleChat();
  9. };
  10. my.toggleContactList = function() {
  11. if (Chat.isVisible()) {
  12. buttonClick("#chatBottomButton", "active");
  13. Chat.toggleChat();
  14. }
  15. buttonClick("#contactListButton", "active");
  16. ContactList.toggleContactList();
  17. };
  18. my.toggleFilmStrip = function() {
  19. var filmstrip = $("#remoteVideos");
  20. filmstrip.toggleClass("hidden");
  21. };
  22. $(document).bind("remotevideo.resized", function (event, width, height) {
  23. var bottom = (height - $('#bottomToolbar').outerHeight())/2 + 18;
  24. $('#bottomToolbar').css({bottom: bottom + 'px'});
  25. });
  26. return my;
  27. }(BottomToolbar || {}));