Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

zoom on webpage

Tags:

jquery

zooming

i would like to create a zoom effect for my site for visually impaired people.

i currently have the font that adjust based on a user preferences:

i use this script:

http://dev-tips.com/demo/jquery_font_size_change.html

that works great, but the images remains the same size and if the text is too big it mess up the visual aspect of my site.

ideally, a loop will pop and then the user can move over the site and see a zoomed version of it.

is it possible to create a zoom effect using jquery?

like image 816
mario bros Avatar asked Dec 30 '11 03:12

mario bros


People also ask

Can you zoom in web browser?

By default, Chrome sets the zoom level to 100%. To manually adjust the settings, use the Ctrl key and “+” or “-” combos to increase or decrease the page magnification. If you are using a mouse, you can hold down the keyboard Ctrl key and use the mouse wheel to zoom in or out.


1 Answers

I think the best answer is that every browser currently made supports zoom natively. They will also do a much cleaner job of it than you ever could using javascript. That being said, I think the only way to accomplish this easily would be to code your site using all CSS % and em values. Then use javascript to increase the width of your main container, thus causing all cascading elements to increase in size. You will also need to edit your default font size and all fonts based on it will increase in size.

like image 143
mrtsherman Avatar answered Sep 20 '22 05:09

mrtsherman