Hi Team i have a requirement to hide a checkbox if browser is zoomed to certain number or number.
Please suggest how to achiveve this.
Hi Team i have a requirement to hide a checkbox if browser is zoomed to certain number or number.
Please suggest how to achiveve this.
you appear to have asked similar questions recently:
Table layout issue when i zoom it to 400 percent
Check box property also displaying when i zoom in table layout
How to check my browser zoom size?
Below is all documentation about Accessibility :
It does not make sense to have so many identical questions open.
If you believe our OOTB functionality is lacking or not behaving as documented, please can I suggest that you log a support incident in order that our support team help you with your specific product issue?
Please provide the incident INC ID here so that we can help track the response.
@MarijeSchillern Please check of those posts once .. they are related but not same at all. I asked questions related to issues in UI due to zooming. This current post is related to fetching browser zoom size. Hence completely different.
I was able to get the solution. I wrote it in html frament rule userworkform
<script>
window.addEventListener("resize",getsizes,false);
function getsizes()
{
let zoom=((window.outerWidth-10)/ window.innerWidth)*100;
if (zoom>120)
{
alert("width="+window.innerWidth)
var oSafeUrl = new SafeURL(" classname.activityname");
var request = pega.u.d.asyncRequest('GET',oSafeUrl);
}
}
</script>