app/soc/content/js/menu.js
changeset 423 25665d645fa8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/content/js/menu.js	Sun Oct 26 21:36:29 2008 +0000
@@ -0,0 +1,27 @@
+$(function() {
+  var li = $('#side #menu span').parents('li').filter(':has(ul)');
+  li.children('a').dblclick(function() {
+    window.location = $(this).attr('href');
+  }).add(li.children('span')).click(function() {
+    $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
+    return false;
+  });
+});
+$(function() {
+  var li = $('#side #menu span').parents('li').filter(':has(ul)');
+  li.children('a').dblclick(function() {
+    window.location = $(this).attr('href');
+  }).add(li.children('span')).click(function() {
+    $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
+    return false;
+  });
+});
+$(function() {
+  var li = $('#side #menu span').parents('li').filter(':has(ul)');
+  li.children('a').dblclick(function() {
+    window.location = $(this).attr('href');
+  }).add(li.children('span')).click(function() {
+    $($(this).parents('li')[0]).toggleClass('closed').children("ul").toggle();
+    return false;
+  });
+});