We can use the window.moveTo
function to move the popup window to a desired location.
The code below shows positioning the popup at a desired location.
var win = window.open("http://www.dotnetfunda.com","open_win","location = 1,status = 1,scrollbars = 1,width = 250,height = 300");
//Now call above function in any button and move as you want.