I have two boxes, a yellow one and a blue one, and I want to animate them at separate intervals.
This is an example of what I would like to happen: 1. Loading page complete 2. Yellow div box fades to zero opacity. 3. Wait 2 seconds 4. Blue div box moves left to right 100 pixels. I can get them to perform animations at the same time, but I can't seem to wrap my head around getting the script to wait 2 seconds before performing the next command. Is there a simple techinque that already exists to perform this task?