News for hackers. Stuff that matters.
Re:Please, do not install every shit by zichy on Monday February 19, 2018 @10:17AM (#16413350)
How to scroll to an element:

  <a href="#section-1">Go to section 1</a>

  <section id="section-1"></section>
Re:Please, do not install every shit by DCoder on Monday February 19, 2018 @12:15PM (#16414115)
In theory, that's all you need. In reality, though…

"Can we make it scroll to section 1 slowly, so the user sees what's going on?"

"The heading of section 1 gets covered by the sticky top menu bar, change it so scrolling places section 1 just below the sticky."

Re:Please, do not install every shit by megaman22 on Monday February 19, 2018 @10:46AM (#16413513)
Using HTML the way it was built to work isn't cool these days, didn't you get the memo?
Re:Please, do not install every shit by shafyy on Wednesday February 21, 2018 @02:36AM (#16427638)
I think they are talking about smooth scrolling.