MediaWiki:Common.js: Difference between revisions

From CommunityData
No edit summary
No edit summary
Line 5: Line 5:
'</div>'
'</div>'


$('body').append(navbarHtml);
if ($(window).width() > 1400) {
    $('body').append(navbarHtml);
}

Revision as of 23:53, 22 January 2017

var navbarHtml = '<div class="cc_navBar">' + 
    '<div class="cc_navBarContent">' +
        '<a href="https://blog.communitydata.cc/">Research Blog</a> | <a href="/Workshops_and_Classes">Teaching</a> | <a href="/People">People</a> | <a href="/Publications">Publications</a>' +
    '</div>' +
'</div>'

if ($(window).width() > 1400) {
    $('body').append(navbarHtml);
}