MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus e-vendo Wiki
Wechseln zu: Navigation, Suche
Zeile 2: Zeile 2:
  
 
document.getElementById("btt").addEventListener("mouseenter",function(){ this.style.opacity="1.0", this.style.transition="0.5s", this.style.boxShadow="3px 3px 3px #a0a0a0" });
 
document.getElementById("btt").addEventListener("mouseenter",function(){ this.style.opacity="1.0", this.style.transition="0.5s", this.style.boxShadow="3px 3px 3px #a0a0a0" });
document.getElementById("btt").addEventListener("mouseleave",function(){ this.style.opacity="0.7", this.style.transition="0.5s" });
+
document.getElementById("btt").addEventListener("mouseleave",function(){ this.style.opacity="0.7", this.style.transition="0.5s", this.style.boxShadow="0 0 0" });

Version vom 22. Mai 2018, 12:30 Uhr

/* Das folgende JavaScript wird für alle Benutzer geladen. */

document.getElementById("btt").addEventListener("mouseenter",function(){ this.style.opacity="1.0", this.style.transition="0.5s", this.style.boxShadow="3px 3px 3px #a0a0a0" });
document.getElementById("btt").addEventListener("mouseleave",function(){ this.style.opacity="0.7", this.style.transition="0.5s", this.style.boxShadow="0 0 0" });