Jquery: how make div slide in and out

Posted by Jeddizero on Stack Overflow See other posts from Stack Overflow or by Jeddizero
Published on 2011-01-04T03:29:29Z Indexed on 2011/01/04 3:53 UTC
Read the original article Hit count: 291

Hi,

I am currently learning jQuery. I'd like to know how to make an image slide in when you click on its edge, then click again and it slides away. Similar to this:

http://www.karenmillen.com/

If you see the right hand side and click, there is the effect that i'm looking for. I assume this will involve making a div and giving it a background image then using some jquery to make the div slide into view. Of course the div could have other content such as html. Any ideas?

Would the .slideDown() method work?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery