Devi aggiungere, tra gli attributi della pop-up, anche top=valore px e left=valore px