MediaWiki:AdditionalFooterIcons.js
From Annotationssystem für Biodiversitätsdaten
Revision as of 12:16, 30 March 2015 by L.suhrbier (talk | contribs)
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
addOnloadHook(function() { var links = new Array( "http://wiki.bgbm.org/annosys-intern/images/Logo-BioCASE-88x31.png", "Logo BioCASe", "http://www.biocase.org", "http://wiki.bgbm.org/annosys-intern/images/Logo-GBIF-D-88x31.png", "Logo GBIF", "http://www.gbif.org", "http://wiki.bgbm.org/annosys-intern/images/Logo-FU%20Berlin-88x31.png", "Logo FU-Berlin", "http://www.fu-berlin.de", "http://wiki.bgbm.org/annosys-intern/images/Logo-BGBM-39x31.png", "Logo BGBM", "http://www.bgbm.org", "http://wiki.bgbm.org/annosys-intern/images/Logo-DFG-88x31.png", "Logo DFG", "http://www.dfg.de" ); for(var i=0;i<links.length/3;i++){ var img = document.createElement("img"); img.src = links[i*3]; img.alt = links[i*3+1]; var link = document.createElement("a"); link.href = links[i*3+2]; link.style.paddingLeft = "8px"; link.appendChild(img); if(skin=="vector"){ var li = document.createElement("li"); li.id = "footer-copyrightico" li.appendChild(link); var footer = document.getElementById("footer-icons"); footer.appendChild(li); }else if(skin=="monobook"){ var footer = document.getElementById("f-poweredbyico"); footer.appendChild(link); } } });