I am trying write a Javascript function which runs on a button click event in SAP WEBI, which makes the browser zoom to 80%.
I am trying to use this code which works in case of a standard website (it does not use browser zoom but actually zooms in on the element which the button is in, however in the case of a webi it actually does nothing)
Script:
function fullscreen() {
document.body.style.zoom = "80%";
}
HTML:
<button id="1" onClick="fullscreen()">full screen view</button>
Any help on how I could make the browser zoom back to 80% scale in SAP WEBI?