2

What I am looking for is an inline menu, that pops up by a mouseover event. Does anyone know how to do something like this? The way it currently works in my program is very complicated (using multiple servlets and JSON).

Answered

4

1 回答 1

1

create a div element that will house the menu items that you require. hide it by default and give it absolute positioning. Add a mouseover event that will calculate the position based on which element you are hovering over and set this element's position to that and make it visible.

于 2012-12-03T14:50:16.793 回答