Forum Moderators: open

Message Too Old, No Replies

Fade

         

Adam5000

6:48 am on Apr 4, 2005 (gmt 0)

10+ Year Member



Great group with cool people in it.

I'm working on a website that has moving div's. I've defined an image as a div and put it the upper left corner of the screen (position:absolute left=30 top=30), Then created a function that moves it gradually across the screen 500 pixels, and then stops it.

What I'd like to know is, is there a way to make the image fade in and fade out over a period of say three seconds?

Adam5000

6:53 am on Apr 4, 2005 (gmt 0)

10+ Year Member



Reference to "Fade" below.

What I'd like to do is have the image I've defined as a div, fade in over a period of say three seconds, before it starts to move across the screen.