Slide out and drawer effect

6Jan

Background

John Resig, author of jQuery demonstrated how easy is create this simple slide aka drawer aka accordion effect during @media Ajax 2007 - it also makes for a great introduction to jQuery.

The effect is commonly known as an 'accordion' and it's usually used to slide up, or down blocks of content to expose [...]

It's all about CSS

6Dec

If you've got a good understand of CSS selectors, then you're already familiar with how to query the DOM.

Background

CSS1

jQuery uses CSS1, 2 and parts of CSS3 at the heart of all it's queries, just in the same way you would use CSS to target an element or group of elements to style.

In CSS, to hide [...]