Jump to content

Opem up a new browser


otuatail

Recommended Posts

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

Link to comment
Share on other sites

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 by possien
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.