(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | $("#about").hide(); | + | $("#about,#music").hide(); |
− | $(".left-but") | + | $(".left-but").click(function() { |
$("#front").fadeOut(function() { | $("#front").fadeOut(function() { | ||
$("#about").fadeIn(); | $("#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(); | ||
+ | }); | ||
}); | }); |
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(); });
});