Pop-up menu


After spending a few days thinking about this problem (and trying out
several ways), I can say that I have absolutely no clue on how to do the

There is a page generated by rails that has shows a list of logged-in
users. I would like to click/hover on a user’s name and get a pop-up box
which contains a few links, such as “View Profile”.

Such menus have been around for a while now using javascript. But the
problem is that the profile method needs to know which user’s profile to
display (i.e. the user over whose name the mouse was clicked/hovered).

Please suggest any ideas on how to achieve this, I’m at a total loss and
it’s a bit urgent :frowning: