This jquery snippet works fine in JSfiddle...
jQuery(document).ready(function() {
jQuery(".link").click(function() {
jQuery('.content-container div').fadeOut('slow');
jQuery('#' + $(this).data('rel')).fadeIn('slow');
});
});
But when I insert it into the footer of my WordPress site I get the following error...
Uncaught TypeError: undefined is not a function
anyone any ideas what I am doing wrong?