lots of small improvements, new pages, added htaccess for url rewriting
This commit is contained in:
23
assets/script.js
Normal file
23
assets/script.js
Normal file
@@ -0,0 +1,23 @@
|
||||
$(document)
|
||||
.ready(function() {
|
||||
|
||||
// fix menu when passed
|
||||
$('.masthead')
|
||||
.visibility({
|
||||
once: false,
|
||||
onBottomPassed: function() {
|
||||
$('.fixed.menu').transition('fade in');
|
||||
},
|
||||
onBottomPassedReverse: function() {
|
||||
$('.fixed.menu').transition('fade out');
|
||||
}
|
||||
})
|
||||
;
|
||||
|
||||
// create sidebar and attach to menu open
|
||||
$('.ui.sidebar')
|
||||
.sidebar('attach events', '.toc.item')
|
||||
;
|
||||
|
||||
})
|
||||
;
|
||||
Reference in New Issue
Block a user