#infinitscroll

Rastin Mehr

Rastin Mehr

Optimize Infinitscroll.js

Make sure: - it only hits the server once for a particular url - bind using data-trigger - obtain url from data-url #Infinitscroll #Optimization
Rastin Mehr

Rastin Mehr

So the #JQuery #InfinitScroll that I wrote for Anahita is only 70 lines of code instead of 200 lines. Now if we use CSS3 for the Masonry layout, that will save us another 100 lines. Also if you are a JQuery expert who wants to help rewriting the Anahita JS libraries, please let me know.

Powered by Anahita