'galleryImg' Example : galleryImg « Javascript Properties « JavaScript Reference

'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>

    
      
      








Related examples in the same category

1.'galleryImg' Syntax and Note
2.'galleryImg' Possible Values
3.'galleryImg' is applied to