MediaWiki:Skin/Kamelionary.js: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K (mal gucken ...)
K (testtesttest)
Zeile 2: Zeile 2:
 
{
 
{
 
changeLogoPath();
 
changeLogoPath();
 +
insertFeedback();
 
};
 
};
  
Zeile 7: Zeile 8:
 
{
 
{
 
document.getElementById("p-logo").getElementsByTagName("a")[0].href = "/index.php/Kamelionary:Hauptseite";
 
document.getElementById("p-logo").getElementsByTagName("a")[0].href = "/index.php/Kamelionary:Hauptseite";
 +
}
 +
 +
function insertFeedback()
 +
{
 +
document.getElementById("p-search").innerHTML = document.getElementById("p-search").innerHTML + '<div id="p-feedback" class="portlet"><h5><a href="/index.php/Dung">Rückmeldung</a></h5><div class="pBody">Dieser Eintrag ist</div><ul><li>total geil</li></ul></div></div>'
 
}
 
}

Version vom 24. April 2009, 09:48 Uhr

window.onload = function ()
	{
	changeLogoPath();
	insertFeedback();
	};

function changeLogoPath()
	{
	document.getElementById("p-logo").getElementsByTagName("a")[0].href = "/index.php/Kamelionary:Hauptseite";
	}

function insertFeedback()
	{
	document.getElementById("p-search").innerHTML = document.getElementById("p-search").innerHTML + '<div id="p-feedback" class="portlet"><h5><a href="/index.php/Dung">Rückmeldung</a></h5><div class="pBody">Dieser Eintrag ist</div><ul><li>total geil</li></ul></div></div>'
	}