Disable or Prevent zooming(Ctrl+ or Ctrl-) in cross-browser

Disable or Prevent Browser zoom on , Ctrl+ or Ctrl-, and Ctrl + Mouse scroll.

In my one of application I need to prevent the user, to zoom in and out over all cross browser. For  a specific application I would like to disable or prevent the browser zooming feature. For this i have to stop all below way of zooming the browser window.

  1. Disable keyboard CTRL+ or CTRL- on browser window.
  2. Disable keyboard CTRL and Mouse scroll key

 

You can disable zoom in cross browser by Ctrl+ or Ctrl- or Using Ctrl Key + Mouse wheel Up or down by this code.

 

JQUERY:

DEMO:


About Vijay Dhanvai

A passionate blogger by heart and mind, I have been working in this field for 7 years now. A WordPress Professional, web developer and designer who intends to guide his readers about Web Design, WordPress, Blogging, Web Development, and more.

Leave a Reply