Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Adding Compositions to Webpages and Widgets

The Quartz Composer Web Kit plug-in, available in Mac OS X v10.4.7 or later, lets you include Quartz Composer compositions in a webpage or Dashboard widget. The plug-in is a Web Kit–style Internet plug-in, available to Web Kit–based browsers, such as Safari, OmniWeb, and Shiira. It’s also available to Dashboard widgets, because Dashboard uses the Web Kit to render the HTML, CSS, and JavaScript files that make widgets.

This chapter shows how to use the Web Kit plug-in and how to manipulate a composition using JavaScript. It also describes the HTML attributes specific to the plug-in and discusses which Quartz Composer patches are not allowed in a composition rendered by a Web Kit plug-in.

Contents:

Including a Composition in an HTML File
Manipulating a Composition Using JavaScript
HTML Attributes for the Quartz Composer Web Kit Plug-in
Allowed and Disallowed Patches




< Previous PageNext Page > Hide TOC


Last updated: 2007-07-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice