Difference between revisions of "Template:Reading2"

Line 88: Line 88:
 
var submenuHTML = '';
 
var submenuHTML = '';
 
for(i1 = 0; i1 < pagenames[index].length - 1; i1++){
 
for(i1 = 0; i1 < pagenames[index].length - 1; i1++){
submenuHTML += '<div onclick="gotopage(address['+index+']['+i1+'])" onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + -1 + ')" style = "padding:7px; margin:0px; text-align:left;"><p style = "font-size: 11px; color: #ffffff;text-decoration:none;">' + pagenames[index][i1 + 1] + '</p></div>';
+
if(1)
 +
{
 +
submenuHTML += '<div onclick="gotopage(address['+index+']['+i1+'])" onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + -1 + ')" style = "padding:7px; margin:0px; text-align:left;"><p style = "font-size: 11px; color: #ffffff;text-decoration:none;">' + pagenames[index][i1 + 1] + '</p></div>';
 +
}
 
}
 
}
 
var subM = document.getElementById("SubMenu");
 
var subM = document.getElementById("SubMenu");

Revision as of 10:44, 5 September 2015