How to make the transition on the page anchor

It should be on the page, insert a few anchors and it is necessary to jump to the anchors was carried out in the menu.
Can you please tell how to do it?

do you want it on hover? or default?

It is necessary when you hover over a menu item