MediaWiki:Common.js

From CommunityData
Revision as of 21:53, 22 January 2017 by Unmadindu (talk | contribs)

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
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);
}