Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

bottom_toolbar.js 971B

123456789101112131415161718192021222324252627282930313233343536
  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. $("#remoteVideos").toggle("slide", { direction: "down", duration: 700});
  20. };
  21. $(document).bind("remotevideo.resized", function (event, width, height) {
  22. var bottom = (height - $('#bottomToolbar').outerHeight())/2 + 18;
  23. $('#bottomToolbar').css({bottom: bottom + 'px'});
  24. });
  25. return my;
  26. }(BottomToolbar || {}));