Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
190
rated 0 times [  194] [ 4]  / answers: 1 / hits: 25779  / 15 Years ago, fri, may 1, 2009, 12:00:00

I get a JS error and I can't figure out how to fix it.



When my page loads up, IE7 notifies me of a run time error. In addition, my Firebug on Firefox warns me of an error:



$ is not defined
(?)
[Break on this error] $(document).ready(function() { $(a#sin...Out': 300, 'overlayShow': false }); });


When I go to the lines in question its this:



<script type=text/javascript src=/templates/magazeen/js/jquery/jquery.dropdown.js></script>
<script type=text/javascript>
$(document).ready(function() { $(a#single_image).fancybox(); $(a#inline).fancybox({ 'hideOnContentClick': false }); $(a.group).fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': false }); });
</script>


Any help please.


More From » jquery

 Answers
18

You may have only included the dropdown part of jQuery, and not the whole thing. Try including just the JQuery.js file, without specification as to what part.


[#99613] Monday, April 27, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jarvisjovannia

Total Points: 127
Total Questions: 123
Total Answers: 101

Location: Netherlands
Member since Mon, Jun 7, 2021
3 Years ago
;