JavaScript Reference/Javascript Properties/hasLayout
Содержание
"hasLayout" Example
<html>
<body>
<div id="myDiv" style="width:500; height:200; background-color:red;">
<button onclick="alert(document.all.myDiv.currentStyle.hasLayout);">
Haslayout
</button>
</body>
</html>
"hasLayout" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<a> <acronym> |
| |<address> <applet> |
| |<b> <bdo> |
| |<big> <blockquote> |
| |<body> <button> |
| |<caption> <center> |
| |<cite> <code> |
| |currentStyle <custom> |
| |<dd> <del> |
| |<dfn> <dir> |
| |<div> <dl> |
| |<dt> <em> |
| |<embed> <fieldset> |
| |<font> <form> |
| |<hn> <i> |
| |<img> <input type="hidden"> |
| |<input type="image"> <input type="password"> |
| |<input type="radio"> <input type="reset"> |
| |<input type="submit"> <input type="text"> |
| |<ins> <isindex> |
| |<kbd> <label> |
| |<legend> <li> |
| |<listing> <marquee> |
| |<menu> <nobr> |
| |<object> <ol> |
| |<option> <p> |
| |<plaintext> <pre> |
| |<q> <s> |
| |<samp> <select> |
| |<small> <span> |
| |<strike> <strong> |
| |<sub> <sup> |
| |<table> <td> |
| |<textarea> <th> |
| |<tt> <u> |
| |<ul> <var> |
| |<xmp> |
+----------------+--------------------------------------------------------------+
"hasLayout" Possible Values
Possible Values
true
false the default.
"hasLayout" Syntax and Note
Note:
Read-only property.
Has the element been layouted.
Syntax:
document.all.elementID.currentStyle.hasLayout