JS中代码:

Ext.onReady(function() {
  var width=window.screen.availWidth;
  var height=window.screen.availHeight;
  Ext.MessageBox.alert('Form','width'+width+'\nheight:'+height);
})

 

ExtJS 获取浏览器宽度

相关文章:

  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
猜你喜欢
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
相关资源
相似解决方案