function myFunction(){
window.open("http://example.com", "myWindow", "height=150,
width=150");
}
Do I really need to add "myWindow" just to load the new window in a size of
150X150? Whenever I remove the "myWindow" code, the sample site is loaded in full-screen. And yes I've tried adding "" and it worked. Why is it even necessary? I've also tried the code above but doesn't work as well:
function myFunction(){
window.open("http://example.com");
window.resizeTo(150, 150)
}
"myWindow"with""?