Javascript Bg Animation Tweaks
December 9th, 2009
I have a piece of javascript code that animates the background image of my page. With this code, the BG raised up a few pixels every second or so. There is some extra bit of code that will incorporate the time of day and factor that into the starting point of the animation.
Look at this link:http://www.drawninwardmedia.com/sunshinehouse/http/
For this job, I need the sky to go from dark (the top of the image) to light (the bottom of the image), and then stop animating. I do not need the code to consider the current time of day. All I need is once the BG image bottom reaches the bottom of the frame the animation needs to stop. That’s it.

Categories: CSS, Javascript, XHTML animation, animation tweaks, code, image, Javascript, tweaks, tweaks javascript xhtml



