XBLUI provides user interface enhancements for HTML. Enhancements are implemented with element bindings using the W3C's XML Binding Language (XBL)1. XBL provides a simple method of applying and extending the built-in enhancements.
Since no current browser has a native XBL implementation XBLUI has its own partial, cross-browser implementation. Native XBL implementations will improve the performance of XBLUI enhancements.Notes:
- Also commonly referred to as XBL2, not to be confused with the non-compatible Mozilla XBL also known as XBL1.
Using XBLUI in your web-page is typically a three step process:
- include the XBLUI script
- create a XBL document to specify which elements receive user interface enhancements
- include the XBL document with a
styleelement (similar to including a CSS document)
The following example illustrates the simple case of adding numeric input functionality to a HTML input element as in the Web Forms 2 specification:
<label>Enter a number from 0 to 100
<input type="number" min="0" max="100" value="50" />
XBLUI is available under the Creative-Commons Attribution, No-Derivatives license. If you aren't sure whether that applies to your intended usage then contact me for specific approval. The following list are guides for some specific scenarios:
- you can use the library in any web-page by including a script element linking to the original file on the meekostuff.net domain
- you can also copy the library to the domain of the web-page and link to it there
- you can copy the library to another domain for the purpose of redistribution provided you acknowledge that it is the XBLUI library and that you provide a link to the XBLUI project page at meekostuff.net.
Long-term licensing is yet to be decided - please check the license conditions of new releases before use.