English 中文(简体)
阻止浏览器调整大小(锁定)
原标题:Prevent browser resize (lock)

我正在编写一个使用巨大背景画布的网站。我正在尝试锁定浏览器大小调整处理程序,以避免滚动问题(背景越界等)

这是我第一次做一个完整的后台网站。任何关于优化(png大小580.72 KB 1920px 6556px)、如何修复背景和元素等的建议都将不胜感激。

提前感谢!

测试地点

问题回答

你长得像吗

window.open(URL,name,resizable=no)

http://www.w3schools.com/jsref/met_win_open.asp

使用js或jquery禁用窗口大小调整。

加载时,你也可以试试这个





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签