Support » Plugin: Advanced AJAX Page Loader » [Plugin: Advanced AJAX Page Loader] Reload Code for Disqus

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just fixed it. For reference, I put used the following as reload code:

    (function() {
              var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
              dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
              (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
              })();

    Plugin Author Dean Williams

    (@deano1987)

    I have added this snippet to the site. Thank you very much for sharing it!!

    http://software.resplace.net/WordPress/AjaxPageLoader.php

    Hi Dean, please help me with my issue…

    I am using your great script “Advanced AJAX Page Loader”, but combination with “Fullscreen Galleria” By Petri Damstén [http://torturedmind.org/] makes a problem, i was added code below to “Data Ajax Loaded Code” frame:

    (function() {
              var dsqp = document.createElement('script'); dsqp.type = 'text/javascript'; dsqp.async = true;
              dsqp.src = 'http://haky-nabytok.sk/wp-content/plugins/fullscreen-galleria/galleria-fs.php';
              (document.getElementsByTagName('head')[0] || document.getElementsById('galleria')[0]).appendChild(dsqp);
              })();

    it reloading the Galleria script well, but php file “galleria-fs.php” /or something else/ dont reset the image switching. Please visit my site: haky-nabytok.sk to see this prob.

    I am new to prog.

    Thank you so much and sorry for my english”)

    Daniel

    sorry, this code:

    (function() {
              var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
              dsq.src = 'http://haky-nabytok.sk/wp-content/plugins/fullscreen-galleria/galleria-fs.js';
              (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
              })();

    above code is wrong

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Advanced AJAX Page Loader] Reload Code for Disqus’ is closed to new replies.