0

I have been trying to find a way to get the web browsers current web page zoom depending on the screen resolution that is currently in use. What would be the best method to get the page zoom as a number and then adjust the page accordingly using the following code,

Code Example,

zoom: 1.5;
-moz-transform: scale(1.5);
-webkit-transform: scale(1.5);

I will be adjusting using JS Script. Any examples of the best method to do this would be helpfull.

Thank you!

1

1 Answer 1

1

If you're using jQuery, jQuery Zoomooz.js ( http://janne.aukia.com/zoomooz/ ) handles this for you.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.