Jump to content

MediaWiki:Vector.js: Difference between revisions

no edit summary
(fixing link)
No edit summary
Line 29: Line 29:
var div = document.getElementById("mw-head");
var div = document.getElementById("mw-head");
div.style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[key] + "')";
div.style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[key] + "')";
div.innerHTML += '<span class="nbweek-banner">Happy <a href="https://nonbinary.wiki/wiki/International_Nonbinary_Day">Nonbinary Awareness Week</a>!<br><span class="nbweek-flag">Currently showing the <a href="https://nonbinary.wiki/wiki/' + key + '">' + key + '</a> flag.</span></span>';
div.innerHTML += '<span class="nbweek-banner"><span class="nbweek-flag">Currently showing the <a href="https://nonbinary.wiki/wiki/' + key + '">' + key + '</a> flag.</span></span>';
Cookies help us deliver our services. By using our services, you agree to our use of cookies.