Skip to main content
Ben Nadel at the jQuery Conference 2010 (Boston, MA) with: Seth Johnson and Bob Chesley
Ben Nadel at the jQuery Conference 2010 (Boston, MA) with: Seth Johnson@SethNJohnson ) and Bob Chesley@bobchesley )

TimF

Member since Jan 13, 2015

Recent Blog Comments By TimF

  • Lazy Loading Image With AngularJS

    Posted on Jan 13, 2015 at 3:09 AM

    There might be a very simple jQuery way to listen for the scroll event of a container of the images, but I don't know it. And what happens if the scroll container isn't the immediate parent? I came up with a possible solution. I created a directive to be placed on the div being scrolled .directi... read more »

  • Lazy Loading Image With AngularJS

    Posted on Jan 13, 2015 at 2:08 AM

    My question is the same as Atinder. My viewport for the scroll region is a fixed div. I know startWatchingWindow() is where the change goes. The lines // Listen for window changes. win.on( "resize.bnLazySrc", windowChanged ); win.on( "scroll.bnLazySrc", windowChanged ); is... read more »