Following a Facebook request please find this how-to to adapt a web component to be used with a Polygon Hotspot type URL.
The modification also allows the component to still work as normal with Point Hotspot with type URL.
First, download the component and install it into User-Defined Category: viewtopic.php?f=22&t=14503
Note, this is not the one that comes with Pano2VR.
Once added to the components toolbox open your skin, then in the toolbox select User Defined Category.
Then double click the component to add it to your skin.
Here the Silhouette version is being selected.
In the skins tree, select the Hotspot Template ht_url.
Then select its actions and copy them with a right button mouse click
Select the text box "web_page".
Now paste the actions into the text box:
The actions need to be modified as they use the placeholder $(hu).
These need to be changed to $(hd).
Select the top action and open.
Now change $(hu) to $(hd)
Now select the bottom action and do the same
In the Text Box Advanced section add "PolyWeb" in the Hotspot Proxy ID.
To use, add a Polygon Hotspot, change its ID to PolyWeb, add a title if needed, then add the URL in the Description Text field.
Then in the target text field add "iframe".
If you want a different Poly to open a new window leave the target blank or set _blank.
If you want it to replace the tour use _self.
This will also still work with Point Hotspots but you do not need to change the Hotspot ID.
Iframe, _blank and _self all work with Point Hotspots as well.
The skin used in the screen shots which is a working example is also attched.
Special forum to share and discuss skins for Pano2VR and Object2VR
1 post • Page 1 of 1
- Posts: 11702
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK