I'm coding my own jquery "powerpoint" type slide presentation. I have a script that uses load() to bring in separate HTML files as the "slides" and it fades them in and out when you click the "next" or "previous" buttons.
To kick it up another notch, I'd like each element on the page to slide into place from the right (sliding left into final position). I'd like to slide every item in the parent div (#presentationContainer) with a class of "animElement" to use the "margin-left" css property to appear to slide into place as it fades.
So, each element with that class would animate one after another until each one is faded in and in correct position.
This is one hell of an example of event chaining and is a bit above my meddle. I just need help with the sliding part in the animation. The fades all work fine.
My question is, how will I handle the sliding and where in the even chain will I put that code? How do you target an item and intercept it when it isn't on the page yet?