0

how to minimise pop up window automatically after minimising main window in asp.net.

Thanks!

slugster
  • 47,434
  • 13
  • 92
  • 138
Nitin
  • 91
  • 1
  • 10

2 Answers2

0

Is this what you are looking for?

Minimize/Maximize a Browser Window

slugster
  • 47,434
  • 13
  • 92
  • 138
peanut
  • 109
  • 2
  • 9
0

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

Community
  • 1
  • 1
Dr. Rajesh Rolen
  • 13,143
  • 39
  • 98
  • 173