initial commit
This commit is contained in:
commit
709f591ab4
43 changed files with 10863 additions and 0 deletions
2306
js/bootstrap.js
vendored
Normal file
2306
js/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
7
js/bootstrap.min.js
vendored
Normal file
7
js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
js/contact.js
Normal file
3
js/contact.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
$("#contact-btn").click(function() {
|
||||
alert("See, JavaScript works! Did you not trust me?");
|
||||
});
|
4
js/jquery-1.11.2.min.js
vendored
Normal file
4
js/jquery-1.11.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
16
js/main.js
Normal file
16
js/main.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Shorten the navbar after scrolling a little bit down
|
||||
$(window).scroll(function() {
|
||||
if ($(".navbar").offset().top > 50) {
|
||||
$(".navbar").addClass("top-nav-short");
|
||||
} else {
|
||||
$(".navbar").removeClass("top-nav-short");
|
||||
}
|
||||
});
|
||||
|
||||
// On mobile, hide the avatar when expanding the navbar menu
|
||||
$('#main-navbar').on('show.bs.collapse', function () {
|
||||
$(".navbar").addClass("top-nav-expanded");
|
||||
})
|
||||
$('#main-navbar').on('hidden.bs.collapse', function () {
|
||||
$(".navbar").removeClass("top-nav-expanded");
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue