Changeset 2805

Show
Ignore:
Timestamp:
11/13/08 07:05:25 (8 weeks ago)
Author:
MattRead
Message:

Fix the carrots in the menu. Add some potatoes and green beans. This soup is getting tasty.

Location:
trunk/htdocs/system/admin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/admin/css/admin.css

    r2803 r2805  
    106106#menubutton a:first-letter { 
    107107    text-transform: uppercase; 
     108} 
     109 
     110#menulist { 
     111    display:none; 
    108112} 
    109113 
     
    128132} 
    129133 
    130 #menu.hovering #menulist, #menu:hover #menulist > ul, #menu:hover #menulist > ul li.submenu:hover ul.submenu { 
     134#menu.hovering #menulist, #menu.hovering #menulist > ul, #menu:hover #menulist > ul, #menu:hover #menulist > ul li.submenu:hover ul.submenu, #menu.hovering #menulist > ul li.submenu.carrot ul.submenu { 
    131135    display: block; 
    132136} 
  • trunk/htdocs/system/admin/js/admin.js

    r2712 r2805  
    10331033        $.hotkeys.add('return', { propagate:true, disableInInput: true }, function() { 
    10341034            if ($('#menu').hasClass('hovering') == true && $('.carrot')) { 
    1035                 location = $('.carrot a').attr('href') 
    1036                 theMenu.blinkCarrot($('.carrot a').parent()) 
     1035                if ($('.carrot').hasClass('submenu') == true) { 
     1036                    location = $('.carrot ul li.carrot a').attr('href') 
     1037                    theMenu.blinkCarrot($('.carrot ul li.carrot a').parent()) 
     1038                } 
     1039                else { 
     1040                    location = $('.carrot a').attr('href') 
     1041                    theMenu.blinkCarrot($('.carrot a').parent()) 
     1042                } 
    10371043            } else { 
    10381044                return false;