Question Locked

Javascript Animation

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I have four graphics that I would like to animate across the screen. It
is a planet that has 4 moons, and I would like to make it appear that
they are revolving around the planet.

The specific movement I want them to do is start from the far left,
cross in front of the planet, then reverse course and cross behind the
planet.

Can this be done with javascript? What is the terminology called so I
can scour the web for the combination of tutorials, if you don't have
the code for the solution?

Thanks

2 replies

by thumbsup2

Check the web for "Dynamic HTML" or "DHTML". This uses a combination of Javascript, CSS and HTML to create the effect you're looking for. If you search hard enough, you may even find a script to use so you don't have to write your own.

This discussion is closed to new replies.