otuatail Posted March 29, 2014 Share Posted March 29, 2014 Hi I am not wet behind the ears with web design so constructive ideas only please. target=blank is ok for most people. Using internet explorer 11, If I use it creates a new tab in the browser but some like the BBC < a UK company> open up an internet on line listening service for anyone in the world, PROBLEM. This does not open up as an extra tab in IE it opens up a totally separate windows/browser window. Can I do this even if it is a pop up help. Preferably taking data session variables etc with it Hope this makes sense. Nice replies appreciated. Desmond Quote Link to comment https://forums.phpfreaks.com/topic/287385-opem-up-a-new-browser/ Share on other sites More sharing options...
possien Posted March 29, 2014 Share Posted March 29, 2014 (edited) I found without providing height and width it opens a new tab but this opens a new window: <script type="text/javascript" > function myfunction(){ window.open("http://example.com","mywindow","menubar=1,resizable=1,width=650,height=550"); } </script> You can add or delete parameters to hide status bars, menus, etc. You can add a button or text like this to open the new window: <a onclick="myfunction()">New Site</a> Edited March 29, 2014 by possien Quote Link to comment https://forums.phpfreaks.com/topic/287385-opem-up-a-new-browser/#findComment-1474400 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.