Skip to content

Instantly share code, notes, and snippets.

View dimaslanjaka's full-sized avatar
🥲
need money

Dimas Lanjaka dimaslanjaka

🥲
need money
View GitHub Profile
@muratcorlu
muratcorlu / jquery_disqus_lazyload.js
Created April 3, 2012 07:38
Load disqus comments when visitor scroll down page to comments
/**
* Load disqus comments when visitor scroll down page to comments
*
* Usage:
* Add a div with id "disqus_thread" and data attributes for every disqus parameter:
*
* <div id="disqus_thread" data-disqus-shortname="username" data-disqus-url="http://example.com/post/post-name/"></div>
*
* @author: Murat Corlu
* @link: https://gist.github.com/gists/2290198