Skip to main content

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel