You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, February 10th 2018, 7:28am

how to check visited hotspots

i hope all members are good and working cool..
here i have question , how to check mark to visited hotspot and also that hotspot stored into chache
please see below link
http://inside.jumeirah.com/en/hotels-res…centre-of-lobby


dear klaus.krpano , please focus on my question,, because i am beginners.
thanks

2

Saturday, February 10th 2018, 11:59am

Any one want to reply

klaus.krpano

3

Saturday, February 10th 2018, 7:31pm

this can be done easily,
first an onclick action on your hotspots to save the click status
plus of course some visible feedback like the check mark in the example
but this is not a built in feature ofc
and must be coded by yourself...

super rough starter example (replace hotspot image if clicked)
<hotspot name="test" url="hotspot1.jpg" onclick="set(url,"hotspot2.jpg");" />

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

4

Sunday, February 11th 2018, 4:19pm

Hi)

Take a look at this thread, maybe it'll be of some help. https://krpano.com/forum/wbb/index.php?p…&threadID=14672

I tried to use an array there to 'remember' which arrows were clicked so that when the hotspot is loaded again it could be already marked as visite one.
Regards,

Alexey

5

Tuesday, February 13th 2018, 8:55am

thanks for your reply

i checked it but when we close browser and revisit that spot its again unchecked

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

6

Tuesday, February 13th 2018, 9:00am

Of course, yes, because you reload the whole page))
Regards,

Alexey

7

Tuesday, February 13th 2018, 10:11am

but this is not happen with this link


Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

8

Tuesday, February 13th 2018, 10:23am

Sure, but this is not Krpano either, as far as I can see. You need to store the data about visited spots somewhere (on the server, maybe). What about PHP?
Regards,

Alexey

spacerywirtualne

Professional

Posts: 1,115

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

9

Tuesday, February 13th 2018, 12:29pm

Sure, but this is not Krpano either, as far as I can see. You need to store the data about visited spots somewhere (on the server, maybe). What about PHP?
This is easier to do with localStorage.


Kind regards
Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

10

Thursday, February 15th 2018, 12:10pm

nice idea

but what do you mean by local storage?

Tuur

Sage

Posts: 3,822

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

Similar threads