Benutzer:FProg/monobook.js: Unterschied zwischen den Versionen
imported>FProg (Personal Links -> Memory Alpha Englisch) |
imported>FProg (Trockendock in persönlichen Links) |
||
Zeile 15: | Zeile 15: | ||
/* personal links */ | /* personal links */ | ||
function modplinks() { | function modplinks() { | ||
− | var pcontris = document.getElementById('pt-mycontris').getElementsByTagName('A')[0]; | + | // Meine Beiträge --> Trockendock |
− | pcontris.href='/ | + | var pcontris = document. |
− | pcontris.firstChild.nodeValue=' | + | getElementById('pt-mycontris').getElementsByTagName('A')[0]; |
+ | pcontris.href='/de/index.php/Memory_Alpha:Trockendock'; | ||
+ | pcontris.firstChild.nodeValue='Trockendock'; | ||
+ | |||
} | } | ||
if (window.addEventListener) window.addEventListener("load",modplinks,false); | if (window.addEventListener) window.addEventListener("load",modplinks,false); | ||
else if (window.attachEvent) window.attachEvent("onload",modplinks); | else if (window.attachEvent) window.attachEvent("onload",modplinks); |
Aktuelle Version vom 22. Januar 2005, 12:11 Uhr
/* bottom bar */
function morelinks() {
var tabs = document.getElementById('p-cactions').cloneNode(true);
tabs.id = 'mytabs';
var listitems = tabs.getElementsByTagName('LI');
for (i=0;i<listitems.length;i++) {
if(listitems[i].id) listitems[i].id = 'mytabs-' + listitems[i].id;
}
document.getElementById('column-content').appendChild(tabs);
}
if (window.addEventListener) window.addEventListener("load",morelinks,false);
else if (window.attachEvent) window.attachEvent("onload",morelinks);
/* personal links */
function modplinks() {
// Meine Beiträge --> Trockendock
var pcontris = document.
getElementById('pt-mycontris').getElementsByTagName('A')[0];
pcontris.href='/de/index.php/Memory_Alpha:Trockendock';
pcontris.firstChild.nodeValue='Trockendock';
}
if (window.addEventListener) window.addEventListener("load",modplinks,false);
else if (window.attachEvent) window.attachEvent("onload",modplinks);