restrict window resize code example
Example: javascript disable resize window
var size = [window.width,window.height]; //public variable
$(window).resize(function(){
window.resizeTo(size[0],size[1]);
});
var size = [window.width,window.height]; //public variable
$(window).resize(function(){
window.resizeTo(size[0],size[1]);
});