1 2 3 4 5 6 7 8 9 10 11
| retour += "<SELECT name='predef_parammodenbjours" + prop + "' onMouseOver = 'return overlib(document.getElementById(\"predef_parammodenbjours" + prop + "\").options[document.getElementById(\"predef_parammodenbjours" + prop + "\").selectedIndex].label,RIGHT,CLOSECLICK,CAPTION,\"PARAMETRES\");' OnMouseOut= 'nd();' ";
if (param[1].slice(0,4) == '<NBJ' ) retour += " >\n";
else retour += " STYLE='DISPLAY:none'>\n";
if (param[1].search('C') != -1){
retour += "<OPTION LABEL='azerty' VALUE=''>Nombre de jours fixe</OPTION>\n";
retour += "<OPTION LABEL='azerty' VALUE='C' SELECTED>Nombre de jours calculé</OPTION>\n";
} else {
retour += "<OPTION LABEL='azerty' VALUE='' SELECTED>Nombre de jours fixe</OPTION>\n";
retour += "<OPTION LABEL='azerty' VALUE='C'>Nombre de jours calculé</OPTION>\n";
}
retour += "</SELECT>\n"; |