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
Post a Comment