「javascript/page-bottom」の編集履歴(バックアップ)一覧はこちら
追加された行は緑色になります。
削除された行は赤色になります。
#js(){{{{{
<style>
div#page-bottom {
width: 198px;
text-align: center;
font-size: 20px;
background: #333;
color: #fff;
padding: 5px;
}
div#page-bottom:before{content: "▼";}
</style>
<script type="text/javascript">
$(function(){
var interval = 750;
$("div#page-bottom").bind("touchstart", function(){
console.log("bbb");
timer = setTimeout( function(){
$('html,body').animate({scrollTop: $(document).height()},1500);
return false;
}, interval );
function clearFunction(){
clearTimeout( timer );
}
$("div#page-bottom").bind( "touchend touchmove touchcancel", clearFunction );
});
$("div#page-bottom").bind("dblclick", function(){
$('html,body').animate({scrollTop: $(document).height()},1500);
return false;
});
});
</script>
}}}}}
#html2(){
<div id="page-bottom"></div>
}
#js(){{{{{
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-88430431-1', 'auto');
ga('send', 'pageview');
</script>
}}}}}
#js(){{{{{
<style>
div#page-bottom {
width: 198px;
text-align: center;
font-size: 20px;
background: #333;
color: #fff;
padding: 5px;
}
div#page-bottom:before{content: "▼";}
</style>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
var interval = 750;
$("div#page-bottom").bind("touchstart", function(){
console.log("bbb");
timer = setTimeout( function(){
$('html,body').animate({scrollTop: $(document).height()},1500);
return false;
}, interval );
function clearFunction(){
clearTimeout( timer );
}
$("div#page-bottom").bind( "touchend touchmove touchcancel", clearFunction );
});
$("div#page-bottom").bind("dblclick", function(){
$('html,body').animate({scrollTop: $(document).height()},1500);
return false;
});
});
</script>
}}}}}
#html2(){
<div id="page-bottom"></div>
}
#js(){{{{{
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-88430431-1', 'auto');
ga('send', 'pageview');
</script>
}}}}}
Comments policy & Terms of Use
・ネタバレ自粛期間中はシナリオや真名のネタバレは禁止です!
ネタバレ自粛期間の文字列挿入箇所
・コメントの内容に準じたコメントフォームを利用しましょう!
※報告を扇動したり異なるフォームへの投稿が散見した場合、coや規制対応することがあります
・現在、異なる板へのガチャ報告に利用者が定型文で誘導を行えるようルール改定するか議論中です。
時間がありましたら賛成/反対だけで構わないのでレスの協力お願いします
閉じる