[fix] do not use fullpage.js

This commit is contained in:
2021-01-08 23:06:37 +00:00
parent a213f4e89f
commit 64bfe7ceb2
5 changed files with 87 additions and 126 deletions

View File

@@ -6,18 +6,6 @@ $( document ).ready( () => {
$('body').scrollspy({ target: '#main-nav', offset: 130 })
$('#fullpage').fullpage({
// anchors: ['underPage', 'gradPage', 'phdPage'],
sectionsColor: ['#ffffff', '#f8f8f8'],
autoScrolling: false,
css3: true,
fitToSection: false,
afterLoad: function(anchorLink, index) {
// history.pushState(null, null, "");
// console.log(anchorLink);
}
});
// Initialize Console
ConsoleLogHTML.connect(document.getElementById("console")); // Redirect log messages
// ConsoleLogHTML.disconnect(); // Stop redirecting
@@ -329,4 +317,4 @@ function downloadRes(id, tsp, file) {
else {
console.log(id, 'json')
}
}
}