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- | 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-weight: bold;">' + | ||
'<div style=" | '<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>' + | ||
'</div>' + | '</div>' + |
Revision as of 09:09, 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-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>'
$('body').append(navbarHtml);