You are not logged in.

Dear visitor, welcome to 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.


Friday, October 23rd 2009, 7:43am

Mouse passes over Fade in/out

Hi to all.

Im pretty new with the fantastic krpano tool.

I been going around the forum the last weeks, I've read docs and forum threads looking to teach myself on a basic level to begin to use krpano tool.

I found this thread "appear fadein/fadeout POV driven" where invisible hotspot appear with fade in and disappear with fade out at time they pass on center screen (point of view of visitor),or in contrary dissapear so doesn't disturb the view.…&threadID=1058&

And I used this Source code in a panorama with two video_hotspots and the code is working well, but I would like to ask
how could be possible to do the same effect, fade in/fade out disappear, but when the mouse passes over the video_hotspots ??.

and then when the video_hotspot is visible ,then you can click to begin the video.

Thanks in advance



Posts: 145

Location: Wellington, New Zealand

Occupation: Trying to build an entire walkthrough of NZ for tourists

  • Send private message


Saturday, October 24th 2009, 9:07am

You could use the onover of the hotspot..


Source code

<plugin name="videohotspot" alpha="0".........onover="tween(plugin[videohotspot].alpha, 1, 0.1, EaseInOutQuad)" />

So the when the mouse is over the video it fades in (tween alpha from 0 to 1). Just do the opposite on the onout to fade out (tween from 1 to 0)

Is that what you mean?