Good morning.
Linke the javascript on my site as follows:
script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">
andoneofthecodesisthis,insertedjustafterthebody,tosetmenuafterscrolling:
<scripttype="text/javascript">
jQuery("document").ready(function($){
var nav = $('.menu');
$(window).scroll(function () {
if ($(this).scrollTop() > 10) {
nav.addClass("fixar");
} else {
nav.removeClass("fixar");
}
});
</script>
But nothing works, I've already tried the "hello world" to test the js but that does not even work. Anyone have any idea what might be working?