Can’t get my custom JS to work with this theme. My devloper says it’s not loading the jQuery. ANy Ideas, as to what’s going on??
I want the menu items on the home page to fade out on roll over.
<script>/*document.querySelector( “#nav-toggle” ).addEventListener( “click”, function() {
this.classList.toggle( “active” );
});*/
console.log($);
$(document).ready(function(){
var d = 0;
$(‘#outercorners > #thumb’).each(function () {
$(this).delay(d).fadeIn(1000);
d += 1000;
});
$(“.homepage_hover”).hover(
function() {
$(this).stop().animate({“opacity”: “0”}, “slow”);
$(this).css(“border”,”1px solid red”);
},
function() {
$(this).stop().animate({“opacity”: “1”}, “slow”);
$(this).css(“border”,”1px solid green”);
});