[wp-trac] [WordPress Trac] #7780: Adminstration menu: leave only two of the top-level navigation items expanded

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 22 21:13:58 GMT 2008


#7780: Adminstration menu: leave only two of the top-level navigation items
expanded
-------------------------+--------------------------------------------------
 Reporter:  kasparsd     |       Owner:  anonymous                
     Type:  enhancement  |      Status:  new                      
 Priority:  low          |   Milestone:  2.7                      
Component:  crazyhorse   |     Version:                           
 Severity:  trivial      |    Keywords:  ui, usability, javascript
-------------------------+--------------------------------------------------
 The only disadvantage of vertical (crazyhorse) main-nav is that it can get
 enormously long (especially with many plugins installed) and require a lot
 of scrolling to actually get to the menu item required.

 It might be useful to automatically collapse certain top-level menu items
 if more than three (for example) menu items are expanded.

 Added javascript stores all of the opened menu items into an array. When
 the number of items in array exceeds certain number, it automatically
 collapses the menu that was saved first (pops it from the array as well)
 and adds the expanded menu id to the end of that array. This action is
 bind to top-level expanding/collapsing.

 The concept is similar to the one used here:
 http://konstruktors.com/examples/wordpress-dashboard/04/

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7780>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list