Modifique el siguiente código js para que se ejecute normalmente en Firefox
#div1{
fondo: #ff9384;
ancho: 100px;
altura: 30px;
}
#div1 a{
pantalla: bloque;
text-align : centro;
padding-top: 5px;
}
#div2{
ancho: 75px;
altura de línea: 10px;
fondo: rojo;
posición: absoluta;
relleno: 5px;
texto- alinear: izquierda;
tamaño de fuente: 12px;
arriba: 1600px;
}
función showme(evt){
var evento = evt || ventana.event;
var newDivObj = document.getElementById("div2");
if(newDivObj == null) return;
newDivObj.style.display = "bloque";
newDivObj.style.left = event.clientX + window.document.documentElement.scrollLeft + 15 +"px";
newDivObj.style.top = event.clientY + window.document.documentElement. scrollTop + 9 + "px";
}
función hideme(){
var newDivObj = window.document.getElementById("div2");
if(newDivObj == null) return;
newDivObj.style.display = "none";
}
¡¡Por favor haz clic en mí!!!