开发者

Prevent browser resize (lock)

开发者 https://www.devze.com 2023-03-08 19:35 出处:网络
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.)

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

精彩评论

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