Hello and welcome to our community! Is this your first visit?
Register
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
    Location
    Memphis, TN
    Posts
    1,801
    Thanks
    8
    Thanked 131 Times in 129 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
    Regular Coder
    Join Date
    Apr 2006
    Location
    Northbrook, IL
    Posts
    394
    Thanks
    8
    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.

    Leon


  •  

    Posting Permissions

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