Skip to content

Instantly share code, notes, and snippets.

@jeffparsons
Created July 21, 2014 05:14
Show Gist options
  • Save jeffparsons/500b969ed73b479dd9da to your computer and use it in GitHub Desktop.
Save jeffparsons/500b969ed73b479dd9da to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<script>
window.onfocus = function(event) {
var el = document.createElement("div");
el.innerHTML = "PARENT window onfocus";
document.body.appendChild(el);
};
</script>
</head>
<body>
<h1>Minimal page with WIRIS in an iframe</h1>
<iframe src="http://www.wiris.com/editor/demo/en/index.html"></iframe>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment