Simulate user keypress to zoom screen
Is there any way of simulating a keypress of Ctrl+'+' (to zoom in the page) without any user interference?
Is it possible to do it using Flash?
Thanks开发者_如何学Go
Not with pure javascript no - if JavaScript were allowed to access controls or functions outside the context of the document that would be a huge security risk. You'll need to simulate the effect with a CSS change of some sort.
You can check out CSS Zoom, which does pretty much what you described.
精彩评论