I am using Fancybox. The Fancybox's sample works fine, but when I bring it into my own folder, I get an issue.
If I write:
$(document).ready(
    function() {
        $('.gallery a').fancybox(
            {
                overlayColor : '#060',
                overlayOpacity : .3
            }
        );
});
The Console errors shows:
ReferenceError: $ is not defined 
$(document).ready(
The page didn't work out!
I hit F12 and check all the JS and CSS files' connections, they are connected, but I still get an error. Any idea, please.
 
     
    