Fade navigation in
This commit is contained in:
1 parent
fd4e128bb3
commit
25c395465a
2 files changed
+15
No files matched your search
@@ -65,6 +65,16 @@ var CouchPotato = new Class({
|
||||
self.content = new Element('div.content'),
|
||||
self.block.footer = new Block.Footer(self, {})
|
||||
);
|
||||
|
||||
new ScrollSpy({
|
||||
min: 10,
|
||||
onLeave: function(){
|
||||
$(self.block.header).removeClass('with_shadow')
|
||||
},
|
||||
onEnter: function(){
|
||||
$(self.block.header).addClass('with_shadow')
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
createPages: function(){
|
||||
|
||||
Reference in new issue
Block a user