OpenURL in an other window

Hi everybody !
I would like to know how can I open an URL in an other window (like html “target=‘blank’”)

Thanks for your attention

Gul

JavaScript:

winRef = window.open( URL, name [ , features [, replace ] ] )

It’s target=“_blank” just FYI. target=“blank” will work once, and the second time will open the second URL in the first window. target specifies the frame in which to open the url, blank just becomes a frame named “blank”.

hi !
Thanks for the reply !

I try your script,but,it’s the same…

my project is a “web project” and when I click on a link (with : Application.OpenURL) the page replace my “web project”'s page…

How can I do for adding a new window ?

Gul

Yeah, the documentation for that function warns it will blow you away in a web player.

I’m trying to do the same thing, and I think the better choice is

As in, run a line of JS that does a window.open.

I’ll post again if I get this working in both a standalone and a web player.

Ooh, good thread

http://forum.unity3d.com/viewtopic.php?t=6715&highlight=externaleval

Yeah !!!
I’m gonna try it now !
I did a little “parallel way” to make this,it was not the great solution, I simply open the “unity wev project” in an other window of my site…
Like a loop:

do(window.refresh, unityWebProject)
while
 clicking.inALink

Thanks for the reply

Gul

The search feature is your friend as this exact topic was discussed just over a week ago. :smile:

Application.OpenURL with a new window