temporaire
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user