You are here: Reference > CSS > properties > browser specific extensions > -moz-binding

-moz-binding property

Browser support:
Sets the URL of the XBL (Extensible Binding Language) file containing the binding.
JavaScript page for this property: MozBinding. You can find other example(s) there.

Possible values:

 One of the following values: 
url(URI)
Where URI specifies the location of the XBL file.
inherit
Takes the value of this property from the computed style of the parent element.
none
Do not bind anything for this element.
Default: none.

Example HTML code 1:

This example illustrates the use of the -moz-binding property:
Code
somexbl.xml
<head>
    <style>
        #bindingTest {
            -moz-binding : url("somexbl.xml#alert-it");
        }
    </style>
</head>
<body>
    Move your mouse over <b id="bindingTest">this text</b>.
</body>
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content