public static string html_getMenuItem_level_2(menu_2_item menuItem, menu_2_item currentItem) { xjcString s = new xjcString(); string sFontWeight = "font-weight:normal"; if (currentItem == menuItem) { sFontWeight = "font-weight:bold"; } s.append("<div onclick=" + menuItem.ToString() + "()" + " style='"); s.append("float:left;cursor:pointer;padding:3px;padding-right:20px;font-weight:bold;text-decoration:underline;font-size:" + GlobalGui.getFontSize(4) + "px;" + sFontWeight + ";"); s.append("'>"); s.append(getWorkPageHeading(menuItem)); s.append("</div>"); return(s.toString()); }
public static string html_getMenuItem_level_2(menu_2_item menuItem, menu_2_item currentItem) { xjcString s = new xjcString(); string sFontWeight = "font-weight:normal"; if (currentItem == menuItem) sFontWeight = "font-weight:bold"; s.append("<div onclick=" + menuItem.ToString() + "()" + " style='"); s.append("float:left;cursor:pointer;padding:3px;padding-right:20px;font-weight:bold;text-decoration:underline;font-size:" + GlobalGui.getFontSize(4) + "px;" + sFontWeight + ";"); s.append("'>"); s.append(getWorkPageHeading(menuItem)); s.append("</div>"); return s.toString(); }