Advertisement
Guest User

window.js

a guest
May 27th, 2014
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.addEventListener('load', function () {
  2.     var myWindow;
  3.     function startFunction() {
  4.         myWindow = window.open("https://www.google.com/", "myWindow", "width=500,height=500");
  5.     }
  6.     var Process = document.getElementById('PopupWindow');
  7.     Process.addEventListener('click', startFunction);
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement