Live Chat Icon For mobile
Live Chat Icon

How can i resize the dialog window?

Platform: ASP.NET| Category: Client Side Scripting

You can size a window with JavaScript using ‘window.resizeTo(valueX,valueY)’.


Note also that the parameters of resizeTo() have different meaning in different browsers: in Internet Explorer the parameters specify the outer size of the window, while in Netscape Navigator they refer to the inner size (which does not include the window borders, toolbar, status bar, title bar, and the address line). The ‘window.resizeBy()’ method is slightly different than it’s ‘resizeTo()’ which changes window’s dimensions to a certain number of pixels from it’s current size.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.