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
精彩评论