Blog Quickstart Documentation Download
Translations of this page?:

For jQuery users

If you are using jQuery then:

  • Inlcude BraveLayout.js in <head> of your page after jquery.js like this:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="BraveLayout-jquery.js"></script>
  • 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).

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: 2010/03/01 10:30 by brave1979
www.chimeric.de Driven by DokuWiki Recent changes RSS feed redesign of arctic template by LimeLine