Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inner document</title>
</head>
<body>
<h1>Inner</h1>
<script>
document.body.onfocus = function() {
// Commented out pending resolution of
// parent.postMessage("innerbodyfocus,", "*");
}
document.body.onblur = function() {
parent.postMessage("innerbodyblur,", "*");
}
</script>
</body>
</html>