32 CHAPTER Embedded Objects …. In addition to (Post office web site)
February 22nd, 200832 CHAPTER Embedded Objects …. In addition to the typical content that you see in Web pages primarily text and images you can embed other kinds of content into the page. Such embedded content usually requires the powers of additional software, such as plug-in players or other external code processors, to load and display the content. All of this external content is added to a page by one of three HTML elements: APPLET, EMBED, or OBJECT. In the HTML 4.0 standard, the APPLET element, which was intended originally for loading Java applets, is deprecated in favor of the newer OBJECT element. An OBJECT element is intended to be more extensible, meaning that it has enough attributes and power to summon the Java virtual machine if the incoming code is a Java applet, or run an ActiveX program (in IE for Windows, that is). The EMBED element is commonly used to display a plug-in control panel directly in the document, rather than having the panel appear in a separate window. In all cases, when a visual element is embedded via any of these elements, the control panel or applet occupies a segregated rectangular space on the page and generally confines its activities to that rectangle. But in many cases, JavaScript can also interact with the content or the player, allowing your scripts to extend themselves with powers for actions, such as controlling audio playback or the operation of a Java applet. This chapter s primary focus is not on the content and players that you can control as it is on the HTML element objects that load the content or players into the page in the first place. Most of the properties represent nothing more than scriptable access to the element HTML attributes. The property descriptions in this chapter are therefore not extensive. Online HTML references (including the W3C HTML 4.0 specification and the Microsoft Developer Network documentation) should fill in the attribute value information quite well. In practice, scripts have very little interaction with these element objects, but if you ever need to know what s scriptable, you ll find that information here. As for controlling applets and plug-ins, you can find information about that in Chapter 44. In This Chapter Using EMBED element objects Exploring the OBJECT element object Understanding the unusual PARAM element ….
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.