Query Component

Post Reply
User avatar
Posts: 12975
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK

This component allows you to add a query at the end of a URL to set a variable value on output open.

Pano2VR uses variables to do many things, please see this page: LINK
As an example you may want a virtual tour to display a company logo, but depending on where the tour is hosted display different logo.

Download the component for your build, Pano2VR 6 or 7.

(22.85 KiB) Downloaded 1867 times
(22.76 KiB) Downloaded 1920 times

Double-click the component, and Pano2VR will open and ask which category or create a new category to add the component to Pano2VR's component tool box.

How it works:
Add variables to a skin, the attached example is using var1, var2 and var3
Var1 is a numbered variable, var2 is a text variable and var3 is a boolean, true/false variable.
You can add many variables to the URL stringing them together using the "&".

1.png (100.67 KiB) Viewed 131573 times

In the example, var2 is a text variable, but entering "red", "green" or "blue" will also change the background colour of the text boxes as well as changing the text colour to white.

2.png (85.65 KiB) Viewed 131573 times

You can also just use one or two of the variables in the query, for example, var1 and var3.
This would look like


Download the working project
(36.07 KiB) Downloaded 1941 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
Post Reply