var MinimumWindowHeight = 600;
var MinimumWindowWidth = 1024;
var resizeTimeout;
$(window).resize(function () {
clearInterval(resizeTimeout);
resizeTimeout = setTimeout(function () {
try {
if ($(window).height() < MinimumWindowHeight || $(window).width() < MinimumWindowWidth)
window.resizeTo(MinimumWindowWidth, MinimumWindowHeight + 168);
} catch (e) { }
}, 50);
});
This works if both height and width are resized simultaneously from corner end of the browser…but it’s not working if only the height is resized from top end towards downward direction…Actually the window is sticked to taskbar when resized…help will be greatly appreciated