Move window by value : Window Scroll « Javascript Objects « JavaScript DHTML

Move window by value


<FORM name="myform">
<INPUT TYPE="button" value="Move Window" onClick="window.moveBy(10,10);">
<INPUT TYPE="button" value="Set a Position" onClick="window.moveTo(240,200);">
<INPUT TYPE="button" value="Close Window" onClick="window.close();">


Related examples in the same category

1.Window 'scroll()' Example
2.Window 'scrollTo()' Example
3.Window 'scrollBy()' Example
4.Window 'scrollWidth' Example
5.Window 'scrollTop' Example
6.Window 'scrollLeft' Example
7.Window 'scrollHeight' Example
8.Move window to a position