JavaScript Reference/Javascript Properties/galleryImg

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

"galleryImg" Example

   <source lang="javascript">
   

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


     </source>
   
  


"galleryImg" is applied to

   <source lang="javascript">

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

     </source>
   
  


"galleryImg" Possible Values

   <source lang="javascript">

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


     </source>
   
  


"galleryImg" Syntax and Note

   <source lang="javascript">

Note: Read and write property. Display My Pictures toolbar or not.

Syntax:

document.all.imgID.galleryImg = value


     </source>