访问浏览器的页面缩放使用JavaScript控件 [英] Access browser's page zoom controls with javascript

查看:162
本文介绍了访问浏览器的页面缩放使用JavaScript控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要分配在浏览器(IE / FF)的网页缩放控件(菜单:查看/放大/缩小In_Zoom输出)两个大的(+)( - )在网页上的图标使视力障碍的游客可以方便地使用这些控件

I want to assign the browser's (IE/FF) page zoom controls (Menu: View/Zoom/Zoom In_Zoom Out) to two large "(+)(-)" icons on the web page so that vision impaired visitors can use these controls conveniently.

很多寻找合适的剧本来到了空的,所以我在这里。

A lot of searching for a suitable script came up empty so here I am.

您知道,只会做任何code?

Any code you know that will do this simply?

所有最好的...

鲍勃

推荐答案

您应该能够设置CSS3 变换使用JavaScript Scale属性的内容。这将不会被捆绑到虽然网络浏览器的缩放功能。

You should be able to set the CSS3 Transform property using JavaScript to scale content. This won't be tied to the web browser zoom functionality though.

这篇关于访问浏览器的页面缩放使用JavaScript控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆