css3 - FancyBox - Jquery Errors -



css3 - FancyBox - Jquery Errors -

i using fancybox. fancybox's sample works fine, when bring own folder, issue.

if write:

$(document).ready( function() { $('.gallery a').fancybox( { overlaycolor : '#060', overlayopacity : .3 } ); });

the console errors shows:

referenceerror: $ not defined $(document).ready(

the page didn't work out!

i nail f12 , check js , css files' connections, connected, still error. idea, please.

include jquery.js @ top of javascript file

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

or if have added check file path

jquery css3

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -