Difference between revisions of "Template:Groningen"

Line 1,003: Line 1,003:
 
   var target = location.hash;
 
   var target = location.hash;
 
  }
 
  }
   
+
 
 +
  console.log(target);
 
  $(document).animate( {
 
  $(document).animate( {
 
   scrollTop: $(target).offset().top },1000,function() {
 
   scrollTop: $(target).offset().top },1000,function() {
Line 1,017: Line 1,018:
 
  if (location.hash){
 
  if (location.hash){
 
   setTimeout(function(){
 
   setTimeout(function(){
    console.log(target);
 
 
     $('html, body').show();
 
     $('html, body').show();
 
     $(document).scrollTop(0);
 
     $(document).scrollTop(0);

Revision as of 19:12, 31 October 2017