'moveBy()' Example : moveBy « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- moveBy
'moveBy()' Example
<html>
<body>
<script language="JavaScript">
function function1() {
window.moveBy(100,100);
}
</script>
<input type="button" value="Move the window 100 pixels to the left and 100 pixels
from the top of the current location" onclick="function1();">
</body>
</html>
Related examples in the same category