Web file server - 902 Part III . Document Objects Reference APPLET

902 Part III . Document Objects Reference APPLET Element Object For HTML element properties, methods, and event handlers, see Chapter 15. Properties Methods Event Handlers align (Applet methods) onCellChange alt onDataAvailable altHTML onDatasetChanged archive onDatasetComplete code onLoad codeBase onRowEnter height onRowExit hspace onRowsDelete name onRowsInserted object onScroll vspace width (Applet variables) Syntax Accessing APPLET element object properties or methods: (NN3+/IE4+) [window.]document.appletName.property | method([parameters]) (NN3+/IE4+) [window.]document.applets[index].property | method([parameters]) (IE4+) [window.]document.all.appletID.property | method([parameters]) (IE5+/NN6) [window.]document.getElementById( appletID ).property | method([parameters]) About this object Starting with NN3 and IE4, Java applets are treated as scriptable objects. While IE4+ treats both the applet and the APPLET element as objects, NN3 and NN4 offered access to only one property of the APPLET element object (name). In NN6, however, many more APPLET object properties are also scriptable. The fact that the applet, itself, can expose public instance variables and public methods as properties and methods of the applet object means that the scriptable characteristics of an appletobject are highly dependent upon the way the applet was written. You can learn more about how to compose an applet that exposes its innards to JavaScript in Chapter 44. Perhaps the most important point to remember about accessing applets is that you must have them loaded and running before you can address them as objects. APPLET
Please visit our professional web hosting services to find out about cheap and reliable webhost service that will surely answer all your demands.

Leave a Reply