I don’t have any code but I was just wondering if it is possible in jQuery to increase/decrease an element’s font size based on a scroll up/down?
in the best case scenario I would like to increase the font size with a scroll only when the mouse is on that element, just need someone to point me in the right direction.
Some semi-pseudo code
Creating something similar to this would work, but you will probably run into the problem of your element not firing the scroll event when there is no scrollbar on that element.
This is all dependent on the browser of course, and unfortunately, the mousewheel events aren’t the best when it comes to cross-browser compatibility (as of the date of this post).
It works here though! (on chrome): http://jsfiddle.net/KqwY2/1/