JavaScript Reference/Javascript Properties/hidden
Содержание
<html>
<body>
<embed id="myE" src="yourswf.swf" width="150" height="150">
Flash
</embed>
<script language="JavaScript">
function function1() {
document.all.myE.hidden = true;
}
</script>
<input type="Button" value="Make it hidden" onClick="function1();">
</body>
</html>
+----------------+--------------------------------------------------------------+
| Applied_To |<embed> |
+----------------+--------------------------------------------------------------+
Possible Values
true
false the default
Note:
Read and write property.
Is <embed> element visible.
Syntax:
document.all.embedID.hidden = value