feat: add sticky bar with smooth scroll

This commit is contained in:
matcornic 2017-08-01 21:20:15 +02:00
parent e37af28876
commit da208441c0
5 changed files with 91 additions and 7 deletions
static/js

View file

@ -56,10 +56,10 @@ images.each(function(index){
});
// Stick the top to the top of the screen when scrolling
//$("#top-bar").stick_in_parent( {
// parent: ".sticky-parent",
// spacer: ".sticky-spacer",
//});
$("#top-bar").stick_in_parent( {
parent: ".sticky-parent",
spacer: ".sticky-spacer",
});
jQuery(document).ready(function() {