screen.width
モニタ画面の横幅のピクセル数を示します。
構文
screen.width
例文
<html> <head> <title>screen.width</title> </head> <body> <script type="text/javascript"><!-- document.write(screen.width); // --></script> </body> </html>
関連記事
- screen.updateInterval
- screen.pixelDepth
- screen.logicalYDPI
- screen.logicalXDPI
- screen.height
- screen.fontSmoothingEnabled
- screen.deviceYDPI
- screen.deviceXDPI
- screen.colorDepth
- screen.bufferDepth
- screen.availWidth
- screen.availTop
- screen.availLeft
- screen.availHeight
スポンサーリンク