<html> | |
<head> | |
<script src="npapi.js"></script> | |
</head> | |
<body> | |
<div id="statusPanel" style="border: 1px solid red; width: 100%"> | |
Test running.... | |
</div> | |
Plugin Window Rect Test<p> | |
Tests whether the plugin window has a non zero client rect. | |
<DIV ID=PluginDiv> | |
<embed type="application/vnd.npapi-test" | |
src="foo" | |
name="checkwindowrect" | |
id="1" | |
mode="np_embed" | |
> | |
</DIV> | |
<script> | |
var height = document.body.offsetHeight; | |
</script> | |
</body> | |
</html> |