risolto...
Codice PHP:
var old_pId = 0;
function attiva(pId){
if(old_pId > 0) document.getElementById("sm_" + old_pId).className = "normale";
document.getElementById("sm_" + pId).className = "attiva";
old_pId = pId
}
risolto...
Codice PHP:
var old_pId = 0;
function attiva(pId){
if(old_pId > 0) document.getElementById("sm_" + old_pId).className = "normale";
document.getElementById("sm_" + pId).className = "attiva";
old_pId = pId
}