Return to Snippet

Revision: 24675
at March 8, 2010 10:15 by humanoid


Initial Code
function popup(url) {
  newWindow = window.open(url, 'name', 'height=400,width=335,scrollbars=yes');
  if (window.focus) { newWindow.focus() }
  return false;
}



// <a href="link.html" onclick="popup('link.html');">Link</a>

Initial URL

                                

Initial Description

                                

Initial Title
JavaScript Popup Unobstrusive

Initial Tags

                                

Initial Language
JavaScript