You might want to tweak the origin by calculating it in comparison to the original.
'transform-origin': 'top left'
Thank you for the quick answer,
I am quite new when i comes to writing code. How do i write this code then? Do place is underneath? or do i change that to center?
sorry, use scale instead. Add in your event.
Does not work with animate();
Thank you very much, indeed scaling wise, that works great!
To bad of the animation because i really like to implement that.
Is there no other way? to get the same results with animation?
I'll be looking into a work around in animate(0. We'll see.
You could calculate the distances, i guess. You can get position with left(), top() of your object and then of the stage and do some Math!
Thank you very much.
Yes i get that indeed.
the pictures has a size of 469px width and 160px height.
my problem is more that i don't understand how the code should be written.
Can i make some additions to:
to include the positioning?
could you give me a clue on how this code would look like?