Last active
October 12, 2015 18:40
-
-
Save ghing/81a2bc6cec1e0c3c8532 to your computer and use it in GitHub Desktop.
Iframe event test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<h1>This is an iframe</h1> | |
<script> | |
console.log("Iframe loaded")l; | |
window.addEventListener('resize', function() { | |
console.log('resize'); | |
}); | |
</script> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head></head> | |
<body> | |
<iframe src="iframe.html"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment