JavaScript Reference/Javascript Properties/archive

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

"archive" Example

   <source lang="javascript">
   

<html> <body> <applet code="YourJava.class" width="350" height="260" archive="archive.ZIP"></applet> <script language="JavaScript">

   document.all.myA.archive = "archive.ZIP";

</script> </body> </html>


     </source>
   
  


"archive" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |<applet> <object> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"archive" Syntax and Note

   <source lang="javascript">

Note: Read and write property. Sets the URL for a ZIP file containing Java code.

Syntax:

document.getElementById("elementID").archive = value document.all.elementID.archive = value // IE only


     </source>