×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: userc865b
Added: May 30, 2017 10:18 AM
Views: 5
Tags: js
  1. function popitup(url) {
  2.     newwindow=window.open(url,'name','height=200,width=150');
  3.     if (window.focus) {newwindow.focus()}
  4.  
  5.       if (!newwindow.closed) {newwindow.focus()}
  6.     return false;
  7. }