Script adds id
for block, gives:
<div id="some">Text</div>
After that page should jump for that id
, without animation, just like we have target #some
on current page link.
How to do this?
Thanks.
Script adds id
for block, gives:
<div id="some">Text</div>
After that page should jump for that id
, without animation, just like we have target #some
on current page link.
How to do this?
Thanks.
Do you just mean linking "old school" like #some
For example
<a href="#some"></a>
Done in JS with
location.href = "#some";