×
Create a new article
Write your page title here:
We currently have 190 articles on Open Eggbert. Type your article name above or click on one of the titles below and start writing!



Open Eggbert
190Articles

MediaWiki:Common.js: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
$(document).ready(function() {
$(document).ready(function() {
     $('.cosmos-header').append(
     $('.cosmos-header').append(
         '<ul class="header-links">' +
         '<div id="menu-oe"><ul class="header-links">' +
             '<li><a href="/wiki/Clanek1">Článek 1</a></li>' +
             '<li><a href="/wiki/Clanek1">Článek 1</a></li>' +
             '<li><a href="/wiki/Clanek2">Článek 2</a></li>' +
             '<li><a href="/wiki/Clanek2">Článek 2</a></li>' +
         '</ul>'
         '</ul></div>'
     );
     );
});
});

Revision as of 18:52, 1 September 2024

/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function() {
    $('.cosmos-header').append(
        '<div id="menu-oe"><ul class="header-links">' +
            '<li><a href="/wiki/Clanek1">Článek 1</a></li>' +
            '<li><a href="/wiki/Clanek2">Článek 2</a></li>' +
        '</ul></div>'
    );
});