I have opened a poup up window with a specific width,height ,top,left.
var newwindow=window.open("one.html",'name','height=200,width=650,top=300,left=100');
After 5 seconds i need to change the width,height,top,left of the popup window from a setInterval function in the main page. how can i do that.?
This code must be in child window
If you want to control the pop up window from the parent window then use the following (in parent window)
Remember in this case
newwindowmust be a global variable or pass it as a arguement to theresize_nowfunction.Demo here