我怎样才能得到windowWidth,windowHeight,pageWidth,pageHeight,screenWidth,screenHeight,pageX,pageY,screenX,screenY将在所有主要浏览器工作?
windowWidth
windowHeight
pageWidth
pageHeight
screenWidth
screenHeight
pageX
pageY
screenX
screenY
javascript jquery layout cross-browser
有没有一种可靠的方法来检测用户是否在jQuery中使用移动设备?类似于CSS @media属性的东西?如果浏览器在手持设备上,我想运行不同的脚本.
jQuery $.browser函数不是我想要的.
$.browser
javascript mobile jquery browser-detection
javascript ×2
jquery ×2
browser-detection ×1
cross-browser ×1
layout ×1
mobile ×1