Created
November 26, 2011 22:22
-
-
Save rlmcneary2/1396405 to your computer and use it in GitHub Desktop.
Javascript menu with animated pointer and flag
12-27-2011
Fixed broken "menu" div style.
01-02-2012
Menu.js - Determining which CSS animation (which direction to move the pointer) to use was wrong. it was using the element's offsetLeft position instead of the CSS left location. This problem was only seen when the menu was moved away from X's 0 origin in the window.
01-02-2012
menu.css - Remove padding from the menu div.
This tests awesome, quite different from the animations in menu control by C# I've experience with a WinForms UI Menu control. I think I've found what I eagerly need here.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
12-6-2011
Animation is now done with CSS if it is supported by the browser. If not jQuery is used to animate the menu pointers.