[SOLV]Javascript: window.open creating a new tab not window.
Posted: Mon Mar 19, 2007 5:30 pm
In the past I've used the window.open Javascript function to open a new window in Firefox but now it's only opening a new tab in Firefox. This is the line of code I'm using:
I have tried this line of code in IE and that reports errors on the page but doesn't explain why. Firefoxs' error console doesn't report any errors while using the button.
Can anybody see what is causing this?
Regards,
Code: Select all
<input type = 'submit' onClick = "window.open('www.google.com', 'height = 100, width = 200');">
Can anybody see what is causing this?
Regards,