screen.availWidth

モニタ画面の利用可能な横幅のピクセル数を示します。これはタスクバーやメニューバー、ドックなどの幅を除いた値になります。ただし、Operaではscreen.widthプロパティと同じ値を返します。

構文

screen.availWidth

例文

<html>
 <head>
  <title>screen.availWidth</title>
</head>
 <body>
  <script type="text/javascript"><!--
   document.write(screen.availWidth);
  // --></script>
 </body>
</html>

関連記事

スポンサーリンク

nextSibling

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る