I want to provide my visitors the ability to see images in high quality, is there any way I can detect the window size? (我想为访问者提供观看高质量图像的能力,有什么方法可以检测窗口大小吗?)
Or better yet, the viewport size of the browser with JavaScript? (或者更好的是,使用JavaScript的浏览器的视口大小?) See green area here: (在此处查看绿色区域:)
ask by Alix Axel translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…