availWidth

種類メソッド
書式 screen.availWidth
解説
モニタの有効な横幅を返します。
サンプルコード
function sampleCode()
{
n = screen.availWidth;
txtField.data = n;
}
sampleCode();
実際のスクリプトをダウンロード