Strange Error when using FancyBox and jQuery -
i'm getting error when trying use fancybox
firebug tells me
jquery not defined
f.length;a;)this.addeventlistener(f[--...s.unbind("mousewheel",a)}})})(jquery);
i'm positive paths script , style files correct.
<script type="text/javascript" src="/javascript/jquery.mousewheel-3.0.4.pack.js"> </script> <script type="text/javascript" src="/javascript/jquery-1.4.3.min.js"></script> <script type="text/javascript" src="/javascript/jquery.fancybox-1.3.4.pack.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#enlarge").fancybox({ 'titleshow' : false, 'transitionin' : 'elastic', 'transitionout' : 'elastic', 'easingin' : 'easeoutback', 'easingout' : 'easeinback' });}); </script>
the jquery line should before plugin line. that's why says it's undefined, uses jquery library in source.
<script type="text/javascript" src="/javascript/jquery-1.4.3.min.js"></script> <script type="text/javascript" src="/javascript/jquery.mousewheel-3.0.4.pack.js"> </script> <script type="text/javascript" src="/javascript/jquery.fancybox-1.3.4.pack.js">
Comments
Post a Comment