使用没有CSS的javascript缩放浏览器IE

时间:2018-10-15 06:01:21

标签: javascript internet-explorer browser zoom

先生,

可以帮我在不使用CSS的情况下使用javascript缩放IE浏览器吗? 因为使用CSS会导致我的菜单放错位置

谢谢您的提前帮助

感谢与问候
拉吉什MK

1 个答案:

答案 0 :(得分:0)

尝试参考下面的示例。

<html>
<head>
<script>
        function zoom() {
            document.body.style.zoom = "300%" 
        }
</script>
</head>
<body onload="zoom()">
<p>Video provides a powerful way to help you prove your point. When you click Online Video, you can paste in the embed code for the video you want to add. You can also type a keyword to search online for the video that best fits your document.</p>
</body>
</html>

如果弹出允许被阻止的内容,请在Internet Explorer中允许它。

enter image description here

相关问题