MediaWiki:Common.js: Difference between revisions
From CommunityData
No edit summary |
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. */ | ||
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 | 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; transform: translate(-50%, -50%);text-align: center; font-weight: bold;">' + | ||
'<div style="position: inherit; top: 50px; width: 100%;">' + | '<div style="position: inherit; top: 50px; width: 100%;">' + | ||
'<a href="/Community_Data_Science_Workshops">Courses</a> | <a href="/Community_Data_Science_Workshops">Workshops</a> | <a href="/People">People</a>' + | '<a href="/Community_Data_Science_Workshops">Courses</a> | <a href="/Community_Data_Science_Workshops">Workshops</a> | <a href="/People">People</a>' + |
Revision as of 18:53, 22 January 2017
/* Any JavaScript here will be loaded for all users on every page load. */
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; transform: translate(-50%, -50%);text-align: center; font-weight: bold;">' +
'<div style="position: inherit; top: 50px; width: 100%;">' +
'<a href="/Community_Data_Science_Workshops">Courses</a> | <a href="/Community_Data_Science_Workshops">Workshops</a> | <a href="/People">People</a>' +
'</div>' +
'</div>'
$('content').prepend(navbarHtml);