How To Change The Auto Load Into Disqus Comments On The Scroll

How To Change The Auto Load Into Disqus Comments On The Scroll
How to change the Auto Load Into Disqus Comments While In Scroll: well buddy, this time I will share a little tutorial for you lovers of disqus comments.
Disqus is an application that can be installed on a blog/web that later visitors can leave comments are listed.
Sorry I forgot to reply this time his lover instead Uses Disqus, well you would have never seen the blog/web site from other websites using disqus comments to comment, Yes this disqus comments many devotees are (quite successful in Influencing the users Blogger), in which the tampilanya Responsive at every display also typically to address a comment using the Link active. If you are a lover of disqus, you can install the Auto Load When In Scroll on disqus comments.
How To Change A Comment Disqus So Auto Load When In Scroll

1. Please you sign in first to Blogge > > Edit Html Theme
You are looking for then please comment disqus widget markup as shown below

Replace With The Following Code


<script type='text/javascript'>
var disqus_shortname = "design-seo";
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());</script>

So that it becomes like the picture below

Please you change design-seo with disqus comment id you
2. If you have please you pastekan javascript below right before the code to speed up the search, you can click the button
CTRL + F
on the keyboard you ...


<script type='text/javascript'>
var disqus_loaded = false;
function load_disqus() {
(function() {
var bloggerjs = document.createElement('script');
bloggerjs.type = 'text/javascript';
bloggerjs.async = true;
bloggerjs.src = '//'+disqus_shortname+'.disqus.com/blogger_item.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(bloggerjs);
})();
(function() {
var bloggerjs = document.createElement('script');
bloggerjs.type = 'text/javascript';
bloggerjs.async = true;
bloggerjs.src = '//'+disqus_shortname+'.disqus.com/blogger_index.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(bloggerjs);
})();
disqus_loaded = true;
};
window.onscroll = function(e) {
if ((window.innerHeight + window.scrollY) >= (document.body.offsetHeight - 800)) {
if (disqus_loaded==false)
load_disqus()
}
};
</script>

3. Finally please you click Save/Save and try to see the one you postigan then scroll down the place comment disqus.

Okey friend blogger maybe that's all for this time, if there are questions you can give feedback below (Comment).

Related Post:


Facebook Comments
0 Blogger Comments


Posting Komentar - Back to Content


Banner 88x31

Join,Like,Follow Us

Label

Site Info

Banner & Link Teman

Music

Diberdayakan oleh Blogger.

Cari Blog Ini

Partners