User:Unmadindu/common.js: Difference between revisions
From CommunityData
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
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;">' + | 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;">' + | ||
'<a href="/Community_Data_Science_Workshops">Courses</a> | <a href="/Community_Data_Science_Workshops">Workshops</a> | <a href="/People">People</a>' + | '<div style="display:table-cell;vertical-align:middle;text-align:center;">' + | ||
'</div>' | '<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); | $('body').append(navbarHtml); |
Revision as of 09:02, 22 January 2017
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);