Blog
Quickstart
Documentation
Download
If you are using jQuery then:
<script type="text/javascript" src="jquery-1.2.1.js"></script> <script type="text/javascript" src="BraveLayout-jquery.js"></script> <link rel="stylesheet" media="all" type="text/css" href="BraveLayout.css">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
!!!WARNING!!! If you want to be compatible with Konqueror avoid complex selectors (best stick with single #ident or .ident and you should be fine) or use standalone version (if you have trouble with name collision with jQuery, please let me know). Functions for picking elements by css selector from jQuery has some trouble in konqueror (it works good in Safari and other browsers).
If you are not using any library providing means of selecting elements by css selector:
<script type="text/javascript" src="BraveLayout-standalone.js"></script> <link rel="stylesheet" media="all" type="text/css" href="BraveLayout.css">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
I was trying to make version for mootools but when I tried to get $ES('div.items > div') in Firefox it gave me div.items node not it's children so I became discouraged. So mootools users please use standalone version (just below) for now.
If you are using prototype.js then you should use standalone version.
Due to the bug in implementation of Element#descendatnOf function in prototype.js for IE you should not use special shorter version of BraveLayout.js designed to cooperate with protoype.js
Things may change when prototype 2.0 is out
To increase performance you should minify BraveLayout.js and/or serve it gziped
Discussion