MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus e-vendo Wiki
Wechseln zu: Navigation, Suche
Zeile 4: Zeile 4:
 
document.getElementById("btt").addEventListener("mouseenter",function(){ this.style.opacity="1.0", this.style.transition="0.5s" });
 
document.getElementById("btt").addEventListener("mouseenter",function(){ this.style.opacity="1.0", this.style.transition="0.5s" });
 
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" });
 
document.getElementById("nb1").addEventListener("mouseenter",function(){ this.style.BoxShadow="3px 3px 3px #a0a0a0", this.style.transition="0.5s" });
 
document.getElementById("nb1").addEventListener("mouseleave",function(){ this.style.opacity="0.7", this.style.transition="0.5s" });
 
document.getElementById("nb2").addEventListener("mouseenter",function(){ this.style.BoxShadow="3px 3px 3px #a0a0a0", this.style.transition="0.5s" });
 
document.getElementById("nb2").addEventListener("mouseleave",function(){ this.style.opacity="0.7", this.style.transition="0.5s" });
 
document.getElementById("nb3").addEventListener("mouseenter",function(){ this.style.BoxShadow="3px 3px 3px #a0a0a0", this.style.transition="0.5s" });
 
document.getElementById("nb3").addEventListener("mouseleave",function(){ this.style.opacity="0.7", this.style.transition="0.5s" });
 

Version vom 25. Mai 2018, 08:10 Uhr

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

/* back to top-button */
document.getElementById("btt").addEventListener("mouseenter",function(){ this.style.opacity="1.0", this.style.transition="0.5s" });
document.getElementById("btt").addEventListener("mouseleave",function(){ this.style.opacity="0.7", this.style.transition="0.5s" });