The forums ran from 2008-2020 and are now closed and viewable here as an archive.
if (currentScroll > detachPoint) header.addClass('detached');
would be come (on the 8th line the last code I pasted):
`if ($(this).scrollTop() > detachPoint) header.addClass(‘detached’);
Is that about right?
Yep, that’s it. :-)
Thanks man, that’s great! :)