If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

I want img1 to slide from the left side of the screen to its fixed position on the right over the span of 2.6 (or 3, if decimals aren't possible) seconds. But this should only happen after the music starts playing (so it should domino after its loaded and autoplays). (From there, if possible, I'd like img1 to just hover up and down but I can live without that.)

Then I'd like img2 to just appear AFTER img1 has finished its initial animation (the slide across the screen). That needs to do nothing but just stay there.

The final and most important piece of the puzzle is that this can only happen ONCE. This is a blog so I don't want the pictures to re-load if someone goes to the next page. The music player has this property already but I'd like it for the pictures.

This is horribly complicated, I know, and I'm sorry to even be asking. But I think it would be really cool to get done.

you would have to look at your audio plugin to see if there is a "playback start" event listener. Most have this.

You would then set an interval to move your image1 pixel by pixel across the screen until it reaches its final position (you can divide the amount of pixels it needs to move by the seconds it should take to get there and set your values accordingly). Once it reaches that position you would change image 2 from display:none to display:inline.

None of it's that complicated, but finding that event listener would be my first step.

you would have to look at your audio plugin to see if there is a "playback start" event listener. Most have this.

You would then set an interval to move your image1 pixel by pixel across the screen until it reaches its final position (you can divide the amount of pixels it needs to move by the seconds it should take to get there and set your values accordingly). Once it reaches that position you would change image 2 from display:none to display:inline.

None of it's that complicated, but finding that event listener would be my first step.

I've done that and the player still works but how would I link the appearance of the images to the "onplay" feature?
Forget everything about it moving; I can take care of that myself through use of .gifs but I just want it to appear when the music starts.