JavaScript Reference/Javascript Properties/hidden
Версия от 18:30, 25 мая 2010; (обсуждение)
Содержание
<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