Jump to content

config pc inpact


6387643

Recommended Posts

voila on peu faire des config perso avec pcinpact mais il y a un probleme dès que je veu en faire une il me met :

Voir"; } if (ns4) { document.eval(nObjet).document.write(texte); document.eval(nObjet).document.close(); } else if (ns6) { document.getElementById(nObjet).innerHTML = texte; } else if (ie4) { eval(nObjet).innerHTML = texte; } } function MajPrix(cat) { var total = 0; var gpe = new Array(516659,516660,516661,516662,516663,516664,516665,516666,516667,516668,516669,516672,516673,516671,516670); if (cat>0) { PdtLink(cat); } for (i = 0; i < gpe.length; i++) { select_name = "conf_" + gpe; select_qte_name = "conf_qte_" + gpe; select_value = eval("document.forms.choix_config." + select_name + ".options[document.forms.choix_config." + select_name + ".selectedIndex].value;"); select_value_tab = select_value.split("+"); total = total + eval(select_value_tab[0] * 1); } if (total > 0) { if (((total*100)%100)!=0) { total = total.toString(); total_tab = total.split("."); total = total_tab[0] + "." + total_tab[1].substring(0,2); } document.getElementById("total_euro").innerHTML = total; document.getElementById("total_euro2").innerHTML = total; var total_franc = Math.round(100*parseFloat(total)*6.55957)/100; document.getElementById("total_ff").innerHTML = total_franc; document.getElementById("total_ff2").innerHTML = total_franc; } else { document.getElementById("total_euro").innerHTML = "0"; document.getElementById("total_euro2").innerHTML = "0"; document.getElementById("total_ff").innerHTML = "0"; document.getElementById("total_ff2").innerHTML = "0"; } } function MajPrixStat() { document.getElementById("total_euro").innerHTML = document.getElementById("total_euro2").innerHTML; document.getElementById("total_ff").innerHTML = document.getElementById("total_ff2").innerHTML; } //-->

soit le site plante, soit je ne sais pas comment on fais !

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...