How to set PopUp Window size

13,407

Solution 1

IE:

self.resizeTo(500,400);

Other browsers:

window.outerHeight = 500;
window.outerWidth = 400; 

Those examples were from the site mentioned below:

http://www.perlscriptsjavascripts.com/tutorials/javascript/window_1.html

Hope that helps :)

Solution 2

The methods you have to use are resizeTo() or resizeBy().

The option to resize a window may be restricted by browser-settings.

Share:
13,407

Related videos on Youtube

Dr. Rajesh Rolen
Author by

Dr. Rajesh Rolen

Over 15 years of successful experience in development of multi-tier applications and system integration solutions as application architect, project leader, technical lead, and software engineer. Very good understanding of application analysis and design concepts. Strong ability to apply proven design patterns to the system design and employ extreme programming and SCRUM techniques to the robust implementations. PhD (Computer Science & Engineering), MCA, BCA, MCTS, MCP, SCJP. Experience of working in the complete Software development life cycle involving SRS, Software architecture design, database design, Code Reviews, development, and documentation. Capable to delve into the new leading Technologies. Ability to work well in both a team environment and individual environment. Ability to train the team. Areas of Expertise Strong in Architecture design, Design Principles, Design Patterns and OOPs concepts. Capable of developing cross-platform code and managing project. Web applications and web services development using ASP.NET MVC with C#.NET/ VB.NET. Client-Server based applications developed using C#.NET and VB.NET Strong in Business requirement analysis and functional specification design and documentation. Through knowledge of Object Oriented Analysis and Design OOAD and N - Tier Architecture Strong in front-end GUI development using ASP.Net, HTML, JavaScript, JQuery. Strong in backend database development including designing and administering databases, - writing stored procedures, SQL and triggers for SQL Server, Oracle, and My-SQL databases. Strong Analytical Skills. Strong oral and written communication skills Download CV

Updated on June 04, 2022

Comments

  • Dr. Rajesh Rolen
    Dr. Rajesh Rolen almost 2 years

    I have opend a popup window using javascript. now in that popup window i have got a button and on click on that button i wants to changes size of that (current/same page) popup window.

    Please tell me how we can do this. Thanks

Related