JavaScript Reference/Javascript Properties/archive
Версия от 18:30, 25 мая 2010; (обсуждение)
"archive" Example
<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>
"archive" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<applet> <object> |
+----------------+--------------------------------------------------------------+
"archive" Syntax and Note
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