OLD | NEW |
1 <!-- saved from url=(0014)about:internet --> | 1 <!-- saved from url=(0014)about:internet --> |
2 <!-- Please preserve the CR/LF at the end of the previous line. --> | 2 <!-- Please preserve the CR/LF at the end of the previous line. --> |
3 <html> | 3 <html> |
4 <!-- This page is meant to load inside the host browser like IE/FF --> | 4 <!-- This page is meant to load inside the host browser like IE/FF --> |
5 <head> | 5 <head> |
6 <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script> | 6 <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script> |
7 <script type="text/javascript"> | 7 <script type="text/javascript"> |
8 function onLoad() { | 8 function onLoad() { |
9 var chromeFrame = GetChromeFrame(); | 9 var chromeFrame = GetChromeFrame(); |
10 chromeFrame.onmessage = OnChromeFrameResize; | 10 chromeFrame.onmessage = OnChromeFrameResize; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 </head> | 110 </head> |
111 | 111 |
112 <body onload="onLoad();"> | 112 <body onload="onLoad();"> |
113 <div id="description" style="border: 2px solid black; width: 100%"> | 113 <div id="description" style="border: 2px solid black; width: 100%"> |
114 Test for resizing the chrome frame control. | 114 Test for resizing the chrome frame control. |
115 </div> | 115 </div> |
116 <div id="statusPanel" style="border: 1px solid red; width: 100%"> | 116 <div id="statusPanel" style="border: 1px solid red; width: 100%"> |
117 Test running.... | 117 Test running.... |
118 </div> | 118 </div> |
119 | 119 |
120 <object id="ChromeFrame" codebase="http://www.google.com" | 120 <span id="ChromeFrameSpan"></span> |
121 classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A" | 121 <script type="text/javascript"> |
122 style="border: 1px solid blue"> | 122 insertControl("ChromeFrameSpan", |
123 <param name="onload" value="return OnNavigationSucceeded();" /> | 123 { "width": null, |
124 <embed id="ChromeFramePlugin" name="ChromeFrame" | 124 "height": null, |
125 onload="return OnNavigationSucceeded();" | 125 "objectAttributes": { "style": "border: 1px solid blue" }, |
126 type="application/chromeframe" | 126 "eventHandlers": { "onload": "return OnNavigationSucceeded();" }, |
127 style="border: 1px solid green"> | 127 "embedAttributes": { "style": "border: 1px solid green" } |
128 </embed> | 128 }); |
129 </object> | 129 </script> |
130 <br /> | 130 <br /> |
131 <br /> | 131 <br /> |
132 | 132 |
133 <button onclick="javascript:DebugResizeChromeFrame(20);">Bigger</button> | 133 <button onclick="javascript:DebugResizeChromeFrame(20);">Bigger</button> |
134 <button onclick="javascript:DebugResizeChromeFrame(-20);">Smaller</button> | 134 <button onclick="javascript:DebugResizeChromeFrame(-20);">Smaller</button> |
135 | 135 |
136 </body> | 136 </body> |
137 </html> | 137 </html> |
138 | |
OLD | NEW |