devi usare javascript: se ti interessa, ti mando una classe che sto facendo che fa quello che vuoi senza scrivere javascript... Ciao