Tutorial: Create a Button to Change the Font on Your Site

Earlier this week, another WPMU DEV member needed help implementing a dyslexia-friendly font on one of his websites. At the time, I knew the CSS and most of the jQuery that would be needed to do so. Thankfully, a few helpful individuals over at StackOverflow helped me with the last bit of the jQuery (getting the font change to persist by using local storage).

Well, I figured that other members of the WPMU DEV community could benefit from a tutorial on how to create a button (or anything clickable, really) which will toggle fonts. So, here's the tutorial: http://z13.me/WordPress-FontButton. Feedback and suggestions are, as always, welcome.