1 <!-- saved from url=(0014)about:internet --> 2 <html> 3 <!-- This page is meant to load inside ChromeFrame --> 4 <head> 5 <script type="text/javascript" src="chrome_frame_tester_helpers.js"> 6 </script> 7 <script type="text/javascript"> 8 function OnLoad() { 9 externalHost.onmessage = OnHostMessage; 10 } 11 12 function OnHostMessage(evt) { 13 appendStatus('Host message: ' + evt.data); 14 externalHost.postMessage("Hello from ChromeFrame"); 15 } 16 </script> 17 </head> 18 19 <body onload="OnLoad();"> 20 <div id="statusPanel" style="border: 1px solid red; width: 100%"> 21 Test running.... 22 </div> 23 24 <p>ChromeFrame PostMessage Test 25 <br>Test for PostMessage from the host browser to ChromeFrame and back</p> 26 </body> 27 </html> 28