<script language=JavaScript>
alert("分辨率是:"+screen.width+"*"+screen.height)
</script>

解决方案 »

  1.   

    screen.width
    screen.height
    就是分辨率 800*600 中
    screen.width=800
    screen.height=600以此类推
      

  2.   

    availHeight:
      Retrieves the height of the working area of the system's screen, excluding the Microsoft&reg; Windows&reg; taskbar. availWidth:
      Retrieves the width of the working area of the system's screen, excluding the Microsoft&reg; Windows&reg; taskbar. bufferDepth:
      Sets or retrieves the number of bits per pixel used for colors in the off-screen bitmap buffer. colorDepth:
      Retrieves the number of bits per pixel used for colors on the destination device or buffer. 
    fontSmoothingEnabled  Retrieves whether the user has enabled font smoothing in the Display control panel. height:
      Retrieves the vertical resolution of the screen. 
    updateInterval  Sets or retrieves the update interval for the screen. width:
      Retrieves the horizontal resolution of the screen. 
      

  3.   

    楼上的, 你要学会查看英文资料, 要知道知识最全面的MSDN就是英文的