Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter benmandv

    (@benmandv)

    In regards to Colorbox, I tried the following script but it still doesn’t work…
    scriptNode = document.createElement(‘script’);
    contentNode.appendChild(scriptNode);
    scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/plugins/jquery-colorbox/js/jquery-colorbox-wrapper-min.js’);
    scriptNode = document.createElement(‘script’);
    contentNode.appendChild(scriptNode);
    scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/plugins/jquery-colorbox/js/jquery-colorbox-wrapper.js’);
    scriptNode = document.createElement(‘script’);
    contentNode.appendChild(scriptNode);
    scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/plugins/jquery-colorbox/js/jquery.colorbox-min.js’);
    scriptNode = document.createElement(‘script’);
    contentNode.appendChild(scriptNode);
    scriptNode.setAttribute(‘src’, rootUrl + ‘wp-content/plugins/jquery-colorbox/js/jquery.colorbox.js’);
    Topic Closed

    I have the same issue, this plugin breaks any lightbox on the site

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Ajaxify and any lightbox plugin???’ is closed to new replies.