dean.edwards.name/moz-behaviors/

moz-behaviors.xml

version 1.1.2

An XBL wrapper that allows Mozilla browsers to utilise Microsoft DHTML Behaviors (.htc files). View the example.

Update

2010/04/02version 1.1.2 (Firefox 3.6 compatiblity)
2005/08/19version 1.1.1 (minor bug fixes)
2005/06/29version 1.1 (separate bindings file)
2004/08/14version 1.0.6 (minor bug fix)
2004/05/28version 1.0.5 (support for tables)
2004/01/29version 1.0.3 (improved compatibility)
2004/01/22version 1.0.2 fixes path problem
2004/01/15now works for Mozilla 1.6
2004/01/14released

Documents

Introduction
What’s a behavior?
Overview
A description of the wrapper
Usage
Correct usage and a guide to developing cross-browser behaviors
Compatibility
Interfaces I’ve extended to allow browser compatibility
src
View the full source-code
Notes
Notes to accompany the above source-code
History
Version information
Caveats
Some things to consider...

Download

Download the XBL binding and a working example.

Examples

Draggable Boxes
My original demo...
Automatic Syntax Highlighting
A syntax highlighter to show off my source-code ;-)
Collapsible tree, sortable tables and more!
An assortment of very useful behaviors provided by Dr Detlef Groth
MicroEmacs 2004 Documentation
A rather nice tabbed search pane.

Platforms

Known to work on the following platforms: