From: Lourdes Guerra <lguerra@ayco.net>
Subject: VRML: I want to open a new browser window (but I can't)
Date: Tue, 25 Nov 1997 21:03:02 +0100



Hi everybody,
    I'm sure that the question I'm going to ask will have a very simple
answer, but I really feel inside a hole.

    I have the following problem:

    I'm building a virtual world and I would want to open a new
browser each time someone knocks on the door. I want to have two
browers because in one of them will be loaded the whole world and in
the other one only the inside of a room. And I also want to close the
last browser if the user wants to leave the room.

    My first solution, for the first part of the problem, was to use a
anchor. I wrote an unexisting url in the parameter field. So the
browser would have to bring out a new window. If I used Netscape with
WorldView or CosmoPlayer it worked, but not with Microsoft Explorer.

        So I tried with another thing: a script: "javascript:function
isActive() {
msg =
open('uno.wrl','main','toolbar=no,menubar=no,directories=no,HEIGHT=500,WIDTH=800,status=yes');

}"

This script works with HTML but not in VRML. It doesn't recognize
'open' or 'window.open' or 'document.open', etc. Perhaps the problem
could be that I don4t know how to route the event out correctly.

    I also tried with loadUrl but I didn't manage anything.

So, my question is:

    How can I open a new window containing a new world through an
event?

Thanks in advance,

            Lourdes

Lourdes Guerra Fornos
http://www.ayco.net
Tlfno: (986) 447247

