• Resolved databell96

    (@databell96)


    Problem. I just upgrade one of clients WordPress sites and if you look at the radio microphone on the top right of the page, you’re supposed to click in and then it should slide down a contact form using the Contact Form 7 plugin. Now it no longer works even though I didn’t change any code in my theme. The slideToggle essentially is broken. This is the code I’m using:

    <script type="text/javascript">
    jQuery(document).ready(function(){
    	jQuery(".btn-slide").click(function(){
    		jQuery("#panel").slideToggle("slow");
    		jQuery(this).toggleClass("active"); return false;
    	});
    });
    </script>

    I tried going back to ‘$’ instead of ‘jQuery’ but I knew that wouldn’t work. Turned off all plugins, but that’s not the issue either. So why did it stop working?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    So the issue is specific to Contact Form 7?

    Thread Starter databell96

    (@databell96)

    I don’t think so. As i mentioned, I turned off all plugins, including CF7 and found no change.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you deactivate all plugins & undo your dollar symbol change so that we can inspect issue?

    Thread Starter databell96

    (@databell96)

    You want me to turn it off now? I told you I turned off the plugins earlier and it changed nothing. And I also reverted back to JQuery. The dollar signs should be gone.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The dollar signs are still there & plugins active.

    Thread Starter databell96

    (@databell96)

    Plugins are active. Client won’t let me turn off for extended periods of time. It affects business. However, the dollar signs are gone.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    There is a JavaScript error. Check your browser’s console log (e.g through Firebug). You’ll need to work out where that’s coming from.

    Thread Starter databell96

    (@databell96)

    OK, that was a plugin called JS Banner Rotate. I don’t even think we’re using it. Turned that off and problem went away. Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘JQuery slideToggle stopped working after upgrade to 3.6’ is closed to new replies.