ok,
con un pò di ricerca ho scoperto come fare...è solo JS...