JavaScript Reference/Javascript Properties/units
"units" Example
<html>
<body>
<embed id="myE"
src="yourfile.swf"
quality=highpluginspage="http://www.macromedia.ru/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash"
width="243"
height="194"
units="px">
</embed>
<button onclick="alert(myE.units);">Units</button>
</body>
</html>
"units" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<embed> |
+----------------+--------------------------------------------------------------+
"units" Syntax and Note
Note:
Read-only property.
Returns the units of measurement for the element"s height and width.
Syntax:
document.all.embedID.units