Forum Moderators: open
It sounds like you want to do javascript animation. Since you are new to javascript, I highly recommend using one of the libraries that are available with animation functions built-in. It will still be a pretty steep learning curve, but at least you can skip some of the cross browser inconsistencies.
Possible choices include (in order only of how familiar I am with each):
If you get started on the code and run into trouble, please post back your code snippets and we'll do what we can to help. :)