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.

philkrom

Beginner

  • "philkrom" started this thread

Posts: 35

Location: Montpellier France

Occupation: Zooomez cofounder

  • Send private message

1

Tuesday, April 5th 2016, 11:20am

How to tween scale with keeping the bottom center position ?

Little bit more explanations : using a marker like this one, the bottom pointing on a location.




I make this action : onover="tween(scale,1.5);"
Works well, but scale origin is top center, so the bottom of the marker moves.
I would prefer scale origin to be bottom center, so the marker keeps pointing to the same place.



Sure it is very easy, but I can't find how *sad*


Hope you can help !
Philippe - Newbie in krpano code but very interested in everything about Oculus and VR devices *w00t*

Cofounder of the Zooomez project - zmz.fr - map on this link
If you want to support our project, please like our Facebook page *thumbsup*

Alexey Tkachenko

Professional

Posts: 760

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Tuesday, April 5th 2016, 11:29am

Hi)

Try to add

Source code

1
edge="bottom"
Regards,

Alexey