home

Topics Topics Edit Profile Profile Help/Instructions Help Register Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  

Opening a new browser window from a h...

The Panorama Factory Forum » The Panorama Factory FAQ » Opening a new browser window from a hotspot « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Patrick Flanagan
Unregistered guest
Posted on Wednesday, October 29, 2003 - 11:43 am:   Edit PostDelete Post

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

Patrick Flanagan
Unregistered guest
Posted on Wednesday, October 29, 2003 - 11:46 am:   Edit PostDelete Post

The pop up window needs to be specific sizes. Anyway to control this from a hotspot? Thanks.
Top of pagePrevious messageNext messageBottom of page Link to this message

John Strait
Moderator
Username: Jstrait

Post Number: 22
Registered: 5-2001
Posted on Wednesday, October 29, 2003 - 3:04 pm:   Edit PostDelete Post

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)

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page