Posted By

mikael12 on 10/28/10


Tagged

windowopen


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Tyster


Window open with custom dimension


 / Published in: JavaScript
 

  1. function openWindow(url,w,h,sb) {
  2. newWindow = window.open(url, '', 'width='+w+'px,height='+h+'px,left=0,top=0,resizable=1,scrollbars='+sb);
  3. newWindow.focus();
  4. }

Report this snippet  

You need to login to post a comment.