Sha256: 99e45d9738987522d79f08a9f60d9de68e6351706614c162b270578e8c3625e8

Contents?: true

Size: 1.27 KB

Versions: 35

Compression:

Stored size: 1.27 KB

Contents

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>iFrame message passing test</title>
		<meta name="description" content="iFrame message passing test">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<style>
			a { float:right; margin-left:10px;}
		</style>
	</head>
	<body>

		<b>iFrame :Hover Example</b>
		<a href="frame.content.html">Back to page 1</a>

		<p>
			Mouse over the code example below.
		</p>

		<xmp><!--  #code  --></xmp>

		<script>
			var iFrameResizer = {
					heightCalculationMethod:'lowestElement'
				}
		</script>

		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
		<script src="../js/client/iframeResizer.contentWindow.min.js" defer></script>

<div id="code">
    <style>
        xmp{background-color: #eee;padding: 20px;display:block;}
        xmp:hover{border:#c33 solid 40px;}
    </style>
    <script>
        (function(){
            $('xmp').hover(function(){
                if ('parentIFrame' in window) {
                    // Fix race condition in FireFox with setTimeout
                    setTimeout(parentIFrame.size.bind(parentIFrame),0);
                }
            });
        })();
    </script>
</div>

		<script>$('xmp').text('<xmp>'+$('#code').html()+'<xmp>');</script>
	</body>
</html>

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
j1_template-2019.4.12 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template-2019.4.11 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template-2019.4.10 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template-2019.4.8 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template-2019.4.7 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template-2019.4.5 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template-2019.4.4 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template-2019.4.1 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.36 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.35 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.34 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.33 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.32 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.31 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.30 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.29 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.28 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.27 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.26 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html
j1_template_mde-2018.4.25 lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html