(5 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
}); | }); | ||
}); | }); | ||
+ | |||
$(".right-but").click(function() { | $(".right-but").click(function() { | ||
$("#music").fadeIn(); | $("#music").fadeIn(); | ||
}); | }); | ||
− | + | ||
+ | $(".close-music").click(function() { | ||
+ | $("#music").fadeOut(); | ||
+ | |||
+ | }); | ||
+ | $(".close-results").click(function() { | ||
+ | $("results").fadeOut(); | ||
+ | }); | ||
}); | }); |
Latest revision as of 19:45, 2 December 2016
$(document).ready(function(){
$("#about,#music").hide(); $(".left-but").click(function() { $("#front").fadeOut(function() { $("#about").fadeIn(); }); }); $(".close-jumbo").click(function() { $("#about").fadeOut(function() { $("#front").fadeIn(); }); });
$(".right-but").click(function() { $("#music").fadeIn(); });
$(".close-music").click(function() { $("#music").fadeOut(); }); $(".close-results").click(function() { $("results").fadeOut(); });
});