Last Revision:
Version 1.0, 2006-08-04
A Web Kit plug-in that modifies its own DOM element style
Build Requirements:
Leopard Preview
Runtime Requirements:
Leopard Preview

This sample consists of a Web Kit plug-in which uses the Objective-C DOM interface to modify its position within the hosting web page. It cleanly demonstrates the WebPlugIn protocol methods necessary for creating a Web Kit plug-in. For more on writing plug-ins and accessing the DOM with Objective-C, see "Web Kit Objective-C Programming Guide" and "Web Kit Plug-In Programming Topics" in the ADC Reference Library.

To install the built plug-in, place it in /Library/Internet Plug-Ins or ~/Library/Internet Plug-Ins and relaunch your favorite Web Kit-based browser.