JavaScript Reference/Javascript Properties/standBy
Версия от 18:30, 25 мая 2010; (обсуждение)
"standBy" Example
<html>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.ru/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width="250"
height="230"
id="myObject">
<param name="movie" value="yourfile.swf">
<param name="quality" value="high">
</object>
<script language="JavaScript">
document.all.myObject.standby = "You can play this puzzle";
alert(document.all.myObject.standby);
</script>
</body>
</html>
"standBy" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<object> |
+----------------+--------------------------------------------------------------+
"standBy" Syntax and Note
Note:
Read and write property.
Specifies a string with the standby value.
Syntax:
document.getElementById("objectID").standBy
document.all.objectID.standBy = value // IE only