User:Unmadindu/common.js

From CommunityData
Revision as of 09:02, 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 style="width:400px;height:80px;-webkit-border-radius: 0px 0px 25px 25px;-moz-border-radius: 0px 0px 25px 25px;border-radius: 0px 0px 25px 25px;border:2px solid #A7D7F9;background-color:#FFFFFF;-webkit-box-shadow: #B3B3B3 1px 1px 1px;-moz-box-shadow: #B3B3B3 1px 1px 1px; box-shadow: #B3B3B3 1px 1px 1px; position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);text-align: center; font-style: bold;">' + 
    '<div style="display:table-cell;vertical-align:middle;text-align:center;">' +
        '<a href="/Community_Data_Science_Workshops">Courses</a> | <a href="/Community_Data_Science_Workshops">Workshops</a> | <a href="/People">People</a>' +
    '</div>' +
'</div>'

$('body').append(navbarHtml);