JavaScript Reference/Javascript Properties/standBy

Материал из Web эксперт
Перейти к: навигация, поиск

"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