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

Monday, August 11th 2014, 7:49am

Tooltip Plugin

This is the discussion thread for the Tooltip plugin.

Original thread: link.
My Krpano plugins: Auto Thumbs - Tooltip - Abs

This post has been edited 1 times, last edit by "hernan124" (Aug 14th 2014, 7:31pm)


2

Thursday, June 11th 2015, 11:38pm

I published a little update to the plugin and its documentation:

- Fixed a bug that caused the plugin to appears double in size in retina iPads and similar devices (it was actually fixed a months ago but I'm just now updating it here).

- Fixed a couple of minor edge case bugs.

- Made a couple of small improvements to the docs.
My Krpano plugins: Auto Thumbs - Tooltip - Abs

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

3

Friday, June 12th 2015, 12:51am

I'd pick this up with one change..

If the tool tip would be off the screen to change the offset.

Like if a hotspot is up top and your tooltip would be above the hotspot make it be below instead so that it can be seen.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

4

Friday, June 12th 2015, 1:55am

Good call, thanks for the suggestion.

I thought of that at the moment but never got back to it, I realize it can be a deal–breaker if you have buttons at the top.

I'll see what I can do.
My Krpano plugins: Auto Thumbs - Tooltip - Abs

5

Saturday, July 18th 2015, 8:50pm

Tooltip Plugin with thumbnails

Hi,

I am trying to use the tooltip plugin to add tooltips to the navigation thumbnails. Ideally I would like to be able to via javascript, but I can't get any tooltips to work that way. I have only had success by setting tooltips in the xml files.

So for the thumbnails, I have tried modifying my vtourskin.xml so that where the thumbs are added, "skin_addthumbs", I add the following two lines to the for loop:

Source code

1
2
   set(layer[get(thumbname)].style, 'hotspot|tooltip'); 
          set(layer[get(thumbname)].tooltip, thumbname);



Any advice on how to get this to work would be greatly appreciated.

6

Saturday, July 18th 2015, 9:26pm

Hi!

Try changing the second line to:

Source code

1
set(layer[get(thumbname)].tooltip, get(thumbname));

or

Source code

1
copy(layer[get(thumbname)].tooltip, thumbname);


BTW, why do you add a "hotspot" style if they're thumbs?
My Krpano plugins: Auto Thumbs - Tooltip - Abs

7

Sunday, July 19th 2015, 3:27pm

I was just using my hotspot style because I didn't want to create a new style until after I got some semblance of tooltip popping up.

Oddly, neither of those worked for me (I had tried one of those before asking for help. Didn't think of the copy one). So it's nice to know I was on the right track. Not so nice it still doesn't work :( I have included tooltip.xml in my tour.xml and I am sure it works because of the hotspot tooltips. I have left the tooltips_thumbs="true" even though I have no idea what that does, as I cannot find any documentation on skin_settings. I also set height/width/crop of the thumbs, but figure that shouldn't interfere.

Is there something else I may have been missing?

8

Saturday, February 6th 2016, 11:53am

Runs plug with panoramas of Panotour Pro?

9

Tuesday, September 27th 2016, 7:39am

Is there a simple way to show the tooltips on a hotspot all the time?

I have looked at thesolution here but cannot get it to work with your tooltips plugin.

Thanks
mike
Visual Effects: www.phimedia.com
Virtual Tours : www.panotours.com.au

10

Tuesday, September 27th 2016, 7:39am

Is there a simple way to show the tooltips on a hotspot all the time?

I have looked at thesolution here

tooltips hotspots to display text all time

but cannot get it to work with your tooltips plugin.



Thanks
mike
Visual Effects: www.phimedia.com
Virtual Tours : www.panotours.com.au

11

Thursday, February 2nd 2017, 8:55pm

Viable in Panotour

Will this plugin work in Panotour Pro, please?

12

Friday, September 29th 2017, 4:36pm

Hello! Is it possible to make the Tooltip Plugin displayed continuously? Or so that on the computer there are flashing wait and a constant display on the touchscreen?

13

Wednesday, January 3rd 2018, 8:27pm

Dont display onhover on firefox

Hi

The tooltip plugin dont shows me onhover at firefox.
Only onclick shows me the tooltip.

Problem only on firefox 57.0.3 tested on win10.

Best
Peter

14

Tuesday, October 16th 2018, 12:09pm

NOT COMPATIBLE IN VR MODE

could you share the source it you don't plan to upgrade please?

Thanks

joschii

Beginner

Posts: 25

Location: Austria

Occupation: VR

  • Send private message

15

Monday, August 3rd 2020, 6:27pm

Hotspot Name Tag Label Text Plugin

hi. i made a plugin that puts the hotspot's-name under every hotspot as a textfield automatically.
like the tooltip is visible always an clickable if you want to.
textfield can be edited of course.
simple integration.
works also in VR and smartphone, or touch devices.
DEMO_TOUR_EXAMPLE
would that help you? or do you need something else?

16

Monday, February 6th 2023, 10:08am

Problems using "settings transparent_angle" with Tooltip plugin

I often use that code in order to set the transparency angle for my hotspot:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  <settings transparent_angle="45"/>
  <events name="transparent_active" keep="true" onviewchanged="transparent_active"/>
  <action name="transparent_active" scope="local">
    getlooktodistance(current_angle, hotspot[logo].ath, hotspot[logo].atv);
    clamp(current_angle, 0, get(settings.transparent_angle));
    set(current_angle_90, calc( current_angle * (90 / settings.transparent_angle) ));
    set(current_angle_90_rad, calc( current_angle_90 / 180 * Math.PI ));
    if(current_angle_90 LT 90,
      Math.cos(transparent_coeff, current_angle_90_rad);
      ,
      set(transparent_coeff, 0);
    );
    set(hotspot[logo].alpha, get(transparent_coeff));
    trace(hotspot[logo].alpha);
  </action>

I all my Tour works without problems, but I have noticed that if I add the Tooltip plugin there is some conflict between the codes and my hotspots remains invisible, no matter which value of transparency I insert...
Can someone give me an help , please?
Thanks
Luca

17

Thursday, May 11th 2023, 8:44pm

Parse Error

We have just purchased the plugin, and after we have included it in our project and uploaded the plugin files, we get the following error

Source code

1
ERROR: parsing '.../plugins/abs.js' failed:SyntaxError: Unexpected token ':'
.

Googling the error brought up the following thread: https://krpano.com/forum/wbb/index.php?page=Thread&threadID=16791

So, we wonder if the abs.js plugin might not be still compatible with the latest versions of krpano.

If that's not the case, what might be the reason for the error we get?

Many thanks
Robin