Skip to content

Instantly share code, notes, and snippets.

View internetoutfitters's full-sized avatar

Kelly Ehret internetoutfitters

  • Internet Outfitters
  • Boulder, CO
View GitHub Profile
function openImportServiceLogin(url, windowWidth, windowHeight) {
windowName = "connect_window";
var centerWidth = (window.screen.width - windowWidth) / 2;
var centerHeight = (window.screen.height - windowHeight) / 2;
window.open(url, windowName, 'resizable=0,scrollbars=1,width=' + windowWidth +
',height=' + windowHeight +
',left=' + centerWidth +
',top=' + centerHeight);