Changeset 19549 for extensions/Full_Background/js/menu.js
- Timestamp:
- Dec 24, 2012, 11:47:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Full_Background/js/menu.js
r19210 r19549 36 36 $("ul#topnav li").hoverIntent(configSub); 37 37 38 var configSwitch = {39 sensitivity: 2, // number = sensitivity threshold (must be 1 or higher)40 interval: 0, // number = milliseconds for onMouseOver polling interval41 over: switchBoxOver, // function = onMouseOver callback (REQUIRED)42 timeout: 0, // number = milliseconds delay before onMouseOut43 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 58 38 59 39 // Delete the border for the last li of the submenu
Note: See TracChangeset
for help on using the changeset viewer.