标签: jquery html css
我目前正在使用$(window).height()来获取屏幕高度。但这在firefox中返回0。在firefox中获取高度的任何其他方法??
答案 0 :(得分:1)
您可以使用screen.height和screen.width属性来查找屏幕尺寸。 For more info
screen.height
screen.width