mirror of
https://github.com/neocities/neocities.git
synced 2025-05-15 00:47:16 +02:00
streamline CSS, remove google font/cdn dep
This commit is contained in:
parent
ab6abc637e
commit
47344e8bdc
186 changed files with 31689 additions and 1655 deletions
19
public/js/app.js
Normal file
19
public/js/app.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
// do scrolly things on scroll
|
||||
$(window).bind('scroll', function(){
|
||||
if($(this).scrollTop() > 100) {
|
||||
$(".hp-Logo").addClass('in-View');
|
||||
$(".constant-Nav").addClass('in-View');
|
||||
}
|
||||
if($(this).scrollTop() < 100) {
|
||||
$(".hp-Logo").removeClass('in-View');
|
||||
$(".constant-Nav").removeClass('in-View');
|
||||
}
|
||||
});
|
||||
|
||||
$('.small-Nav').click(function(){
|
||||
$('.header-Nav').toggleClass('show-Nav');
|
||||
})
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue