I would like to know how zoom property can be controlled through javascript,
like div.style.top , how to specify for zoom ?
I would like to know how zoom property can be controlled through javascript, like
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Firefox & Chrome (Webkit) equivalents to the IE-specific
zoomproperty are, respectively,-moz-transformand-webkit-transform.A sample code would be:
You’d have to be a bit more careful with Javascript (test for existence first), but here’s how you’d manipulate them: