first commit

This commit is contained in:
dev-chiefworks
2022-05-31 16:21:53 -04:00
commit f76abffdcd
5978 changed files with 1078901 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
/* ------------------------------------------------------------------------------
*
* # Page layout with hideable navbar
*
* Specific JS code additions for layout_navbar_hideable.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */
$(function() {
// Hide navbar with Headroom.js library
$(".navbar-fixed-top").headroom({
classes: {
pinned: "headroom-top-pinned",
unpinned: "headroom-top-unpinned"
},
offset: $('.navbar').outerHeight(),
// callback when unpinned, `this` is headroom object
onUnpin: function() {
$('.navbar .dropdown-menu').parent().removeClass('open');
}
});
});