Can I check with jQuery whether the User increased the font size and bind a function to this event, to recalculate some stuff when this happens?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately, no, you can’t do this directly.
The closest you can get I believe is attaching to the
resizeevent of an element you know this would have an effect on. You can do this by grabbing the resize plugin, then attaching the event to an element font-size changing would resize, like this:The resize plugin just makes the
.resize()handler available on pretty much any element.