Skip to content Skip to sidebar Skip to footer

Limit The Browser Windows Height Can Not Less Than 200 Px Using Jquery?

I would like the user can not drag the surrounding line of browser and resize the browser when the window size is less than 200 px; //if ($(window).height > 200){ $(window).resi

Solution 1:

There's no way to control whether the user can resize or move the browser window from Javascript.

..imagine the problems you'd have with popups and spam ads if you could (!)

Solution 2:

If the browser lets you do window.resizeTo(w,h), than you can set it. BUT modern day browsers normally disable that method by default.

Solution 3:

It's seems that medium is doing it: https://medium.com

Post a Comment for "Limit The Browser Windows Height Can Not Less Than 200 Px Using Jquery?"