Hi mrfoxtalbot,
That’s strange as it shouldn’t work with 1.2!
What about if you use the latest version of jQuery (11.1) does this fix it, as 1.8 is quite old now (over a year).
Also, what errors, if any do you get in the console when loading the page? If you provide me with a link to the site I can take a look also.
Many thanks
Peter
Hi and thanks for your reply, Peter.
I updated to the latest version of jQuery as you suggested but that didn´t fix it.
Unfortunately the site is not public right now (thanks so much for offering to give it a look). I can tell you I am getting an error (“TypeError $ is not a function”) regarding this function:
var windowResize = function()
{
console.log($(window).width());
var contentHeight = $(window).height() – $(“#site_header”).outerHeight() – $(“#site_footer”).outerHeight();
$(“#content”).css({minHeight: contentHeight});
};
windowResize();
$(window).resize(windowResize);
Could this be related? Thanks a lot again.
Hi mrfoxtalbot,
There’s the problem then 😉
Whatever is setting that part of jQuery is causing issues on the site and probably stopping other jQuery from working (i.e – mine).
Try disabling other plugins/themes until the error goes away and then you will at least know where the problem is coming from to hunt it down and fix.
Let me know how you get on.
Many thanks
Peter
You’re right, mrfoxtalbot, your code is doing something wrong — it wouldn’t even work on stock WordPress. $ is not a function because WordPress loads jQuery in “noConflict” mode.
Solution: Change each of the “$”s to “jQuery” (note the case).
Hi smhmic,
You are turning into my Responsive Menu jQuery guru, thanks for all the help with this!
As I said, jQuery is not my strong point so thanks again.
foxtalbot can you let me know if the above has fixed your issue?
Many thanks
Peter