1.js コードをコピーします コードは次のとおりです: <br><br>function openwindow(url,name,iWidth,iHeight) <BR>{ <BR>// url Web ページにリダイレクトする URL <BR>// Web ページの名前。空でも構いません。 <BR>//iWidth ポップアップ ウィンドウの幅 <BR>// iHeight ポップアップ ウィンドウの高さ <BR>//window.screen.height画面の高さを取得します。 window.screen.width は画面の幅を取得します。 <BR>var iTop = (window.screen.height-30-iHeight)/2; // ウィンドウの垂直位置を取得します。 >var iLeft = (window.screen.width-10-iWidth)//ウィンドウの水平位置を取得します。 <BR>window.open(url,name,'height=' iHeight ',,innerHeight=' iHeight ',width=' iWidth ',innerWidth=' iWidth ',top=' iTop ',left= ' iLeft ',toolbar=no,menubar=no,scrollbars=auto,resizeable=no,location=no,status=no '); <BR>} <BR><br> 2. メソッドコードをコピーします コードは次のとおりです:a に移動