开发者

Prevent browser resize (lock)

I'm coding a site that uses a huge background canvas. I'm triying to lock the browser resize handlers in order to avoid scrolling issues (background out of bounds, etc.)

It's the first time i'm doing a full background site. Any advice on optimization (png size 580.72 KB 1920px x 6556px), how to get the background and elements fixed, etc will be very appreciated.

开发者_如何学CThanks in advance!

Test site


are you looking something like

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

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

using js or jquery disable window resize.

on load also you may try this

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜