Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Jquery Conflict between Mega-Menu and MailChimp form

Status
Not open for further replies.

Dara2020

IS-IT--Management
Jun 18, 2020
1
0
0
IE
Hello Community!
Here’s a conundrum… I have two elements that I need on a page that just won’t play nice with each other: a mega-menu (required for the main site navigation) and a simple mailchimp signup form (in the footer).

See them both on this page here:


The problem is that the mailchimp form (in the footer) won’t accept submissions unless the following line is removed:

Code:
<script>var plugin_path = '/t4cms/';</script>
This code is however is needed by the mega-menu, so I have to keep it there.

If I remove the above line - then the mailchimp form will accept submissions BUT the mega-menu is broken!

I have tried reordering the sequence of the .js files - that didn’t work.

Also, I have downloaded and stored locally the mailchimp js file: mc-validate-geary.js - so I can make any suggested edits directly in this file. I suspect the solution will be found by editing this file.

Any advice much appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top