Support » Plugin: Facebook Page Promoter Lightbox » [Plugin: Facebook Page Promoter Lightbox] Conflict with Internet Explorer

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Arevico


    Hi, i see some severe problems with the theme you are using. This can cause this problem. Please try to
    – remove the code before <html> (script type=”text/javascript”>

    script type="text/javascript">
        // <![CDATA[
            var disqus_shortname = 'lionlk';
            (function () {
                var nodes = document.getElementsByTagName('span');
                for (var i = 0, url; i < nodes.length; i++) {
                    if (nodes[i].className.indexOf('dsq-postid') != -1) {
                        nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('rel'));
                        url = nodes[i].parentNode.href.split('#', 1);
                        if (url.length == 1) { url = url[0]; }
                        else { url = url[1]; }
                        nodes[i].parentNode.href = url + '#disqus_thread';
                var s = document.createElement('script'); s.async = true;
                s.type = 'text/javascript';
                            s.src = 'http' + '://' + '' + disqus_shortname + '/count.js';
                (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);

    This code doesnt belong there.

    – specify a correct doctype if not done so allready.`

    Please also be aware that fancybox might not work with very old versions of IE.

    Please let me know if it works

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin]

    Hello Arevico,

    That code was generated by Disqus plugin. By checking Output JavaScript in footer option, I have managed to remove that.

    But that wasn’t the only problem. I had to remove some other unnecessary php codings that I had done before which was affecting to the head section.

    Now it is running perfectly.

    Thank you for pointing me to the head section and for this great plugin.


    Hi Arevico,

    I have had a similar problem on my site,
    after installing the plugin page is blank in Internet Explorer and the popup does not appear.

    This is my site:

    I appreciate if you can help me!

    Plugin Author Arevico



    Your html in the theme starts directly with:
    <head profile=”″>
    … etc

    You should specify a valid doctype, since the lightbox needs one to be displayed correctly in ie followed by the <html> tag.

    Hi Arevico,

    I think the problem is not in this line,
    because I found a site that uses the same plugin and contains the code “…” and usually works in IE!

    this is the site:

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Facebook Page Promoter Lightbox] Conflict with Internet Explorer’ is closed to new replies.