• Resolved phaticon

    (@phaticon)


    I have a site i’m working on and i’m using the SimpleModal plugin to make things simple, but now its causing my Superfish menu to not work properly. The dropdown menu will come down on hover but will not go back up on off hover state, unless the SimpleModal plugin is deactivated. Any help would be appreciated, since i’m working on 3 other sites at the same time.

    The site in question

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eric

    (@emartin24)

    Hello,

    The actual error is caused by another script:

    jQuery.easing[jQuery.easing.def] is not a function

    I believe that SimpleModal’s correct use of including JavaScript may be causing the other scripts to break, since WordPress calls Query.noConflict();

    Hope that helps.

    Thread Starter phaticon

    (@phaticon)

    Thanks, it does kind of help. At least now I know what is causing it, I was just racking my brain with this. I’ve been up for 36 hours straight coding. Now to try and fix it.

    Thread Starter phaticon

    (@phaticon)

    I had to remove a line of code from the easing plugin and it all works great now. Below is what I removed and all easing still works!

    def: 'easeOutQuad',
    	swing: function (x, t, b, c, d) {
    		//alert(jQuery.easing.default);
    		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
    	},
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SimpleModal not working with other jQuery’ is closed to new replies.