Difference between revisions of "Template:ETH Zurich"

m
m
Line 17: Line 17:
 
var menu = document.getElementById('sidemenu');
 
var menu = document.getElementById('sidemenu');
 
var items = $("#contentContainer h1,h2,h3,h4,h5,h6");
 
var items = $("#contentContainer h1,h2,h3,h4,h5,h6");
 +
if (items.length > 1) {
 
var cur = 0,next=0,count=0;
 
var cur = 0,next=0,count=0;
 
var menuText = "";
 
var menuText = "";
Line 46: Line 47:
 
menu.innerHTML += menuText;
 
menu.innerHTML += menuText;
 
menu.style.display = "block";
 
menu.style.display = "block";
 
+
}
  
 
var items = getElementsByClass('imgBox');
 
var items = getElementsByClass('imgBox');

Revision as of 14:32, 18 August 2015

We would like to thank our sponsors