Начало
Детали страницы
Переместить окно
Перемещение окна браузера, просто нажав кнопку на странице .
JavaScript Page Details: Переместить окно
<!-- TWO STEPS TO INSTALL MOVE WINDOW: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <! > <! > <!-- Begin function moveWindowLeft() { window.moveBy(-15, 0); window.moveBy(0, 0); } function moveWindowRight() { window.moveBy(15, 0); window.moveBy(0, 0); } function moveWindowUp() { window.moveBy(0, 0); window.moveBy(0, -15); } function moveWindowDown() { window.moveBy(0, 0); window.moveBy(0, 15); } // End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <center> <form> <table> <tr> <td> </td> <td> <input type=button value=" ^ " onClick="moveWindowUp();"> </td> <td> </td> </tr> <tr> <td> <input type=button value=" < " onClick="moveWindowLeft();"> </td> <td> </td> <td> <input type=button value=" > " onClick="moveWindowRight();"> </td> </tr> <tr> <td> </td> <td> <input type=button value=" v " onClick="moveWindowDown();"> </td> <td> </td> </tr> </table> </form> </center> <!-- Script Size: 1.41 KB -->