I have seen many examples of using javascript to resize the browser window, but for me they all do not perform this function in IE. I turn on my code to see that something is wrong with it, that I just don’t see. The code works fine in FF, but not used in my location.
I am not an expert in javaScript, but I am not slouched either. If I were new to javaScript, I would hate it. I'm sure this has something to do with IE, but I can't explain it.
Any help would be great.
CODE:
//window.sizeToContent();
window.resizeTo(700, 700);
I read in the docs that sizeToContent will not work in IE, but should resize. This is an incredibly simple statement.
source
share