Ignore:
Timestamp:
Dec 24, 2012, 11:47:32 AM (11 years ago)
Author:
Miklfe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Full_Background/js/menu.js

    r19210 r19549  
    3636        $("ul#topnav li").hoverIntent(configSub);
    3737       
    38         var configSwitch = {
    39                  sensitivity: 2,                // number = sensitivity threshold (must be 1 or higher)   
    40                  interval: 0,                   // number = milliseconds for onMouseOver polling interval   
    41                  over: switchBoxOver,   // function = onMouseOver callback (REQUIRED)   
    42                  timeout: 0,                    // number = milliseconds delay before onMouseOut   
    43                  out: switchBoxOut              // function = onMouseOut callback (REQUIRED)   
    44         };
    45 
    46         function switchBoxOver(){
    47                 $(this).find(".switchBox").stop().fadeTo('slow', 1).show();
    48                        
    49         }
    50        
    51         function switchBoxOut(){
    52          $(this).find(".switchBox").stop().fadeTo('slow', 0, function() {
    53                   $(this).hide();
    54           });
    55         }
    56         $("ul.categoryActions li").hoverIntent(configSwitch);
    57 
    5838       
    5939        // Delete the border for the last li of the submenu
Note: See TracChangeset for help on using the changeset viewer.