Regarding parameter display in direct node access.

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
yumoken
Posts: 19
Joined: Sun Jun 14, 2020 6:03 pm

Hello.
I have enabled direct node access and generated a URL with node ID/pan/tilt/FOV parameters appended to the source link.
When clicking on the URL with those parameters, the project viewing starts at the specified coordinates, as expected.
However, the parameters remain in the URL bar (they are displayed as is).
I would like to hide this. Is there any way to do so?

What I tried was placing a temporary rectangle element in the skin editor and setting the action to:

Source: ImagesReady
Action: Go to URL
URL: ./#
Target: _self

This worked in Pano2VR6, but it stopped working in Pano2VR7.
Any good solutions would be appreciated.
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
The attached skin has three versions of javascript that change the URL.
The three need the source action to be node changed.

One replaces the node with the current node ID.
The other with the user data title and lastly the custom node ID.

Hope this helps
Regards,
Attachments
NodeChanged.ggsk
(2.35 KiB) Downloaded 72 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/
yumoken
Posts: 19
Joined: Sun Jun 14, 2020 6:03 pm

Mr. Hopki.
Thanks a lot!  I'll give it a try!
yumoken
Posts: 19
Joined: Sun Jun 14, 2020 6:03 pm

Mr.Hopki

I tried it.
It generally behaved well. Thank you very much.
But to be honest, I would like to not have any node titles or even a single letter of '#'.
I hope there is something to help...

PS:
I was able to solve the problem by removing some of the javascript in the sample you provided!
Thanks!
Post Reply