html - Window.open not working as expected -


i'm trying link open popup , not new window, tried following , few variations yet reason window opens in new tab.

<script>window.open('add_game.php', 'height=200,width=150')</script> 

add 2nd , 3rd parameters follows , should work.

<script>window.open('add_game.php','new', 'toolbars=0,width=400,height=320,left=200,top=200,scrollbars=1,resizable=1')</script> 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -