Difference between revisions of "Template:Reading2"

Line 91: Line 91:
 
}
 
}
 
var subM = document.getElementById("SubMenu");
 
var subM = document.getElementById("SubMenu");
var Menu = document.getElementById("Menu");
 
 
subM.innerHTML= submenuHTML;
 
subM.innerHTML= submenuHTML;
 
var offset = (100*index);
 
var offset = (100*index);
subM.style.left = '(7.5% + ' + offset + 'px)';
+
subM.style.left = offset + 'px';
 
}
 
}
  

Revision as of 12:17, 18 August 2015