temporaire

This commit is contained in:
2021-11-11 11:51:43 +01:00
parent d0c998146d
commit 62f3ac48bb
2 changed files with 46 additions and 40 deletions
+13 -4
View File
@@ -39,10 +39,15 @@
$(window).scroll(function() {
if (isInViewport(document.querySelector('footer')))
{
blockchainExplorer.addBottomBlock();
//blockchainExplorer.addBottomBlock();
console.log("Scroll to footer detected !");
}
/*
if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) {
// blockchainExplorer.addBottomBlock();
console.log("Scroll to footer detected !");
}
$(".slideanim").each(function(){
var pos = $(this).offset().top;
var winTop = $(window).scrollTop();
@@ -51,10 +56,10 @@
$(this).addClass("slide");
}
});
*/
});
blockchainExplorer.init(2);
blockchainExplorer.init(0);
//toggleInfos();
});
@@ -129,6 +134,10 @@
<div id="blockchain" style="position:absolute;top:210px;width:100%"></div>
<div>
Click to see more blocks
</div>
<footer class="container-fluid bg-grey text-center slideanim">
<a href="#myPage" title="To Top">
<span class="glyphicon glyphicon-chevron-up"></span>