769 $('#wsstatus').html('WebSocket error: ' + event.data); |
769 $('#wsstatus').html('WebSocket error: ' + event.data); |
770 } |
770 } |
771 |
771 |
772 /* Handle global menu manipulation called by the user script. */ |
772 /* Handle global menu manipulation called by the user script. */ |
773 function ws_global(msg) { |
773 function ws_global(msg) { |
774 |
774 console.log('ws_global(' + msg + ')'); |
775 } |
775 } |
776 |
776 |
777 |
777 |
778 $(document).ready(function() { |
778 $(document).ready(function() { |
779 |
779 |
780 $('#jqxMenu').jqxMenu({ |
780 $('#jqxMenu').jqxMenu({ |
781 width: 1280, |
781 width: 800, |
782 height: '30px', |
782 height: '30px', |
783 autoOpen: false, |
783 autoOpen: false, |
784 clickToOpen: true, |
784 clickToOpen: true, |
785 theme: theme |
785 theme: theme |
786 }); |
786 }); |
787 $('#jqxWidget').css('visibility', 'visible'); |
787 $('#jqxWidget').css('visibility', 'visible'); |
|
788 $('#jqxStatus').jqxPanel({ width: 478, height: 30, theme: theme }); |
788 }); |
789 }); |
789 |
790 |
790 |
791 |
791 |
792 |
792 function Round(n, d) { |
793 function Round(n, d) { |