Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#drawers").parents('ul:first').find('img:first').click(function() {
- if ($(this).hasClass('open')) {
- $(this).removeClass('open');
- $('#info div').slideUp();
- }
- else {
- $(this).addClass('open');
- $('#info div').slideDown();
- }
- });
Add Comment
Please, Sign In to add comment