So I have a link on page A like
<a href="mysite.com/pageB#anchor"></a>
Of course, when clicked, pageB will open with the #anchor element on the top of the screen. I want it to be a little more attractive and lively. I want pageB to firstly be open normally and then scroll to #anchor with a rather slow speed(say 0.5s). I tried to google for the answer but sometimes this kind of simple and general questions are hard to search for an answer, there are just too many matches for keywords like anchor, link, etc.. So I have to ask here, thank you for your help in advance.