Blog Quickstart Documentation Download
Translations of this page?:

For jQuery users

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">
  • Don't forget to put your browser in quirks mode by specifying doctype in first line of your html file as follows:
<!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).

For other users (standalone)

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">
  • Don't forget to put your browser in quirks mode by specifying doctype in first line of your html file as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

For mootools users

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.

For prototype.js users

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

Notes

To increase performance you should minify BraveLayout.js and/or serve it gziped

Discussion

Enter your comment (wiki syntax is allowed):
download.txt · Last modified: 2007/12/09 08:18 by brave1979
www.chimeric.de Driven by DokuWiki Recent changes RSS feed redesign of arctic template by LimeLine