[新着] Webテンプレートを仮オープンしました
モニタのサイズと表示可能領域(タスクバーを含まない領域)を表示するスクリプトです。
<html>
<head>
<title>TAG index Webサイト</title>
</head>
<body>
<script type="text/javascript">
<!--
document.write('<p>横のサイズ:<strong>' + screen.width + '</strong>');
document.write('(表示可能領域:<strong>' + screen.availWidth + '</strong>)<br>');
document.write('縦のサイズ:<strong>' + screen.height + '</strong>');
document.write('(表示可能領域:<strong>' + screen.availHeight + '</strong>)</p>');
// -->
</script>
</body>
</html>
表示したい場所にスクリプトを記述します。
モニタ全体のサイズと、タスクバーを含まない表示可能な領域を取得して表示します。
青い文字の部分は、必要に応じて書き換えてください。