Difference between revisions of "Template:Toronto/Javascript"

Line 1: Line 1:
 
Edit this page to edit javascript.
 
Edit this page to edit javascript.
 +
 +
$(document).ready(function(){
 +
    $("#menutest").hide();
 +
});
 +
 +
$(window).scroll(function() { 
 +
  if($(window).scrollTop() + $(window).height() == $(document).height()) {
 +
      $("#menutest").fadeIn("slow");
 +
  }
 +
});

Revision as of 20:11, 25 July 2016

Edit this page to edit javascript.

$(document).ready(function(){

   $("#menutest").hide();

});

$(window).scroll(function() {   
  if($(window).scrollTop() + $(window).height() == $(document).height()) {
      $("#menutest").fadeIn("slow");
  }

});