window.resize is not working in chrome and opera ..how to make it work?
See Question&Answers more detail:oswindow.resize is not working in chrome and opera ..how to make it work?
See Question&Answers more detail:oswindow.resize()
...however...
window.resizeTo(width, height)
window.resizeBy(x, y)
window.open(...)
it is not resizable by default ...see 4.window.open()
resizable, you must open it with resizable featureExample of how to create external window with "resizable" feature:
myExternalWindow = window.open("http://myurl.domain", "myWindowName", "resizable");
myExternalWindow.resizeTo(500,500); //resize window to 500x500
myExternalWindow.resizeBy(-100,-100); //make it smaller relatively => to 400x400
PS: There are also browser extensions that allow window resizing... (Chrome)(Mozilla Firefox)
PS2: Chrome extension API - https://developer.chrome.com/extensions/windows