Copy to Clipboard component

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

Tue Feb 18, 2020 8:46 pm

Hi,
Please find attached two Copy to Clipboard components, one for the Silhouette skin and one for the Simplex skin.
Download the components then double click to add the component to Pano2VR, you can add to the User Defined category or create a new category.

For the buttons to work you need to select Direct Node Access found under the HTML5 output and HTML tab.

DNA1.gif
DNA1.gif (560.68 KiB) Viewed 3484 times

For more information about Direct Node Access please see: https://ggnome.com/doc/pano2vr/6/dna/

Open your skin and open the Components Toolbox.
Select the component from the category you saved it to and add it to the skin.

When viewing the output the button will copy the current node and FoV (zoom) to the clipboard.
Paste the link into an e-mail or Social Media post to share the view you want others to see.

The component works by using a GoTo URL action:

2.png
2.png (34.25 KiB) Viewed 3484 times

The URL text field contains the JavaScript that makes this work.
Select the pen button to show the URL text box to view the code:

3.png
3.png (48.72 KiB) Viewed 3484 times

When the copy button is clicked the viewer will see instructions on how to paste the URL.

4.png
4.png (21.33 KiB) Viewed 3484 times

If you wish to change the language you can edit the text that is highlighted blue in the code.

Regards,
The Gnomes
Attachments
simplex_copy_view_to_clipboard.ggskc
(17.73 KiB) Downloaded 71 times
silhouette_copy_view_to_clipboard.ggskc
(7.26 KiB) Downloaded 75 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/
User avatar
panox
Posts: 245
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

Fri Jul 03, 2020 10:26 pm

Thank you, why does it not work? Checkmark is set. Should show the nadir.

https://pano.szenerien.de/XPhase_Pro_S/ ... 6,-90,70,4

Best regards

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

Sat Jul 04, 2020 10:30 pm

Hi Harold,
I'm not seeing a copy button?
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/
User avatar
panox
Posts: 245
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

Mon Jul 06, 2020 12:00 pm

Sorry, Hopki, I changed the skin.

Here is a new example:

https://pano.szenerien.de/Pano2VR-Direc ... index.html

The coordinates are shown in the pasted URL, but the panorama is not aligning to them.

What does it mean "edit"? I only paste the copied URL into the URL-address bar.
snap896.jpg
snap896.jpg (34.35 KiB) Viewed 25 times
Post Reply