开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜