WordPress.org

Support

Support » Plugins and Hacks » SimpleModal Login » [Resolved] SimpleModal not working with other jQuery

[Resolved] SimpleModal not working with other jQuery

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

    @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.

    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.

    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 ‘[Resolved] SimpleModal not working with other jQuery’ is closed to new replies.
Skip to toolbar