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.
)
.Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »pinsane« (20. März 2010, 17:59)
It seems that set(autorotate.enabled,true) makes the autorotate to start immediately even if a waittime is already set... Perhaps this is a bug.......because onout it starts immediately...
... (I could understand it works when called after setting autorotate.enabled but before..??)|
|
Quellcode |
1 2 |
onover="set(autorotate.enabled,false);" onout="invalidatescreen(); set(autorotate.enabled,true);" |
:|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 |
<autorotate enabled ="true" waittime="2" accel ="1" speed ="10" /> <plugin name="test" url="image/image.png" onover="invalidatescreen();" <!-- or as Steve: onover="inc(view.fov,0.01);" --> onout="" /> |
Thanks a lots Steve(Pinsane) and Michel(merci) for your quick response and explanation![]()
As Pinsane has already said, you can use a delayedcall... But, be aware that a delayedcall (as is) can not be stopped once it is called...
@Pinsane... It is clear that you have a lot of knowledge... And it's really great to learn about your posts...
Then, for the example from Marty McFly , doing this way it is enough:
![]()
Quellcode
1 2 3 4 5 6 7 8 9 10 11 <autorotate enabled ="true" waittime="2" accel ="1" speed ="10" /> <plugin name="test" url="image/image.png" onover="invalidatescreen();" <!-- or as Steve: onover="inc(view.fov,0.01);" --> onout="" />
SAlut.
,Of course you are right...
Zitat
I don't think this implementation works. It will halt the autoroatation, but only for the waittime period....
|
|
Quellcode |
1 2 3 4 |
<plugin name="test" url="image/image.png" onhover="invalidatescreen();" <!-- or as Steve: onhover="inc(view.fov,0.01);" --> onout="" |
...
- onover
action that will be called when mouse comes overs the plugin/image- onhover
action that will called in intervals when mouse stays/hovers over the plugin/image
Zitat
I'm humbled to hear that from a Jedi-Master like yourself.
Believe me... I am just an amateur that tries to learn from people that shares his knowledge like you... Also, I learn a lot in trying to answer to the requests... Many times, a good request, it is the BETTER WAY for me to learn about aspects of Krpano that , without the request, would remain unknown to me...Now, it is more active than before thanks to you
Zitat
I'm really happy this is such an active forum...
...Thank you
Zitat
I think you deserve your three-star professional standing, ...
.. I deserve those three-star professional standing only because of many post I have ... Some are great post , but many are not so great
... The quantity does not make the profesional
... With your few posts, you deserve three stars
...