summaryrefslogtreecommitdiff
path: root/themes/default/jquery/jquery.ui.init.js
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2008-11-21 01:56:33 +0000
committerChad Kieffer <chad@2tbsp.com>2008-11-21 01:56:33 +0000
commite60ddd0bd8e3337cf569eb66d36f2bd1021e948e (patch)
tree1ec7204185b373e2595d50c28ae909a82f626114 /themes/default/jquery/jquery.ui.init.js
parent8c06908f7f4e0bf6d55d4f6e2ee2c062b2f8190e (diff)
Add jQuery UI, tabs, and accordion JS and CSS to build Adam Torres' hi-fi prototype. Dropped YUI Base CSS in favor of defining our own base styles in screen.css, headings will and other items may not look right until I do. Need to figure out how jQuery ThemeRoller CSS should be integrated, if at all.
Diffstat (limited to 'themes/default/jquery/jquery.ui.init.js')
-rw-r--r--themes/default/jquery/jquery.ui.init.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/default/jquery/jquery.ui.init.js b/themes/default/jquery/jquery.ui.init.js
new file mode 100644
index 00000000..e9da2203
--- /dev/null
+++ b/themes/default/jquery/jquery.ui.init.js
@@ -0,0 +1,18 @@
+/**
+ * Apply jQuery UI components
+ *
+ * @todo Write helpers to grab all jQuery UI components by class and initialize
+ */
+
+$(function(){
+
+ //accordion
+ $('#gSettingsGroup-1').accordion({
+ header: ".ui-accordion-header",
+ clearStyle: true
+ });
+
+ //tabs
+ $('#gSettings ul').tabs();
+
+});