auto zoom all pages

asked 2023-02-13 11:41:24 +0800

nome gravatar image nome
107 3

Hi guys, I want to zoom all page to 80% included popup model / window / components etc. I don't want to change zoom on web browser. How can I do it? Please help. Thx

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2023-02-14 15:21:53 +0800

hawk gravatar image hawk
3205 1 5
http://hawkphoenix.blogsp... ZK Team

There are 2 ways:


        zoom: 80%

zoom a window to 80%


<button label="zoom the page to 80%" onClick="zoom(80)"/>
public void zoom(int percentage) {
    Clients.evalJavaScript("document.body.style.zoom='" + percentage+  "%'");
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2023-02-13 11:41:24 +0800

Seen: 7 times

Last updated: Feb 14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More