This code took me about five days to put together. Since I’m not a programmer and new to jQuery, I wanted to share it in case someone else needed help. I wasn’t able to find a replication of this online for my own problem so with lots of guesswork and looking at 10 different sites plus and how they wrote their jQuery, I was able to figure it out day-by-day and little-by-little. Here’s the code on GitHub and don’t forget to give me credit for it.

Please credit me:

/* jQuery code from scratch by Daniel Brinneman - Copyright Aug 11-15, 2012  - <a href="https://danielbrinneman.com"  target="_blank">https://danielbrinneman.com</a> */