Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Why can't JS scroll as smoothly as jQuery? Reply To: Why can't JS scroll as smoothly as jQuery?

#196939
Shikkediel
Participant

I’ve been reading along and googling as well. Not having any brilliant ideas though. How about the suggestion I also saw on SO – to have a peek at how jQuery handles it (only the plain underlying code of course)?

http://jqueryjs.googlecode.com/svn/tags/1.3.2/src/offset.js

To be honest, I’m not sure what’s ‘wrong’ with Shane’s latest pen. Could you maybe elaborate on what the bottleneck still is?