使用jquery最大化文档上的窗口 [英] maximize window on document ready with jquery

查看:54
本文介绍了使用jquery最大化文档上的窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这听起来像是一个愚蠢的家伙,但是我找不到任何相关的东西:如何使用jquery最大化document ready上的窗口?或任何其他适用于所有浏览器的通用解决方案...

That might sound like a stupid one but I can't find anything relevant : how to maximize the window on document ready with jquery ? Or any other generic solution that will work fine on all browsers...

谢谢大家;)

推荐答案

window.moveTo(0, 0);
window.resizeTo(screen.availWidth, screen.availHeight);

这篇关于使用jquery最大化文档上的窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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