|
|
Embeddable Components (ActiveX, Java, Plugins)There are three common types of components which are embedded in web pages: ActiveX controls, Java Applets, and Plugins. ActiveX controls are embedded using the Object tag. Java Applets are embedded using the Applet tag. Plugins are embedded using the Embed tag. Of these, ActiveX controls are currently only supported in IE3+, while Applets are supported in IE3+ and NN2+. Plugins are supported by NN and IE3+. Both Applet and Embed are going to be retired in favor of the Object tag, which is to be used for all types of embeddable media, though support in current browsers varies (For example: Netscape 4 may not display GIFs at all with the Object tag, while IE 4 will not display them if HEIGHT and WIDTH are not specified). All of these tag accomplish mostly the same thing. When the browser reaches the tag, it checks to see if the specified component is already installed. If it is, then it includes it in the page. Otherwise, the browser usually asks the user if it should download the component, be it a plugin for viewing a movie or a Java animation, or an ActiveX control for playing music. Since you are using a scripting language which is supported on IE and Netscape 3+, it makes sense to use to most flexible option for components available for both of these browsers. Both plugins and Java applets work on both browsers, but you can do far more with Java, and it has better documentation. For more JavaScript-related sites, please visit our Scripting Links.
|
|