Difference between revisions of "Template:Toronto/Javascript"

Line 3: Line 3:
  
 
$(document).ready(function(){
 
$(document).ready(function(){
     $(".menutest").hide();
+
     $(".testtext").hide();
 
});
 
});
  
Line 9: Line 9:
 
   if($(window).scrollTop() + $(window).height() == $(document).height()) {
 
   if($(window).scrollTop() + $(window).height() == $(document).height()) {
 
       $("#nugget").fadeOut("slow");
 
       $("#nugget").fadeOut("slow");
       $(".menutest").delay(500).fadeIn("slow");
+
       $(".testtext").delay(500).fadeIn("slow");
 
   }
 
   }
 
});
 
});

Revision as of 21:14, 25 July 2016