Benutzer:BoTeule/vector.js: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt.
 
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
addOnloadHook(function () {
addOnloadHook(function () {
alert(document.location.hostname.indexOf('www.'));
 
  if (document.location.hostname.indexOf("www.") != -1 || document.location.hostname.indexOf("de.") != -1)
  if (document.location.hostname.indexOf("www.") != -1 || document.location.hostname.indexOf("de.") != -1)
{
{
     //document.location.href = "http://kamelopedia.mormo.org/index.php/"+wgPageName;
     //document.location.href = "http://kamelopedia.mormo.org/index.php/"+wgPageName;
     document.getElementById("wwwde").display = "inline";
     document.getElementById("wwwde").style.display = "inline";
}
}
});
});

Version vom 2. November 2010, 17:18 Uhr

addOnloadHook(function () {

 if (document.location.hostname.indexOf("www.") != -1 || document.location.hostname.indexOf("de.") != -1)
{
    //document.location.href = "http://kamelopedia.mormo.org/index.php/"+wgPageName;
    document.getElementById("wwwde").style.display = "inline";
}
});