1. Shlomi Fish
  2. shlomi-fish-homepage

Commits

Shlomi Fish  committed 2842436

Playing with the tree to try to collapse it.

  • Participants
  • Parent commits 6a3f1c8
  • Branches convert-from-jquery-treeview-to-jqtree-plugin

Comments (0)

Files changed (2)

File TODO

View file
  • Ignore whitespace
 ---------
 
 * Tweak the CSS to make it nicer.
+    - Make the expand +s a +s instead of minuses if the <ul> is collapsed.
 
 * Make the main navigation menu not expand everything by default.
 

File common/js/to-jqtree-2.js

View file
  • Ignore whitespace
         function(json_input) {
             $('#nav_menu').tree({
                 autoEscape: false,
-                autoOpen: true,
+                autoOpen: false,
                 data: [ calc_jqtree_data_from_html_w_nav_menu_json(
                     {
                         input: json_input,