Hello,
after Upgrade to vers 7 there is a problem with using ID for several hotspot-areas.
What I want and was able to do with vers 6 is:
A picture on the wall is getting a hotspot area with the ID “PU”.
Clicking this area opens an iframe and this picture is being loaded from a gallery, zoomable and movable. (A project within the project)
The ID “PU” is controlled within the skin by a rectangle with following settings:
Mouse over: set variable: set(=) /$(hd): image_no
Within the description of the hotspot-area the node-no of the gallery-image is set.
So the “PU”-object was usable for several areas and the exact node was defined by description.
Mouse-click opens the iframe:
<iframe src="assets/gallery/index.html#node$(*image_no)" style="border:0px #ffffff none;" name="gallery" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="100%" width="100%" allowfullscreen></iframe>
My problem: in vers 7 it seems that I can´t use the ID “PU” for several hotspot-areas. It´s getting a warning exclamation mark.
When fixing it, it changes to “PU-1”, what means that it´s not finding the control for it anymore.
Leaving just "PU" (ignoring the warning) just finds the first image of the gallery with all hotspot-areas.
Is there a smarter way to do it in 7?
Thank you for help
Marcel
gallery iframe with node_no
- Hopki
- Gnome
- Posts: 13039
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
In V7 you would use a regular expression for the Hotspot Proxy ID.
In the attached project the Polygon Hotspot IDs are Image01 and Image02, because you want different Hotspot IDs.
So the Hotspot Proxy ID used in the container, poly_popup_control will be
The Hotspot Proxy ID is looking for any Polygon Hotspot ID that starts with "Image".
Also, the container has two actions, the first is a set value action setting the iframe to the text box with the ID gallery_viewer.
The src in the iframe is:
This displays the gallery index.html page with #node$(hd) placeholder, which reads the text in the Polygon Hotspots Description text box.
In this example it is simply, 1 and 2, depending if it should open node1 or node2 from the gallery project.
Regards,
In V7 you would use a regular expression for the Hotspot Proxy ID.
In the attached project the Polygon Hotspot IDs are Image01 and Image02, because you want different Hotspot IDs.
So the Hotspot Proxy ID used in the container, poly_popup_control will be
Code: Select all
#Image.*
Also, the container has two actions, the first is a set value action setting the iframe to the text box with the ID gallery_viewer.
The src in the iframe is:
Code: Select all
assets/gallery/index.html#node$(hd)
This displays the gallery index.html page with #node$(hd) placeholder, which reads the text in the Polygon Hotspots Description text box.
In this example it is simply, 1 and 2, depending if it should open node1 or node2 from the gallery project.
Regards,
- Attachments
-
- poly_image_popup.zip
- (286.13 KiB) Downloaded 29 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: 13039
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
You could of also used custom node IDs, but node IDs are just as good with this project.
Regards,
You could of also used custom node IDs, but node IDs are just as good with this project.
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/
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/