Wednesday, 11 September 2013

Object has no method error after no conflict

Object has no method error after no conflict

I am working on a site where I am using Scott Robbins pageslide to
show/hide a responsive navigation.
For some reason the pageslide navigation works fine on the rest of the
site but, when it gets to the contact page, it breaks:
http://kevinpresbrey.com/contact
I took a look at the console in Chrome and I'm getting this error:
Object [object Object] has no method
I updated the jQuery call for pageside from this:
$(".open").pageslide({ direction: "right"});
To this:
jQuery(".open").pageslide({ direction: "right"});
and it's still blowing the error and causing the pageslide not to function
on the contact page.
Like I mentioned before, it works fine on all the other pages, but the
contact page. I have a feeling that the embedded form that was generated
from constant contact might be causing the issue, but other than that, I
have no idea.
Any suggestions?

No comments:

Post a Comment