I wrote this code and works fine in Safari
browser....
but in Internet Explorer
it works in case of width...
but it's not working if only the height is resized from top end towards downward direction...
I noticed the window is sticked to taskbar when resized this way (see attached image) and this allows to resize the window under the limit ...
Any fix for this??...
help will be greatly appreciated...
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);
});