Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Created June 5, 2014 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuc-arc-f/195c3bc64d27ba1ae9dc to your computer and use it in GitHub Desktop.
Save kuc-arc-f/195c3bc64d27ba1ae9dc to your computer and use it in GitHub Desktop.
function click_sub()
{
chrome.app.window.create(
'sub.html',
{id: "browserSlideID",
bounds: {
'width' : 1024,
'height': 600
}
}
, function(appWin) {
appWin.contentWindow.addEventListener('DOMContentLoaded',
function(e) {
console.log( '#.DOMContentLoaded' );
appWin.show();
}
)
}
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment