Sha256: dcdeb3abe028a6030ab6542c5a0b0c70ae6c654220a5b08eee1f7971166947d9

Contents?: true

Size: 275 Bytes

Versions: 94

Compression:

Stored size: 275 Bytes

Contents

const p = document.createElement("p");
p.style.textAlign = "center";
p.style.fontSize = "18pt";
p.innerHTML = "C'mon, move your mouse!"
document.body.append(p);

document.addEventListener("mousemove", e => {
  p.innerHTML = `mouseX: ${e.clientX}, mouseY: ${e.clientY}`;  
});

Version data entries

94 entries across 94 versions & 6 rubygems

Version Path
jekyll-zeta-0.9.5.1 assets/js/mouse_coords.js
jekyll-zeta-0.9.5 assets/js/mouse_coords.js
no-style-please2-0.9.3 assets/js/mouse_coords.js
no-style-please2-0.9.2 assets/js/mouse_coords.js
no-style-please-0.4.9 assets/js/mouse_coords.js
no-style-please-0.4.8 assets/js/mouse_coords.js
no-style-please2-0.9.1 assets/js/mouse_coords.js
no-style-please2-0.9.0 assets/js/mouse_coords.js
no-style-please2-0.8.1 assets/js/mouse_coords.js
jekyll-zeta-0.9.4.4 assets/js/mouse_coords.js
jekyll-zeta-0.9.4.3 assets/js/mouse_coords.js
jekyll-zeta-0.9.4.2 assets/js/mouse_coords.js
jekyll-zeta-0.9.4.1 assets/js/mouse_coords.js
jekyll-zeta-0.9.4 assets/js/mouse_coords.js
jekyll-zeta-0.9.3 assets/js/mouse_coords.js
jekyll-zeta-0.9.2.2 assets/js/mouse_coords.js
jekyll-zeta-0.9.2.1 assets/js/mouse_coords.js
jekyll-zeta-0.9.2 assets/js/mouse_coords.js
jekyll-zeta-0.9.1 assets/js/mouse_coords.js
jekyll-zeta-0.9.0 assets/js/mouse_coords.js