Title: [Plugin: Pronamic Google Maps] Issues with jQuery
Last modified: August 20, 2016

---

# [Plugin: Pronamic Google Maps] Issues with jQuery

 *  Resolved [B1gJ4k3](https://wordpress.org/support/users/b1gj4k3/)
 * (@b1gj4k3)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-pronamic-google-maps-issues-with-jquery/)
 * Is anybody else having issues with this plugin conflicting with jQuery? I’ve 
   got some jQuery in my head tag that runs a few functions for a mega menu and 
   a featured post display and whenever I put the shortcode on a post, it breaks
   the jQuery functionality on that single post page. I’m even using jQuery.noConflict();
   and have changed all the “$” to “jQuery”. Here’s a sample of some of the jQuery
   functions I’m running:
 *     ```
       <script type="text/javascript" charset="utf-8">
       		//<![CDATA[
       		jQuery.noConflict();
       		jQuery(document).ready(function() {
       			 function addMega() {
       		     	jQuery(this).addClass("hovering");
       		     }
   
       			function removeMega(){
       		    	jQuery(this).removeClass("hovering");
       		    }
   
       		    var megaConfig = {
       		         interval: 100,
       		         sensitivity: 4,
       		         over: addMega,
       		         timeout: 500,
       		         out: removeMega
       		    };
   
       		      //And so on...
       		});
       	</script>
       ```
   
 * Any ideas what’s going on here? Any help someone could provide would be much 
   appreciated. Thanks!
 * [http://wordpress.org/extend/plugins/pronamic-google-maps/](http://wordpress.org/extend/plugins/pronamic-google-maps/)

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

 *  Thread Starter [B1gJ4k3](https://wordpress.org/support/users/b1gj4k3/)
 * (@b1gj4k3)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-pronamic-google-maps-issues-with-jquery/#post-2404571)
 * I’ve got a live version up and running now if anybody wants to check it out:
 * [http://beta.mysteryranch.com/2011/10/this-is-a-sticky-post/#comment-6](http://beta.mysteryranch.com/2011/10/this-is-a-sticky-post/#comment-6)
 * The jQuery on this page is a mega menu at the top (if you rollover “Packs” or“
   Explore,” you should be getting a mega menu, like you do on this page):
 * [http://beta.mysteryranch.com/](http://beta.mysteryranch.com/)
 *  Plugin Author [Remco Tolsma](https://wordpress.org/support/users/remcotolsma/)
 * (@remcotolsma)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-pronamic-google-maps-issues-with-jquery/#post-2404580)
 * I don’t see any problems in the live version on:
    [http://beta.mysteryranch.com/2011/10/this-is-a-sticky-post/#comment-6](http://beta.mysteryranch.com/2011/10/this-is-a-sticky-post/#comment-6)
 * Did you already solved the issue?
 *  Thread Starter [B1gJ4k3](https://wordpress.org/support/users/b1gj4k3/)
 * (@b1gj4k3)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-pronamic-google-maps-issues-with-jquery/#post-2404581)
 * Oh, yeah. My bad. It was definitely a problem with my code. I had the custom 
   functions addMega() and removeMega() within my .ready() function, which is apparently
   a no-no. I removed them and everything is working just dandy now.
 * Nothing wrong with the plugin. Just me being a newbie…

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

The topic ‘[Plugin: Pronamic Google Maps] Issues with jQuery’ is closed to new replies.

 * ![](https://ps.w.org/pronamic-google-maps/assets/icon-256x256.png?rev=3194044)
 * [Pronamic Google Maps](https://wordpress.org/plugins/pronamic-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pronamic-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pronamic-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/pronamic-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pronamic-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pronamic-google-maps/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [B1gJ4k3](https://wordpress.org/support/users/b1gj4k3/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-pronamic-google-maps-issues-with-jquery/#post-2404581)
 * Status: resolved