Disable Browser Window Resize
You can first determine a definite size. var size = [window.width,window.height]; //public variable Then do this: $(window).resize(function(){ window.resizeTo(size[0],size[1]); }); Demo: http://jsfiddle.net/DerekL/xeway917/ Q: Won’t this cause an infinite loop of resizing? – user1147171 Nice question. This will not cause an infinite loop of resizing. The W3C specification states that resize event must be dispatched only when … Read more