Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 19. Januar 2010, 03:20

closing showtext or triggering onout event

Hello,

I've got hotspots with showtext as onhover event. Sometimes the showtext doesn't disappear.
I know that I can change onhover value like this :

krpano.set("hotspot[nameOfMyHotspot].onhover", "null");

But I would like to avoid this solution because it means that I'll have to assign onhover to showtext after.

Is there a way (function ?) to close or hide the showtext ?
Or is it possible to call onout event ?

If anyone has any suggestions, I would greatly appreciate it.
Thank you very much,

kiwi

2

Donnerstag, 21. Januar 2010, 11:31

Hi,
Sometimes the showtext doesn't disappear.
that would be strange...
when does this happen?

best regards,
Klaus

3

Donnerstag, 21. Januar 2010, 15:51

Well, it's not as strange as that. It's more something with flash, and roll out event.

I'm making a website with panos as a part of the site, and just outside the pano (but still in the flash) lies a navigation bar.
So if the mouse comes very fast from a hotspot to navigation buttons, I think it doesn't fire roll out event.
That's why I would just like to tell all hotspots to rollout when the mouse is outside the pano.

Unfortunately, I can't show you anything now as it is still in production.

4

Donnerstag, 21. Januar 2010, 23:03

i have had this happen to me also. inside my zoo tour project. if you pass over an animal link quickly the showtext stays with the cursor. i have to go back to the same animal and re-hover and mvoe away slowly then it will disappear. it is randow and does not happen all the time.

http://www.virtualnorthland.com/panos/world/

see attached.
»VN2009« hat folgendes Bild angehängt:
  • Capture.jpg

5

Freitag, 22. Januar 2010, 11:37

Hi,

okay, I see, but really a bit strange...

but you could disable the calling of the "onhover" event manually,
by setting the "hovering" attribute of the "plugin" or "hotspot" to "false",

e.g.

Quellcode

1
set(hovering,false);

or

Quellcode

1
set(plugin[name].hovering,false);


best regards,
Klaus

6

Freitag, 22. Januar 2010, 17:25

Hi Klaus,

I'm trying to set hovring to false in my plugin but it's still not working :

krpano.set("plugin[anim1].hovering", false);

I also tried this way, but not working either :

krpano.set("plugin[anim1].hovering", "false");

I am doing wrong ?

Thanks for your help.

7

Montag, 25. Januar 2010, 10:25

Hi,

WHEN have you set this:
krpano.set("plugin[anim1].hovering", false);
note - that must be done after the mouse over to disable it manually,

best regards,
Klaus

8

Montag, 25. Januar 2010, 14:40

Hi Klaus,

I do it when clicking in my navigation bar to close hovering if the showtext is still enable.
But does it means that I have to manually enable hovering afterwards ?

all the best,
kiwi

9

Dienstag, 26. Januar 2010, 10:24

Hi,

internally it works so:

the "hovering" attribute will be set automatically on AS3 "ROLL_OVER" event,
and unset on the "ROLL_OUT" event,

and as long this attribute is set, the "onhover" event will be called (in intervals) for this plugin/hotspot,

best regards,
Klaus

10

Donnerstag, 16. September 2010, 11:59

Hello,

I have the same problem since i have first used krpano.
When you quickly move over the Hotspot, the onHover won't disappear.

Quellcode

1
2
3
4
5
6
<hotspot name="sp5" url="../../hotspot_ani_white.swf" scale="0.3" ath="-235" atv="8"
	onHover="showtext(Hallo,hotspotstyle)"
	onOver="set(hotspot[sp5].url,../../hotspot_ani_highlight.png);"
	onOut="set(hotspot[sp5].url,../../hotspot_ani_white.swf);"
	ondown="doit()">
</hotspot>


The onOut event also won't called.

What can I do?

Tim

11

Dienstag, 21. September 2010, 16:49

Hi,

this is a problem because of the url changing,
it will be fixed in the next krpano release,

best regards,
Klaus

12

Donnerstag, 19. Februar 2015, 13:55

Dear Klaus,

I understand this is quite an old thread, but I'm kind of experiencing this same issue now with version 1.18.

Instead of changing urls, it seems to be an issue of changing the crop. I have a few png buttons, which change their cropping when clicked, and also have a showtext call attached to their onhover events. Now normally it works just fine, but if I click the button and move the mouse away fast, the label sticks to the mouse cursor and I can't make it disappear until I hover over the button again (and then move the mouse away).

I'm using the HTML5 version.

Can you confirm this bug? Is there any workaround, so that I don't have to wait for the next release or the one after that for a fix? Thanks!

13

Freitag, 20. Februar 2015, 11:32

Hi,

do you have an example?

Are you using the 'onhover' event or the onover+onout events?

Best regards,
Klaus

14

Freitag, 20. Februar 2015, 13:17

I'm using the onhover event!

I've made a quick screencast of the problem, check it out: https://www.youtube.com/watch?v=VmsIh7xcVl4!

15

Montag, 23. Februar 2015, 12:05

Hi,

do you have a link to your example?

Best regards,
Klaus