<Javascript SlideDown and Toggle Animations ⁄ >

A few months ago I talked about JavaScript animations, in this snippet I'll give two more examples about this area.

I won't use a framework, it'll be plain and simple JavaScript.

It'll be two fairly simple animations and easily customized by you.

The first example will be an image animation from the top until the middle of the window visible area; the second on will be a toggle animation on mouse hover... you'll see these animations at end of this snippet.

There's nothing more to talk about this snippet, so let's just start coding ^_^''

style.css, in here we'll define the layout and image backgrounds, you should customize this css to your own needs, for instance, the images you have certainly have different dimensions, etc