Close div when clicked

Out of context: Reply #18

  • Started
  • Last post
  • 25 Responses
  • Q010

    Huuuuuuuuuuuuuuuuuuuuuuuuuu —

    I've got this image fade Jquery going on. (Not scrolling image fade, fuck that, load in fade.)

    Except I'm loading in images into the page after the initial page has loaded. Using this code — http://codesnippets.joyent.com/posts/show/602

    This is the JQuery I'm using —

    $(document).ready(function () {
    .load(function () {
    // set the image hidden by default
    $('#fader').hide();.fadeIn(300);
    }}

    It's not working. Because... I presume it only reads for the #fader tag once the body of the page has loaded. Is there a way for it to continually check for the #fader tag each time new content is loaded?

    • $('#fader').hide...
      I'm not an expert but this doesn't seem to make sense.
      ********

View thread