Difference between revisions of "Template:Reading2"
Line 90: | Line 90: | ||
if(i1 == pagenames[index].length - 2) | if(i1 == pagenames[index].length - 2) | ||
{ | { | ||
− | |||
− | |||
submenuHTML += '<div onclick="gotopage(address['+index+']['+i1+'])" onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + -1 + ')" style = "border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; padding:7px; margin:0px; text-align:left;"><p style = "font-size: 11px; color: #000000;text-decoration:none;">' + pagenames[index][i1 + 1] + '</p></div>'; | submenuHTML += '<div onclick="gotopage(address['+index+']['+i1+'])" onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + -1 + ')" style = "border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; padding:7px; margin:0px; text-align:left;"><p style = "font-size: 11px; color: #000000;text-decoration:none;">' + pagenames[index][i1 + 1] + '</p></div>'; | ||
+ | }else{ | ||
+ | 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>'; | ||
} | } | ||
} | } |
Revision as of 10:48, 5 September 2015