Positioning any Popup Window to its desired Location using Javascript

Posted by vishalneeraj-24503 under JavaScript category on | Points: 40 | Views : 232
We have a window.moveTo method in HTML,which is used to move any popup window to its desired location.
Below is the code:-
<script type = "text/javascript" language = "javascript">
function move_popup_window()
var popup_window = window.open("http://www.dotnetfunda.com","","location = 1,status = 1,scrollbars = 1,width = 400,height = 250");

//Now call move_popup_window function in any button OnClientClick event and move window as desired.

Comments or Responses

Login to post response