Line 13: | Line 13: | ||
}); | }); | ||
}); | }); | ||
+ | |||
$(".right-but").click(function() { | $(".right-but").click(function() { | ||
$("#music").fadeIn(); | $("#music").fadeIn(); | ||
}); | }); | ||
− | + | ||
+ | $(".close-music").click(function() { | ||
+ | $("#music").fadeOut(); | ||
+ | }); | ||
}); | }); |
Revision as of 10:10, 19 October 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(); });
});