Home | All Questions | alt.html FAQ > Client-side Windows Scripting

How do I open a new window of a specific size?

Opening windows of a specific size cannot be done in HTML alone. It requires a bit of javascript to do all the work - the window.open(); function:

  window.open("URLofPage","WindowName","width=350,
  height=520,status=no,toolbar=no,menubar=no,screenX=0,screenY=0,
  top=0,left=150,scrollbars=no,resizable=yes");

Recommended Resources

Discussion

Related Questions