Give help. Get help.

  • # February 7, 2013 at 9:49 pm

    Hello all!

    I have made a simple image loader for my website on CodePen. Here’s the link to the full screen pen: My question is as follows: Once I click on an image, how can I prevent the user from clicking on another image in the background array of images without clicking the red close button first? I tried disabling the images in the background by using jQuery’s .attr() function, but to no avail. Please help! Thanks in advance!


    # February 7, 2013 at 10:05 pm

    i’ve updated your pen here:

    if you have other elements on the page you’d like to block you may want to append div class=”overlay” to body instead of just to the images div.

    # February 8, 2013 at 9:21 am

    youre welcome! glad i could help :)

    by double post i meant that i went in to edit my post and accidentally made a new post.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.