Author |
Message |
Patrick Flanagan
Unregistered guest
| Posted on Wednesday, October 29, 2003 - 11:43 am: | |
I am generating an IVR file for use on our Intranet, users cannot load applets, so I have to use Java viewers. The issue I am running into is making a pop up window fire off when clicking on a hot spot. Anyone ever do this? Can it be done? Any assistance would be most appreciated. |
Patrick Flanagan
Unregistered guest
| Posted on Wednesday, October 29, 2003 - 11:46 am: | |
The pop up window needs to be specific sizes. Anyway to control this from a hotspot? Thanks. |
John Strait
Moderator Username: Jstrait
Post Number: 22 Registered: 5-2001
| Posted on Wednesday, October 29, 2003 - 3:04 pm: | |
It is possible to open a web page in a new browser window from any of the viewers (IVR, PTViewer, QTVR) by putting a value in the Target field of the Hotspot properties dialog box. Target can be used in two ways. 1. If Target is the name of a frame (in a web page with multiple frames), the browser will load the web page specified by the URL field into the specified frame. 2. If Target is not the name of a frame, then the browswer will try to find a window with the name specified by Target. If it doesn't find the named window, it will create a new window with that name. So to open a web page in a popup window, just specify a name (e.g. "mywindow") in the Target field. The method described in this article does not provide for controlling the size of the new window. To do that, you'll need to use JavaScript. See the article Calling a JavaScript function from a hotspot for more information. The JavaScript method is available for PTViewer and QTVR panoramas. PTViewer is a Java viewer, so this method may meet your needs if you are willing to use PTViewer instead of IVR. (Message edited by admin on October 29, 2003) |
|