I have a page where a scroll bar containing table rows with divs in them is dynamically generated from the database. Each table row acts like a link, sort of like you\'d see
You can also use the element.scrollIntoView() options
element.scrollIntoView()
el.scrollIntoView( { behavior: 'smooth', block: 'start' }, );
which most browsers support