Skip to content

Instantly share code, notes, and snippets.

@jeffparsons
Created July 21, 2014 05:04
Show Gist options
  • Save jeffparsons/c570eb39910264ba9c5e to your computer and use it in GitHub Desktop.
Save jeffparsons/c570eb39910264ba9c5e to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<script>
window.onfocus = function(event) {
console.log('>>>');
console.log('PARENT window onfocus');
console.log(event);
console.trace();
console.log('<<<');
};
</script>
</head>
<body>
<h1>Minimal page with WIRIS in an iframe</h1>
<iframe src="http://www.wiris.com/editor/demo/en/index.html" style="width: 800px; height: 600px;"></iframe>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment