ExtJS 获取浏览器宽度
JS中代码:
Ext.onReady(function() { var width=window.screen.availWidth; var height=window.screen.availHeight; Ext.MessageBox.alert('Form','width'+width+'\nheight:'+height); })
JS中代码:
Ext.onReady(function() { var width=window.screen.availWidth; var height=window.screen.availHeight; Ext.MessageBox.alert('Form','width'+width+'\nheight:'+height); })