How to move a button in a page + Other button related functionalities

Hi all, would appreciate your insights on how to get the following done:

  • Move buttons position from the bottom to the top on a list details page;

  • Have mouse-over opening of a menu functionality (when a user hovers over a link or button, it opens up a small menu that disappears when mouse is moved away |

  • Similarly, as above, how to have a pop-up menu open up within a page

  • How to have different buttons on different items on a list page? E.g., Item 1 can have 2 buttons instead of one, and the rest of the items in the list can have 1 button each.

Thank you,

SM