How to implement Ctrl + or browser zoom into a button?

Discussion in 'JavaScript' started by gandalf117, Mar 7, 2011.

  1. #1
    Most people know that when you press Ctrl and + the browser zooms the whole page (Ctrl and - zoom out). Can you control this with javascript?

    Is it possible to do this action with javascript and put it in a button or a link? So users who don't know about this can still zoom in and zoom out the page by clicking that button.
     
    gandalf117, Mar 7, 2011 IP