Found this: but couldn’t get it to work in WP

Led me to this: but that seemed overwhelming

Found this to make $ instead of jQuery work in WP: but original script still didn’t work

Found this which was much simpler and didn’t require Animate Colors or Waypoints and allowed me to change on ID: but needed to set body class as “color-” + ID, and also needed to remove only those corresponding body classes. So combined some of the magic from first script, but couldn’t find a way to turn the body back to default color if I scrolled back up to the top

Found this script to do things when at top or bottom of scroll: and used it to return body to default color if user scrolls back up.


Leave a Reply

Your email address will not be published.

Fill out this field
Fill out this field
Please enter a valid email address.