Difference between revisions of "Template:Marburg/scripts.js"

Line 6: Line 6:
 
     function popup(e) {
 
     function popup(e) {
 
       $("#" + e).css("display", "block");
 
       $("#" + e).css("display", "block");
 +
      $("header").css("top", "15px");
 +
      $(".main").css("margin-top", "15px");
 
       location.hash = "#" + e;
 
       location.hash = "#" + e;
 
     }
 
     }
 
     function hide(e) {
 
     function hide(e) {
 
       $("#" + e).css("display", "none");
 
       $("#" + e).css("display", "none");
      $("header").css("top", "15px");
 
      $(".main").css("margin-top", "15px");
 
 
       location.hash = "";
 
       location.hash = "";
 
     }
 
     }

Revision as of 08:18, 20 November 2019