Hello,
I would like to add an internet link to an info box in the skin so that when clicked, this link opens in a new browser window. Unfortunately, I have no idea at the moment how to do this...
I would also like to use a placeholder for the user data, e.g. $(ua), for this link in order to be able to configure a corresponding link for each panorama.
In simple terms, you would really only have to achieve, e.g. with the Siplex skin, that the display of the placeholder $(ua) in the user data info box is not only displayed, but interpreted as a URL...
What is the easiest way to do this?
regards
Dirk
Link to a Internet URL from Skin Infobox
Hi Dirk,
I've attached a small project that uses the name of one of my web pages in the Author text field of the User Data panel.
In the info popup I have the following code,
I use the entry to finalise the URL as well as the visual text for the link.
I've also added some CSS code to the Embedded Stylesheet in Properties > Skin Settings that adds colors to the URL.
Cheers,
Tony
I've attached a small project that uses the name of one of my web pages in the Author text field of the User Data panel.
In the info popup I have the following code,
Code: Select all
<a href="https://tonyredhead.com/pano2vr/$(ua)" target=blank"><b>Visit the $(ua) page on my website</b></a>
I've also added some CSS code to the Embedded Stylesheet in Properties > Skin Settings that adds colors to the URL.
Cheers,
Tony
- Attachments
-
- Link with Variable.zip
- (46.24 KiB) Downloaded 99 times
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/