Probably a very simple question but ...

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

Fri Apr 17, 2020 9:32 pm

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 568 times
User avatar
Hopki
Gnome
Posts: 10165
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Fri Apr 17, 2020 10:04 pm

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,
Hopki
Garden Gnome Software 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/
EVerheggen
Posts: 30
Joined: Wed Feb 05, 2020 12:16 pm
Location: Amsterdam
Contact:

Fri Apr 17, 2020 11:29 pm

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 7 times
skin 06003 polygoon hotspot opent nu goed het beeld.ggsk
(3.78 KiB) Downloaded 6 times
User avatar
Hopki
Gnome
Posts: 10165
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sat Apr 18, 2020 10:57 pm

Hi,
I think I have just answered this in an earlier post.
Regards,
Hopki
Garden Gnome Software 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/
EVerheggen
Posts: 30
Joined: Wed Feb 05, 2020 12:16 pm
Location: Amsterdam
Contact:

Sun Apr 19, 2020 8:29 am

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: 10165
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sun Apr 19, 2020 1:12 pm

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 445 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.
Hopki
Garden Gnome Software 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/
EVerheggen
Posts: 30
Joined: Wed Feb 05, 2020 12:16 pm
Location: Amsterdam
Contact:

Sun Apr 19, 2020 1:27 pm

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....
EVerheggen
Posts: 30
Joined: Wed Feb 05, 2020 12:16 pm
Location: Amsterdam
Contact:

Sun Apr 19, 2020 2:36 pm

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 8 times
Thanks again.

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

Sun Apr 19, 2020 5:04 pm

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 12 times
Hopki
Garden Gnome Software 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/
EVerheggen
Posts: 30
Joined: Wed Feb 05, 2020 12:16 pm
Location: Amsterdam
Contact:

Sun Apr 19, 2020 7:15 pm

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.
EVerheggen
Posts: 30
Joined: Wed Feb 05, 2020 12:16 pm
Location: Amsterdam
Contact:

Tue Apr 21, 2020 8:32 pm

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 12 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: 904
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Thu Apr 23, 2020 6:27 am

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: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/
EVerheggen
Posts: 30
Joined: Wed Feb 05, 2020 12:16 pm
Location: Amsterdam
Contact:

Thu Apr 23, 2020 8:55 am

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

Thu Apr 23, 2020 9:24 pm

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

Fri Apr 24, 2020 10:48 am

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 9 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 268 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 268 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 268 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 268 times



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