JavaScript Reference/Javascript Properties/galleryImg

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

"galleryImg" Example

    
<html>
<body>
<script>
    function function1() {
        document.all.myImage.galleryImg = "yes";
    }
</script>
<input type="Button" id="b1" value="Turn Galleryimg "on"" onClick="function1();">
<img id="myImage" src="yourimage.jpg" alt="" width="74" height="99">
</body>
</html>



"galleryImg" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<img>                                                         |
+----------------+--------------------------------------------------------------+



"galleryImg" Possible Values

Possible Values
yes or true           the default; toolbar is enabled, 
no or false           toolbar is not enabled.



"galleryImg" Syntax and Note

Note:
Read and write property. 
Display My Pictures toolbar or not. 
    
Syntax:
    
document.all.imgID.galleryImg = value