Created
May 6, 2011 17:34
-
-
Save kirkconnell/959394 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var mousingOverEvent; | |
| var mouseOutDelay = 500; | |
| $('.hover_menu').hover(function(){ | |
| clearTimeout(mousingOverEvent); | |
| $('#passport_login').hide(); | |
| $('#passport_dropdown').show(); | |
| $('#passport_dropdown').position({ | |
| my: "right top", | |
| at: "right bottom", | |
| of: "#switch_apps a", | |
| offset: "0 3" | |
| }); | |
| }, | |
| function(){ | |
| mouseOverEvent = setTimeout(function(){ | |
| $('#passport_dropdown').hide(); | |
| }, mouseOutDelay); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment