CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript frameworks (http://www.codingforums.com/forumdisplay.php?f=62)
-   -   [jQuery] Is there anyway to tell if a user has enlarged thier text? (http://www.codingforums.com/showthread.php?t=154183)

harbingerOTV 12-13-2008 01:36 AM

[jQuery] Is there anyway to tell if a user has enlarged thier text?
 
Basically that's it. I can use a font resize function and then refire my other script accordingly but, is there a way to know if a user has used ctrl+ or crtl-scroll to resize and then refire the script?

Leeoniya 12-13-2008 04:37 AM

other than intercepting/monitoring keystrokes, not that i'm aware of. and if you were to do that you'd need to make a switch/case for different browsers (using jquery's built in browser detection) to account for how each handles the zooming/font resize. all browsers do it differently.

i had plans to research something like this as well so that i can auto zoom a page for users with poor vision (by detecting browser encoding size). for now i just use a different css sheet for now with no auto/switch. havent had the time to dig too deeply. let me know if you find a way, i'd be interested myself.

Leon


All times are GMT +1. The time now is 04:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.