
Without hesitating out of the box, jQuery provides the animate aim, which allows us to morph some CSS attributes during time. Things like ambiguity, font-size, width, completely, and position are all supported. There are a match up of notable limitations to this use though, and one of those is “breeding-position”.
Thankfully, there is a plugin to pirate with this, the Background-Fix Animation Plugin by Alexander Farkas. (govern link to JS). With this, we can do some fun horse feathers!
We are going to build a “Garage Door” sort menu, where an image “slides up” to air another image behind it.
Observe Demo Download Files
1. Creating the perception needed
We are going to need three odd types of images here. Initial is a background image for the entire menu itself. This is thriving to be one big image for the entire menu which wishes be the imagery which is “revealed” when the door opens. Coincide out my Photoshop file:

Notice my guides. I deliver these set up as a visual reference to what the “viewable acreage” is going to be within the garage put together. Note that the Photoshop files are included in the download for your direction.
Second, we’ll need to frame the garage doors which we will notification the “shutters”. These privation to be separate graphics as each one choose need to be animated separately. I made a discrete template for this, so I could again use guides to dungeon things as close to centered and nicely spaced as viable.
...
Read more...