1
This is the page: http://www.magicforbaby.com.br/sobre.php
Problem: When I’m at a resolution less than 800px (yes, I’m making use of media queries
), i make the menu retracts in a default figure, then when clicking it opens the menu. But this giving error:
Uncaught ReferenceError: $ is not defined sobre.php:69
Uncaught ReferenceError: urlproduto is not defined VM127:6
On line 69
$(document).ready(function(e){
$(".menuAbrir").click(function() {
$(".menuNav").show();
$(".menuAbrir").hide();
});
$(".menuFechar").click(function() {
$(".menuNav").hide();
$(".menuAbrir").show();
});
});
I have this JQuery
to open the menu as it is included on all pages. But this is giving this error;
More precisely line 69:
$(document).ready(function(e){
What to do?
Maybe it could be the order in which the <script src="jquery.js"> was placed, see if it is being referenced before that script Voce posted.
– Bruno Romualdo
Ex: <script src="jquery.js"> just below <script type="text/javascript"> ...your </script code>
– Bruno Romualdo