Benutzer:Ahnenfan/common.js: Unterschied zwischen den Versionen

Aus Westmärker Wiki
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:
  
 
if (1 == 0) {
 
if (1 == 0) {
alert(document.getElementsByTagName('tr').length);
 
document.getElementById("anzahlzeilen").firstChild.innerText=document.getElementsByTagName('tr').length;
 
  
 
}
 
}
 +
document.getElementById("anzahlzeilen").insertBefore(document.createTextNode(document.getElementsByTagName('tr').length), document.getElementById("anzahlzeilen").lastChild);
  
 
/* ╔═════════════════════════════╗
 
/* ╔═════════════════════════════╗

Version vom 15. Januar 2021, 13:13 Uhr

/* ┌──────────────────────────────┐
   │ Tabstop zum Kopieren: "	" │
   └──────────────────────────────┘ */
/* ╔═════════════════════════════╗
   ║                             ║
   ║          TEST-ZONE          ║
   ║                             ║
   ╚═════════════════════════════╝ */

if (1 == 0) {

}
document.getElementById("anzahlzeilen").insertBefore(document.createTextNode(document.getElementsByTagName('tr').length), document.getElementById("anzahlzeilen").lastChild);

/* ╔═════════════════════════════╗
   ║                             ║
   ║          REAL-ZONE          ║
   ║                             ║
   ╚═════════════════════════════╝ */
/* ┌──────────────────────────────┐
   │ Personalisierung             │
   └──────────────────────────────┘ */
/* anfangs in MediaWiki:Common.js, jetzt in Benutzer:Ahnenfan/common.CSS (statt .JS) */