MooTools Font Size Scroller with Cookie Save
Providing users as many preferences as possible always puts a smile on the user’s face. One of those important preferences is font size. I can see fine but the next guy may have difficulty with the font size I choose. That’s why this MooTools-driven font-size slider has been developed. It saves the user’s preference into a cookie.
On slider change, we:
- update the font size label
- write a cookie to save the font size value
- change the document’s font size
- slide in the update text and slide it out two seconds later