Difference between revisions of "Template:Toronto/Javascript"

Line 4: Line 4:
 
$(document).ready(function(){
 
$(document).ready(function(){
 
     $(".testtext").hide();
 
     $(".testtext").hide();
}
+
});
  
 
$(window).scroll(function() {   
 
$(window).scroll(function() {   
 
 
 
   if($(window).scrollTop() + $(window).height() == $(document).height()) {
 
   if($(window).scrollTop() + $(window).height() == $(document).height()) {
 
         $("#nugget").fadeOut("slow");
 
         $("#nugget").fadeOut("slow");

Revision as of 21:00, 8 August 2016