Difference between revisions of "Template:Toronto/Javascript"

Line 1: Line 1:
Edit this page to edit javascript.
+
function f(x) {
 +
alert(x);
 +
}
  
 
$(document).ready(function(){
 
$(document).ready(function(){

Revision as of 20:12, 25 July 2016

function f(x) { alert(x); }

$(document).ready(function(){

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

});

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

});