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






Move window by value

 

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

   
  








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