In questa funzione
function stampa(id){
.
.
temp1=parseInt(document.getElementById(id).style.l eft
temp2=parseInt(document.getElementById(id).style.t op
alert('temp1:' temp1)
alert(typeof(temp1))
.
.
}
viene fuori un errore, evidenziato anche dall'alert: "temp1: NaN"
cioè dice che ciò che è rilevato da temp1 non è un numero, anche
se il secondo alert dice:"number".
Qualcuno mi sa dire che succede e mi sa dare la soluzione al problema?
Grazie.