1 | 1 | simandl | <?xml version="1.0" encoding="ISO-8859-1"?> |
2 | | | <bindings xmlns="http://www.mozilla.org/xbl"> |
3 | | | |
4 | | | <!-- provide the default path to moz-behaviors.xml (keep the #behavior suffix) --> |
5 | | | <binding id="behavior" extends="moz-behaviors.xml#behavior"/> |
6 | | | |
7 | | | <!-- my/behaviors --> |
8 | | | <binding id="autoQuote.htc" extends="#behavior"/> |
9 | | | <binding id="favatar.htc" extends="#behavior"/> |
10 | | | <binding id="favatar.htc|autoQuote.htc" extends="#behavior"/> |
11 | | | <binding id="required-flag.htc" extends="#behavior"/> |
12 | | | <!-- syntax highlighter --> |
13 | | | <binding id="star-css.htc|star-light.htc" extends="#behavior"/> |
14 | | | <binding id="star-htc.htc|star-light.htc" extends="#behavior"/> |
15 | | | <binding id="star-html.htc|star-light.htc" extends="#behavior"/> |
16 | | | <binding id="star-email.htc|star-light.htc" extends="#behavior"/> |
17 | | | <binding id="star-js.htc|star-light.htc" extends="#behavior"/> |
18 | | | <binding id="star-php.htc|star-light.htc" extends="#behavior"/> |
19 | | | <binding id="star-xml.htc|star-light.htc" extends="#behavior"/> |
20 | | | <binding id="star-vbs.htc|star-light.htc" extends="#behavior"/> |
21 | | | <binding id="star-tsql.htc|star-light.htc" extends="#behavior"/> |
22 | | | <binding id="star-common.htc|star-light.htc" extends="#behavior"/> |
23 | | | <!-- demonstrations --> |
24 | | | <binding id="test.htc" extends="#behavior"/> |
25 | | | <binding id="drag-box.htc" extends="#behavior"/> |
26 | | | <binding id="drag-me.htc" extends="#behavior"/> |
27 | | | |
28 | | | <!-- example: multiple bindings --> |
29 | | | <binding id="example1.htc|example2.htc" extends="#behavior"/> |
30 | | | |
31 | | | <!-- example: table binding --> |
32 | | | <binding id="test-td.htc" extends="#behavior"/> |
33 | | | <binding id="test-table.htc" extends="moz-behaviors.xml#table"> |
34 | | | <implementation><constructor><![CDATA[ |
35 | | | // you must hard-code the table's behavior file |
36 | | | // (the path is relative to the containing page) |
37 | | | this.addBehavior("/my/behaviors/test-table.htc"); |
38 | | | ]]></constructor></implementation> |
39 | | | </binding> |
40 | | | |
41 | | | </bindings> |