initial commit of the hawkBit documentation (#343)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
19
docs/src/main/resources/js/app.js
Normal file
19
docs/src/main/resources/js/app.js
Normal file
@@ -0,0 +1,19 @@
|
||||
$(function(){
|
||||
var headerScroll = 300;
|
||||
$(window).scroll(function() {
|
||||
var scroll = getScroll();
|
||||
if ( scroll >= headerScroll ) {
|
||||
$('.navbar-lp').addClass('scroll');
|
||||
$('.navbar-lp').addClass('scroll-bg');
|
||||
}
|
||||
else {
|
||||
$('.navbar-lp').removeClass('scroll');
|
||||
$('.navbar-lp').removeClass('scroll-bg');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
function getScroll() {
|
||||
return window.pageYOffset || document.documentElement.scrollTop;
|
||||
}
|
||||
});
|
||||
7
docs/src/main/resources/js/jquery.prettyPhoto.js
Normal file
7
docs/src/main/resources/js/jquery.prettyPhoto.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user