JavaScript Reference/Javascript Properties/units
"units" Example
<source lang="javascript">
<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>
</source>
"units" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<embed> | +----------------+--------------------------------------------------------------+
</source>
"units" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the units of measurement for the element"s height and width.
Syntax:
document.all.embedID.units
</source>