Support » Fixing WordPress » Why don’t non-plug in pop-ups work?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Well there’s 16 different Javascipt loading on that page, which one is suppose to handle the popup?

    Adblock is blocking 3 of those by default… ad related…

    <script src=”” type=”text/javascript”></script>

    is the operative script, and it is not ad related.

    I’m no Javascript expert, but it looks like that Javascript is expecting a link with a particular class name…. depending on the popup type you want…

    The link on the page you linked to does not have a class.

    Ah …. thanks, will investigate.

    Well, there’s this in the java script:

    // Actual popup function
    function popUp() {
    if (!document.getElementsByTagName) return false;
    var lnks = document.getElementsByTagName(“a”);
    for (var i=0; i<lnks.length; i++) {
    if (lnks[i].className == “soundslide_popup”) {
    lnks[i].onclick = function() {
    return false;
    else if (lnks[i].className == “photogallery_popup”) {
    lnks[i].onclick = function() {
    return false;

    That’s gotta be the ticket. Otherwise, the sports galleries at wouldn’t pop up.

    Yep, that’s the area i refer to…

    I’ve not seen or used that script, but it certainly looks like it wants links with particular class names to function…

    If you get it working be sure to mark the topic resolved to the right –>

    Good luck… 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why don’t non-plug in pop-ups work?’ is closed to new replies.