Benutzer:JANNiS/Kamelbau.js: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K (hat „MediaWiki:Skin/Kamel:JANNiS.js“ nach „Kamel:JANNiS/Kamelbau.js“ verschoben: ns)
K (Experiment.)
Zeile 35: Zeile 35:
 
     + '</div>';
 
     + '</div>';
 
  }
 
  }
 +
 +
if (document.getElementById("bodyContent").indexOf("!!Licht aus!!") == -1) {
 +
    document.getElementById('bodyContent').innerHTML+='<div id="serverpriesterlichtaus" style="position:fixed; left:0px; top:0px; width:2000px; height:2000px; background-color:darkblue; opacity: .5; filter: alpha(opacity=50);">&nbsp;</div>';
 +
    document.getElementsByTagName('body')[0].style.overflow='hidden';
 +
  }
 
  /* </nowiki></pre> */
 
  /* </nowiki></pre> */

Version vom 11. Januar 2008, 21:32 Uhr

 /* <pre><nowiki> */ 
 aOnloadFunctions[aOnloadFunctions.length] = function() {
     document.getElementById('bodyContent').innerHTML
     +='<div id="serverpriesternavigation" class="plainlinks">'
     + '<div id="serverpriesterfirstlink">'
     + '<a class="image" title="" href="/index.php/Bild:Award_anonimus.png">'
     + '<img width="30" height="30" longdesc="/index.php/Bild:Award_anonimus.png" alt="" src="/images/thumb/a/a2/Award_anonimus.png/30px-Award_anonimus.png"/>'
     + '</a>'
     + '<span id="serverpriesterfirstlinktext">'
     + '<b>'
     + '<a title="Kamel:JANNiS" href="/index.php/Kamel:JANNiS">Kamelbau</a>'
     + '</b>'
     + '</span>'
     + '</div>'
     + '<div id="serverpriestersecondlink">'
     + '<a class="image" title="" href="/index.php/Bild:WiKa_none.png">'
     + '<img width="30" height="21" longdesc="/index.php/Bild:WiKa_none.png" alt="" src="/images/thumb/b/b2/WiKa_none.png/30px-WiKa_none.png"/>'
     + '</a>'
     + '<span id="serverpriestersecondlinktext">'
     + '<b>'
     + '<a title="Kamel Diskussion:JANNiS" href="/index.php/Kamel_Diskussion:JANNiS">Kamelbox</a>'
     + '</b>'
     + '</span>'
     + '</div>'
     + '<div id="serverpriesterthirdlink">'
     + '<a class="image" title="" href="/index.php/Bild:Kartenh%C3%A4ufigkeit4.png">'
     + '<img width="20" height="20" longdesc="/index.php/Bild:Kartenh%C3%A4ufigkeit4.png" alt="" src="/images/thumb/4/45/Kartenh%C3%A4ufigkeit4.png/20px-Kartenh%C3%A4ufigkeit4.png"/>'
     + '</a>'
     + '<span id="serverpriesterthirdlinktext">'
     + '<b>'
     + '<a title="Projekt:Ka-Mel-Oh!/Programmierung" href="/index.php/Projekt:Ka-Mel-Oh%21/Programmierung">Ka-Mel-Oh! Programming</a>'
     + '</b>'
     + '</span>'
     + '</div>'
     + '</div>';
 }

if (document.getElementById("bodyContent").indexOf("!!Licht aus!!") == -1) {
    document.getElementById('bodyContent').innerHTML+='<div id="serverpriesterlichtaus" style="position:fixed; left:0px; top:0px; width:2000px; height:2000px; background-color:darkblue; opacity: .5; filter: alpha(opacity=50);">&nbsp;</div>';
    document.getElementsByTagName('body')[0].style.overflow='hidden';
  }
 /* </nowiki></pre> */