Help create the same menu: http://promsite.info/faq/
3 answers
Perhaps this will help: menu for the site using jQuery . And here is exactly the same menu: Menu in the style of a lava lamp on CSS3 .
|
The easiest way is to use animate () . At the same time, you need to figure out what position:absolute
and get the coordinates of the menu item through jquery
(or any other way).
|
In the example, crap :)
Better if the arrow had the position of the cursor.
- Arrow set position: absolute, so you do not suffer with numbers.
- When moving the cursor, set left (animation) equal to the cursor position (we process in advance so that the sum of the cursor position and arrow width is less than or equal to the length of the entire menu and greater than or equal to the offset from the menu to the left).
|