Probably a very simple question but ...

Special forum to share and discuss skins for Pano2VR and Object2VR
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

This is probably a very simple question, but after looking for days in all information available, I still have not found it. So can someone please be so kind to help me.

I have images for pop-ups placed in the output/assets/ folder.

The skin sees it, when in External Image > Properties > External Image> External URL: assets/17.jpg is written. But of course I want this to link automatically to the filename specified in the Polygon Hotspot Propereties. I need the Title en Description for the pop-up text, so I use the Target field as a place holder for the file name. But how do I call that in the skin?

Please help!!!
Schermopname (80).png
Schermopname (80).png (226.74 KiB) Viewed 5059 times
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
In the container that links to the polygon, you need the action, mouse click, set value, $(ht), external loader.
Have a look at this webinar at time index 16:55
https://ggnome.com/gg_webinars/doing-mo ... -hotspots/
Regards,
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/
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

Hi Martin,

I managed to get the photo pop up.

But now I am stuck with the text. The problem is probably that I still don't understand the logic of all the actions. I was just hoping that the skin editor was more like Lego building blocks for young children. So my apologies for all my questions.

How do I get a text box with the content of $(hs) and $(hd) to open simultaneously with the image pop-up? And it should close directly with one close button/action.

I am trying now, but I am just doing trial and error because I just don't understand the logic in the tree.

See the skin attached. First I tried just a plain text box in the Pop-up_image container. That did not work. Than I tried the Information Popup from the Toolbox, but that does not work either.

skin 06003 is only the pop-up image. This works fine.

skin 06005 is with an attempt to add text, but I get lost. Please can you help me once more?

This is skin 06005 in action: https://360-bedrijfspresentatie.nl/pres ... st-pop-up/

This is the tour without pop-ups: https://360-bedrijfspresentatie.nl/pres ... idson/v01/

Thanks for your help,

Erik
Attachments
skin 06005 nu tekst toevoegen.ggsk
(6.27 KiB) Downloaded 139 times
skin 06003 polygoon hotspot opent nu goed het beeld.ggsk
(3.78 KiB) Downloaded 152 times
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I think I have just answered this in an earlier post.
Regards,
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/
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

Can you please be a bit more helpful? I just don't understand the system, so I need some more help to learn to understand it. I have been trying to find the solution myself for many hours before I posted my questions.

Finding information in this forum is really difficult if you don't use the exact words.
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I answered this very question in the forum, cant lay my hand on it now but thought it was you but starting a new post.

Working with the skin: skin 06005 nu tekst toevoegen.ggsk
Looking at your skin you were close.
The thing to remember is you can only see the data of a hotspot when your mouse is over it when just using placeholders, they create a link only when active.
So a title text box with the placeholder $(hs) will only display the hotspot title when the mouse is over it, as soon as you move the mouse away the title text will disappear.

So what you do is "Set" that text to your text boxes, this way it is written into the text box and it does not matter if you move the mouse off the hotspot.

Here are the actions of the container, pop-up-image with two new actions to set the text, this uses a Set Value action.
I also removed the place holders from the info_title and info_text_body elements as these are not used.

Screenshot 2020-04-19 at 12.04.03.png
Screenshot 2020-04-19 at 12.04.03.png (50.55 KiB) Viewed 4936 times

The two lower actions are the new ones.
I would also arrange it so the action to load the image is first, then body text, then title then change the variable.
To tidy up the project move the element, loading_image so it is behind the External Image Loader, popup_image as you only want to see this if the image is taking a while to load.
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/
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

Thank you Martin. This is very helpful, because now I start to understand the logic.

I am now going to try if I can make it work myself..... fingers crossed....
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

Hi Martin,

I am really sorry to bother you again, but I still can't get it. I know, I am almost there. But I still don't understand the structure well enough.

This is the result I get: https://www.360-bedrijfspresentatie.nl/ ... tie/test7/

Closing of the pop-up works fine too. I added a rectangle to have a frame for the pop-up. (The colors are now for testing purposes).

Still the text does not stay. Can you please check my skin?
skin 06007.ggsk
(4.21 KiB) Downloaded 151 times
Thanks again.

Erik
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Erik,
Although I did say remove them you left in the placeholders in the text boxes.
You also changed things around.
Please find attached a working example.
Regards,
Attachments
test.zip
(19.4 KiB) Downloaded 163 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/
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

Thank you so much Martin. I very much appreciate you helped me out, even on a Sunday.
When the project is finished, I will post it here.
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

So, here is the result:

https://360-bedrijfspresentatie.nl/pres ... idson/v01/

(On phones it only looks good full screen in landscape position, so that is something I am going to work on.)

And this is the skin
skin 10-01 eindresultaat 2020-04-21.ggsk
(148.39 KiB) Downloaded 165 times

There are still a few things that I could use some advice though....

Question 1

Each painting is a polygon hotspot.

Clicking on any painting, the tooltip remains visible until the mouse is moved. That does not look good. (specially not on touch devices).

How can this be corrected?


Question 2

And one very strange thing, can been seen in this video: https://youtu.be/0-VoM9BTh9c

In this special sequence, the pop-up does not show content.

This error only happens when you click on the painting, and then click besides the pop-up to close it, but you click still on the very same painting.
Then, if you have not moved the mouse, clicking again gives a pop-up without content.
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

EVerheggen wrote: Tue Apr 21, 2020 8:32 pm
Question 1

Each painting is a polygon hotspot.

Clicking on any painting, the tooltip remains visible until the mouse is moved. That does not look good. (specially not on touch devices).

How can this be corrected?
If you take a look at my tutorial "Polygon Hotspots & Information Popups" starting at step #9 it shows how to set up a Textbox Tooltip to avoid, what I call, "sticky tooltips".

https://tonyredhead.com/pano2vr/polygon-hotspots-proxy

cheers,

Tony
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/
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

Thank you very much Tony. This solved question 1!
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Erik,
With regards to Q2,
How are you closing the popup?
I have watched your video but can not reproduce?
Regards,
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/
User avatar
EVerheggen
Posts: 65
Joined: Wed Feb 05, 2020 12:16 pm
Location: Netherlands
Contact:

Reproduction of the Q2 issue (part 1/2)

Final version of the presenation: https://360-bedrijfspresentatie.nl/pres ... hdavidson/

Skin:
skin 12-04 tooltip weg na klik.ggsk
(152.9 KiB) Downloaded 162 times

The red dot in the screenshots are the position of the mouse.


Open https://360-bedrijfspresentatie.nl/pres ... hdavidson/ and click to enter.


Move the mouse to the painting on the right. Click close to the left edge of the painting. The pop-up will cover the position of the mouse. (Only in this case the problem occurs)
1
1
01.jpg (1.17 MiB) Viewed 4759 times

The pop-up shows (and the tooltip is gone, thanks to Tony's answer on question 1):
2
2
02.jpg (1.24 MiB) Viewed 4759 times

Move the mouse to the right and click outside the pop-up on the painting
The pop-up disappears. So that's good. The tooltip this not return. (unless you move the mouse)
3
3
03.jpg (1.14 MiB) Viewed 4759 times
Don't move the mouse and click again.
The pop-up background shows, but not the content.
4
4
04.jpg (541.88 KiB) Viewed 4759 times



>>>>> read next post (because of 5 files attachment limit) >>>>>>
Post Reply