Skip to content

Commit c706100

Browse files
committed
Added docs link and tooltips to the header bar
1 parent f102363 commit c706100

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<div>
22
<div class="nav-items pull-right">
3-
<a href="http://try.mongodb.org/">Try it Out</a>
4-
<a href="http://www.mongodb.org/downloads">Downloads</a>
5-
<a href="http://www.mongodb.org/get-involved">Community</a>
6-
<a href="http://blog.mongodb.org">Blog</a>
3+
<a href="http://try.mongodb.org/" data-toggle="tooltip" data-placement="bottom" title="Try MongoDB in the browser">Try it Out</a>
4+
<a href="http://www.mongodb.org/downloads" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
5+
<a href="http://www.mongodb.org/get-involved" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
6+
<a href="http://docs.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
7+
<a href="http://blog.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
78
</div>
89
</div>

docs/landing/static/s/js/frontpage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ var toggleDownload = function() {
6161

6262
jQuery(document).ready(function(){
6363
initializeJS();
64+
jQuery('[data-toggle="tooltip"]').tooltip();
6465
jQuery("body").addClass("hljsCode");
6566
hljs.initHighlightingOnLoad();
6667
});
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<div>
22
<div class="nav-items pull-right">
3-
<a href="http://try.mongodb.org/">Try it Out</a>
4-
<a href="http://www.mongodb.org/downloads">Downloads</a>
5-
<a href="http://www.mongodb.org/get-involved">Community</a>
6-
<a href="http://blog.mongodb.org">Blog</a>
3+
<a href="http://try.mongodb.org/" data-toggle="tooltip" data-placement="bottom" title="Try MongoDB in the browser">Try it Out</a>
4+
<a href="http://www.mongodb.org/downloads" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
5+
<a href="http://www.mongodb.org/get-involved" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
6+
<a href="http://docs.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
7+
<a href="http://blog.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
78
</div>
89
</div>

docs/reference/themes/mongodb/static/js/scripts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ function initializeJS() {
1414

1515
jQuery(document).ready(function(){
1616
initializeJS();
17+
jQuery('[data-toggle="tooltip"]').tooltip();
1718
jQuery("body").addClass("hljsCode");
1819
hljs.initHighlightingOnLoad();
1920
});

0 commit comments

Comments
 (0)