Javascript – Changing the browser zoom level


I have need to create 2 buttons on my site that would change the browser zoom level (+) (-). I'm requesting browser zoom and not css zoom because of image size and layout issues.

Well, is this even possible? I've heard conflicting reports.

Best Solution

Possible in IE and chrome although it does not work in firefox:

   function toggleZoomScreen() { = "80%";

<img src="example.jpg" alt="example" onclick="toggleZoomScreen()">