Wednesday, October 1, 2014

When opening a new window with JavaScript, you may specify the dimensions of the window and if it should a scrollbar and a few other things.

I stole the following from this:

window.open(whereAmI + "http://example.com", "_blank", 'toolbar=no, location=no,
      status=no, menubar=no, scrollbars=yes, resizable=no, width=1045, height=690');

No comments:

Post a Comment