Home arrow JavaScript arrow Page 15 - JavaScript and Embedded Objects

JavaScript and Embedded Objects

There's more to Web browsers than (X)HTML, CSS, and JavaScript. ActiveX, plug-ins, and other embedded objects help make the Web what it is today. Get the scoop on these and more in this chapter excerpt from JavaScript: The Complete Reference, second edition, by Thomas Powell and Fritz Schneider McGraw-Hill/Osborne, ISBN 0072253576.

Author Info:
By: McGraw-Hill/Osborne
Rating: 4 stars4 stars4 stars4 stars4 stars / 92
October 26, 2004
  1. · JavaScript and Embedded Objects
  2. · Java
  3. · Including Applets
  4. · Accessing Applets in JavaScript
  5. · Issues with JavaScript-Driven Applets
  6. · Plug-ins
  7. · MIME Types
  8. · Detecting Specific Plug-Ins
  9. · Interacting with Plug-Ins
  10. · Refreshing the Plug-Ins Array
  11. · Interacting with a Specific Plug-In
  12. · ActiveX
  13. · Cross-Browser Inclusion of Embedded Objects
  14. · Interacting with ActiveX Controls
  15. · Summary

print this article

JavaScript and Embedded Objects - Summary
(Page 15 of 15 )

Embedded objects provide the means with which you can expand the capabilities of your pages to include advanced processing, network, and multimedia tasks. Web browsers support Java applets and ActiveX controls and/or Netscape plug-ins. JavaScript can interact with all forms of embedded objects to some degree. Typically, the object handling the embedded content is addressable under the Document object (as its id or name ). When embedding content, it is recommended to write cross-browser scripts capable of interacting with both ActiveX controls and plug-ins.

This chapter served as an introduction to what is possible with embedded objects. A large part of ActiveX and plug-in capabilities are specific to the browser, vendor, and platform, so the best way to find information about these technologies is from the ActiveX control or plug-in vendors themselves. Because of the large number of browser bugs and documentation inconsistencies, often interaction with embedded objects is best carried out through a JavaScript library written with these subtleties in mind. Many such libraries can be found on the Web.

Embedded objects provide a way to enhance your site, not replace it. Pages should always degrade gracefully, so that they can be used by those on alternative platforms or who choose not to install plug-in, ActiveX, or Java technology. Sites that require a specific technology are very frustrating to use for the segment of the population that prefers an operating system and browser configuration other than Windows/Internet Explorer. As we discussed in the last chapter, detection techniques should always be employed to avoid locking users out of sites based upon technology limitations or client differences.

McGraw-Hill-OsborneThis chapter is from JavaScript: The Complete Reference, second edition, by Thomas Powell and Fritz Schneider, McGraw-Hill/Osborne, ISBN: 0072253576). Check it out at your favorite bookstore today.

Buy this book now.

DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials