please dont rip this site

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Document.embeds[] Property

Name

Document.embeds[] Property---embedded objects in a document

Availability

Navigator 3.0

Synopsis

document.embeds[i]
document.embeds.length
document.embed-name

Description

The embeds property of the Document object is an array of JavaObjects, each of which represents one embedded object in the document. Objects or data are embedded in an HTML page with the <EMBED> tag, and embedded objects are displayed, in Navigator at least, with plug-ins. For Java-enabled plug-ins, the JavaObjects in the embeds[] array allow you to interact with the plug-in that is displaying the embedded object. For plug-ins that are not Java-enabled, the JavaObject in embeds[] is a dummy object, and you cannot do anything with it.

Note that the contents of this array are JavaObject objects, not Plugin objects, as you might expect. The Plugin object and the Navigator.plugins[] array simply provides information about installed plug-ins. The Document.embeds[] array allows control over the plug-ins and access to the data those plug-ins are displaying. The fields and methods of the JavaObject objects provided by in the embeds[] array vary from plug-in to plug-in, and documentation will be supplied by the plug-in manufacturers.

If the <EMBED> tag of an embedded object contains the NAME attribute to specify a name, then a reference to the JavaObject for that embedded object will also be available as a property of the Document. The name of this Document property will be the name of the embedded object--i.e., the value of the NAME attribute.

See Also

"Document", "JavaObject", "Navigator", "Plugin", Chapter 19, LiveConnect: JavaScript and Java


Previous Home Next
Document.domain Book Index Document.fgColor

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell

file: /Techref/language/JAVA/SCRIPT/definitive/refp_81.htm, 5KB, , updated: 2019/10/14 15:00, local time: 2024/11/19 19:33,
TOP NEW HELP FIND: 
3.15.141.221:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/Techref/language/JAVA/SCRIPT/definitive/refp_81.htm"> [Chapter 21] Reference: Document.embeds[]</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?