在java脚本中检测浏览器大小? [英] Detect browser re size in java script ?

查看:105
本文介绍了在java脚本中检测浏览器大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

是否有办法使用java脚本检测客户端的浏览器大小?



提前感谢帮助=)

Hello,
Is there''s a way to detect the browser re size on the client side using the java script ?

Thanks in advance for helping =)

推荐答案

我在身体上使用了onresize事件标记并调用调整控件大小的函数,它起作用=)希望这会对某些人有所帮助=)
I''ve used onresize event on the body tag and called the function which resizes the the controls and it worked =) hope this would help some one =)


这篇关于在java脚本中检测浏览器大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆