positioning tooltips  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
jschrader
Member
 
Topic author
Posts: 282
Likes: 7 posts
Liked in: 3 posts
Joined: Mon Apr 22, 2013 3:51 pm
Info

positioning tooltips

by jschrader » Thu May 26, 2016 4:48 pm

I need to place the tooltips somewhere aligned in the hotspot.
searching the forum i found this:

showTooltip(1, 2, 3, 4, 5, 6);

Where :
1 is the kind of tooltip (not used, only compatibility part)
2 is the style used for the tooltip as "panotourTooltipDefaultText"
3 is the align value as "center"
4 is the max-width as 200
5 is the xoffset as 50
6 is the yoffset as 50

but for unknown reasons i can't get it to work.
as soon as i enter any value for x/y like

showTooltip(std,,,,,,50);

the tooltip is aligned to the top right corner of the hotspot. this also happens when leave the spaces completely empty.
showTooltip(std,,,,,,50);

so please, how is this supposed to work?
and why is it not possible to edit and keep these values in the gui?

Who is online

Users browsing this forum: No registered users and 7 guests