Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Jan 2005
    Memphis, TN
    Thanked 148 Times in 146 Posts

    [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?
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis

  2. #2
    Regular Coder
    Join Date
    Apr 2006
    Northbrook, IL
    Thanked 6 Times in 6 Posts
    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.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts