JavaScript Reference/Javascript Properties/hasLayout
Содержание
"hasLayout" Example
<source lang="javascript">
<html> <body>
<button onclick="alert(document.all.myDiv.currentStyle.hasLayout);"> Haslayout </button> </body> </html>
</source>
"hasLayout" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <applet> | | | |
| ||| |<body> <button> |
| || | |
| || | |currentStyle <custom> | | |
| | | <dir> ||
| |
- | | |<embed> <fieldset> | | | <form> | | |<hn> | | |<img> <input type="hidden"> | | |<input type="image"> <input type="password"> | | |<input type="radio"> <input type="reset"> | | |<input type="submit"> <input type="text"> | | | <isindex> | | | <label> | | |<legend>
- | | |<listing> <marquee> | | |<menu> <nobr> | | |<object>
| | |<option>
| | |<plaintext>
| | || | | <select> | | | | | || | | | | |
| | |<textarea> | | | |
| || | |<xmp> | +----------------+--------------------------------------------------------------+ </source>
"hasLayout" Possible Values
<source lang="javascript"> Possible Values true false the default.
</source>
"hasLayout" Syntax and Note
<source lang="javascript"> Note: Read-only property. Has the element been layouted.
Syntax:
document.all.elementID.currentStyle.hasLayout
</source>