Hi,
No one has said anything as yet but anyone notice that V6 has new place holders?
Example, in V5 $hu for a hotspot URL.
In V6 its $(hu).
This lets you do some cool things, example use a variable to change a URL in a goto URL action.
The attached project does just this.
You can find the complete list of placeholders on our website:
V6 Doc, Reference => List of Placeholders.
The attached project has two buttons that open web pages, one in a new window and the other in the player.
There are three websites to choose from in the project.
The text boxes when clicked change the variable so the same button can open the different website.
The Variable looks like this:
Name: url
Type: text
Init Value: http://hopkimedia.co.uk
The text box actions to change the URL looks like this:
Source: Mouse Click
Action: Set Variable Value
Variable Name: url
Operation: Set(=)
Value: https://en.wikipedia.org/wiki/Panorama
The open website button has the action:
Source: Mouse Click
Action: Go To URL
URL: $(*url)
Target: $(ht)
You can also use the url variable in other logic blocks, example for a change colour:
Trigger: *url
Comparison: =
Value: https://en.wikipedia.org/wiki/Panorama
Text Color (colour)
The attached project uses all of the above so have a good look and have fun.
Regards,
Hopki
V6 New placeholders
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
- Attachments
-
- new_placeholders.zip
- (17.38 KiB) Downloaded 242 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Yes just add the below iframe in to a text box.
You can have a button that has the action to show the text box and set the text, which will be the iframe.
<iframe src=“http://www.website.com” width=“100%" height=“100%" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" frameborder= "0" ></iframe>
When you hide the text box you also have to unload the iframe by setting having a set text action which with setting nothing, so blanking out the text.
Regards,
Hopki
Yes just add the below iframe in to a text box.
You can have a button that has the action to show the text box and set the text, which will be the iframe.
<iframe src=“http://www.website.com” width=“100%" height=“100%" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" frameborder= "0" ></iframe>
When you hide the text box you also have to unload the iframe by setting having a set text action which with setting nothing, so blanking out the text.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
- Isaac Brown
- Posts: 77
- Joined: Tue Jun 13, 2017 12:55 pm
- Location: Australia
Thanks Hopki, I was looking for the new placeholder list!
I am learning that using variables and placeholders is an immensely powerful coupling.
I look forward to digging a bit deeper here.
I am learning that using variables and placeholders is an immensely powerful coupling.
I look forward to digging a bit deeper here.
Isaac / IBCreative
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Website => Doumentsation => Refrence => List of Placeholders = https://ggnome.com/doc/pano2vr/beta/placeholders-list/
Regards,
Hopki
Website => Doumentsation => Refrence => List of Placeholders = https://ggnome.com/doc/pano2vr/beta/placeholders-list/
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/