how to minimise pop up window automatically after minimising main window in asp.net.
Thanks!
how to minimise pop up window automatically after minimising main window in asp.net.
Thanks!
Is this what you are looking for?
set its height and width as minimum you wants and set its X and Y position to 0.
function poponload()
{
testwindow = window.open("", "mywindow", "location=1,status=1,scrollbars=1,width=100,height=10");
testwindow.moveTo(0, 0);
}
References: window.open
Check this one also : resize event