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



Open Eggbert
179Articles

MediaWiki:Common.js: Difference between revisions

(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: $(document).ready(function() { $('#cosmos-header').append(` <ul class="header-links"> <li><a href="/wiki/Clanek1">Článek 1</a></li> <li><a href="/wiki/Clanek2">Článek 2</a></li> <li><a href="/wiki/Clanek3">Článek 3</a></li> <li><a href="/wiki/Clanek4">Článek 4</a></li> <li><a href="/wiki/Clanek5">Článek 5</a></li>...")
 
No edit summary
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function() {
$(document).ready(function() {
     $('#cosmos-header').append(`
     $('#cosmos-header').append('<ul class="header-links"><li><a href="/wiki/lanek1">Článek 1</a></li><li><a href="/wiki/Clanek2">Článek 2</a></li></ul>');
        <ul class="header-links">
            <li><a href="/wiki/Clanek1">Článek 1</a></li>
            <li><a href="/wiki/Clanek2">Článek 2</a></li>
            <li><a href="/wiki/Clanek3">Článek 3</a></li>
            <li><a href="/wiki/Clanek4">Článek 4</a></li>
            <li><a href="/wiki/Clanek5">Článek 5</a></li>
            <li><a href="/wiki/Clanek6">Článek 6</a></li>
        </ul>
    `);
});
});

Revision as of 18:45, 1 September 2024

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