thordendal — 2012-12-16T19:55:42-05:00 — #1
I am having an issue getting the down arrow to scroll down the page smoothly using jQuery on this Wordpress page:
I assume jQuery is already loaded by WordPress, so what do I need to do next?
There is a reference error on the "scrollto.js" in Firebug which says it can't find jQuery.
Any hep greatly appreciated!
ralphm — 2012-12-16T20:14:38-05:00 — #2
You need to have your link to the scrollto script below the link to the jQuery library. At the moment, it's above the jQuery link. The browser reads links from top down, so when it's reading the scrollto file, it gets confused by the references to the library, because it hasn't seen it yet.
thordendal — 2012-12-16T20:27:34-05:00 — #3
Awesome! I've put the scrollto script in the footer and it works perfectly!