Difference between revisions of "Template:Sheffield/scripts/front"

 
Line 1: Line 1:
$(documen).ready(function(){
+
$(document).ready(function(){
 
        
 
        
 
           $("#about,#music").hide();
 
           $("#about,#music").hide();

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();
                });

});