Sie sind nicht angemeldet.

1

Donnerstag, 7. Juni 2018, 07:23

Reposition Hotspots

Hello,
what is actually the best way to reposition hotspots if I don´t want to use the vtour droplet (and so not to use krpan tools editor). Some years ago in flash player we had the editor/options plugin to set position. What is the best way nowadays?

Thanks,
Marc

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

2

Donnerstag, 7. Juni 2018, 09:46

Hi,

of course you need to go in the code then.
A typical hotspot code line could look like this:

<hotspot name="spot1" url="mypic.png" ath="20" atv="30" onclick="openurl(http://www.krpano.com,_blank" />

or so.

The ath is the horizontal coordinate and the atv is the vertical coordinate.

Sometime ago i made this tool box.
https://krpano.com/forum/wbb/index.php?p…74910#post74910

when you include that in your project and press t on the keyboard, it will show the toolbox.
Then select numbers.
Now put your mouse at the desired hotspot position and take the mouse ATH and mouse ATV numbers and put them in your hotspot code.
(you can print them also to the log by pressing the p on your keyboard. Often the decimals are not needed, but that really depends of course)

Done!

Of course there are more editors and ways to 'Rome', but i found this the most simple solution.

Hope it helps,
Tuur *thumbsup*

Beiträge: 116

Wohnort: Berlin

Beruf: Panoramafotograf

  • Nachricht senden

3

Mittwoch, 7. November 2018, 10:55

Thanks for that!

Very very handy! Just what i need. - Shouldnt it be listed in the krpano plugins?
Jan Totzek | Panoramafotografie | Berlin
www.panographer.de