WebSite X5Help Center

 
Gregory S.
Gregory S.
User

Auto Zoom  en

Author: Gregory S.
Visited 730, Followers 1, Shared 0  

Is there a way to have WebsiteX5 Auto Zoom web pages based on their content as well as the display size being used? For example, I have two screens; one is a 12" and the other is a 27". If I drag the browser back and forth between them, I need to set the zoom level to 90% on the little screen or content scrolls off the right side of the screen. But I can go to 125% on the large screen to fill the screen edge to edge. 

I don't know if it is possible for this to be controlled through the website through analyzing the style and layout of web pages on any given screen as they load and automatically sets the zoom or not. Or is this purely the domain of the browser being used?

Posted on the
2 ANSWERS
Axel  
Axel  
User
Best User of the month FR

Hello gregory,

A little simple Javascript code ans you can have a zom on all pages like here

Put this script into teh Statistics & Code icon (Step 1 seciton Code)

<script type="text/javascript">
function zoom() {
document.body.style.zoom = "150%"
}
</script>

<body onload="zoom()">

Enjoy!
Axel

Read more
Posted on the from Axel  
Pavel M.
Pavel M.
User

You probably have different display resolutions. In general, in the program this is achieved by adaptability, you just need to specify the boundaries in the template settings. It is possible with code, of course, but any additional code is a crutch.

Read more
Posted on the from Pavel M.