mozilla/bedrock — pull request #680 by icaaq (2013-03-12 21:47:38+00:00)
Title: Bug 832345 - Load Tabzilla assets on click

Ok this is one way of doing this :camel:

I now load a very minimal tabzilla.js and tabzilla.css when loading the page. When clicking on tabzilla I first load tabzilla-initialized.css then I check if jQuery is present, if not I load that and then tabzilla-initialized.js.

I also increased the accessibility by using tab/tabpanels instead of menu/menuitem in the compact mode.

Things that I need help to be done:
* move tabzilla-initilized.js to /apps/tabzilla/templates/tabzilla/ and link to that in tabzilla.js
* tabzilla-initialized.less needs to be compiled and linked to in tabzilla.js

Things I need to fix if it's a good pull request
* fix the content, I've added a div around the ul's and removed I18 stuff. that needs to be readded again.