By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,292 Members | 1,354 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,292 IT Pros & Developers. It's quick & easy.

[SVG]animation calculation

P: n/a
hi,

there is an animation, that animates the x-attribute of my element
from 0 to 300 within 6 seconds. there a two buttons, that manipulate
the dur-attribute of the animation to 3 or 9 seconds.

the problem:
if i click on one of these buttons, the position of my element is set
to that x-position, the element would have, if the animation would
have run all the time at that speed. but i want, that the animation
continues at that x-position, the element had, when i clicked on the
button.

is that possible? is there any way to do it?

thanks for every hint, regards,

norro
Jul 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a


Arne Nordmann wrote:

there is an animation, that animates the x-attribute of my element
from 0 to 300 within 6 seconds. there a two buttons, that manipulate
the dur-attribute of the animation to 3 or 9 seconds.

the problem:
if i click on one of these buttons, the position of my element is set
to that x-position, the element would have, if the animation would
have run all the time at that speed. but i want, that the animation
continues at that x-position, the element had, when i clicked on the
button.

is that possible? is there any way to do it?


Do you know
http://groups.yahoo.com/group/svg-developers/
I think you are more likely to find SVG expertise there but whereever
you post you should mention which SVG viewer you have tried with.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 20 '05 #2

P: n/a
Hi,
http://groups.yahoo.com/group/svg-developers/


thanks for the hint. i'll try it.

regards,

Arne
Jul 20 '05 #3

P: n/a
In article <37**************************@posting.google.com > go****@norro.de (Arne Nordmann) wrote:

hi,

there is an animation, that animates the x-attribute of my element
from 0 to 300 within 6 seconds. there a two buttons, that manipulate
the dur-attribute of the animation to 3 or 9 seconds.
Excuse me?
the problem:
if i click on one of these buttons, the position of my element is set
to that x-position, the element would have, if the animation would
have run all the time at that speed. but i want, that the animation
continues at that x-position, the element had, when i clicked on the
button.
He that plants thorns must never expect to gather roses.
is that possible? is there any way to do it?
It would take someone that had a workaround for the same identical
issue to help you.
thanks for every hint, regards,
We raise our own food and do more "farm" work. Compared to your time
period, we work longer hours.
norro


You are joking, right?

--
Lady Chatterly

"You are singled out because you basically suck at life and you are
stalked by a bot." -- The Most Offensive (Phuk Yew)

Jul 20 '05 #4

P: n/a
sorry, i don't know, what you mean. i'm not joking, that was my real
problem. i solved it.

you statements with the rose and the farm isn't clear to me. please
explain. it sounds kind of funny.

regards,

norro
Jul 20 '05 #5

P: n/a
ah
Arne Nordmann wrote:
sorry, i don't know, what you mean. i'm not joking, that was my real
problem. i solved it.

you statements with the rose and the farm isn't clear to me. please
explain. it sounds kind of funny.


L.C. is a semi-autonomous software construct . . . pulls bits and pieces of
current and archived articles to respond in a pseudo-interactive manner.

If you don't want it to talk with you, do not continue to respond.

btw, this message is being posted in both c.t.x and alt.usenet.kooks

btw^2, what did it take to get the x= to stay-put?
--
ah
Jul 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.