How can I detect the page zoom level in all modern browsers? While this thread tells how to do it in IE7 and IE8, I can\'t find a good cross-browser solution.
>
What i came up with is :
1) Make a 2) when the page loads : And it worked for me for or i can add the line to a Code: P.S. : this is my first post, pardon any mistakesposition:fixed width:100% (id=zoomdiv)
zoomlevel=$("#zoomdiv").width()*1.0 / screen.availWidth
ctrl+ and ctrl- zooms.$(window).onresize() event to get the active zoom level