• Resolved B1gJ4k3

    (@b1gj4k3)


    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://ww.wp.xz.cn/extend/plugins/pronamic-google-maps/

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

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