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

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

Revision as of 19:44, 2 December 2016

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

});