Home › Forums › CSS › How to make these actions flexible (Jquery) › Re: How to make these actions flexible (Jquery)
June 13, 2013 at 10:57 am
#138599
Anonymous
Inactive
@CrocoDillon This is what i have exactly and it’s not working.
HTML
Videos & Images Gallery
JQUERY
$(‘#gallery_section’).on(‘click’, ‘.gallery_content’, function() {
$(‘#image_container > img’).attr(‘src’, $(this).data(‘src’));
});
$(“.gallery_content”).click(function() {
$(“#image_container”).slideDown();
});
Sorry but i’m having trouble showing the code. I updates the site with your code so you can see it there.