new tab when clic on polygone hotspot url

Q&A about the latest versions
Post Reply
RColin
Posts: 9
Joined: Wed Jun 19, 2019 5:31 pm

new tab when clic on polygone hotspot url

Post by RColin » Wed Jun 19, 2019 7:26 pm

Hi all!
I'm trying object2vr for a project.
I've download an exemple on this forum with a robot and an other object2vr popup with a hotspot.
I need the same thing but with a polygone hotspot instead of the point hotspot.
It works fine except I have a new tab open when I clic on the polygone hotspot and I can't solve this problem.
Here is the link to download the new project.

https://we.tl/t-DwRqnRARi1

I did'nt find anything on object2vr to solve it so, I've looked the differences between the files .html .xml .js and the originals.
I find some differences in the .xml and the skin.js but I dont really understand javascritp...

Image

If anyone have an idea?
Thank you!

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

Re: new tab when clic on polygone hotspot url

Post by Hopki » Thu Jun 20, 2019 1:00 pm

Hi,
In this case, use the Polys title text box, then in the container change the placeholder to $hs.
Anything in the URL field will cause a page to open or replace the page your seeing.
Regards,
Hopki

RColin
Posts: 9
Joined: Wed Jun 19, 2019 5:31 pm

Re: new tab when clic on polygone hotspot url

Post by RColin » Thu Jun 20, 2019 1:11 pm

Thank you for your answer but I'm sorry, I don't really understand what do you mean.

RColin
Posts: 9
Joined: Wed Jun 19, 2019 5:31 pm

Re: new tab when clic on polygone hotspot url

Post by RColin » Thu Jun 20, 2019 3:23 pm

OK!!! I have it!!
It's allmost good but now, I have a preview when the mouse is over the polygone.

RColin
Posts: 9
Joined: Wed Jun 19, 2019 5:31 pm

Re: new tab when clic on polygone hotspot url

Post by RColin » Thu Jun 20, 2019 3:26 pm

I disable the textes on advanced setting and it's good.
Thanks a lot!

RColin
Posts: 9
Joined: Wed Jun 19, 2019 5:31 pm

Re: new tab when clic on polygone hotspot url

Post by RColin » Thu Jun 20, 2019 6:09 pm

It's really perfect but it doesn't work on phone :(
Is there something I can do?

RColin
Posts: 9
Joined: Wed Jun 19, 2019 5:31 pm

Re: new tab when clic on polygone hotspot url

Post by RColin » Sun Jun 23, 2019 1:32 pm

Here is my full project.
Thank you for this amazing tool.

At RDC, R+1 and R+3, we have the basical version with the polygone zone on one frame and a jpg of the blueprint of the flat.
At R+2, this is the optionnal version with the polygone zone on every frames and a 360° view of the flat.

http://www.milithium3d.fr/nouveau_dossi ... f_pdf.html

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

Re: new tab when clic on polygone hotspot url

Post by Hopki » Mon Jun 24, 2019 1:58 pm

Hi,
When you say it does not work on the phone, can you describe what the problem is?
Also, consider using multi-resolution which would be much better for mobile devices.
Regards,
Hopki

RColin
Posts: 9
Joined: Wed Jun 19, 2019 5:31 pm

Re: new tab when clic on polygone hotspot url

Post by RColin » Mon Jun 24, 2019 4:16 pm

Hi Hopki, thank you for your answer.

I put my full project on my web server and when I clic on the Polygone, I can see the background but not the iframe popup loader
Image Image

RColin
Posts: 9
Joined: Wed Jun 19, 2019 5:31 pm

Re: new tab when clic on polygone hotspot url

Post by RColin » Mon Jun 24, 2019 4:17 pm

I try with the multi-resolution but, nothing change.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests