「javascript/page-bottom」の編集履歴(バックアップ)一覧はこちら
追加された行は緑色になります。
削除された行は赤色になります。
#js(){{{{{
<style>
div#page-bottom {
width: 198px;
text-align: center;
font-size: 20px;
background: #333;
color: #fff;
padding: 5px;
}
</style>
<script type="text/javascript">
$(function() {
var touched = false;
var touch_time = 0;
$("div#page-bottom").bind({
'touchstart mousedown': function(e) {
touched = true;
touch_time = 0;
document.interval = setInterval(function(){
touch_time += 100;
if (touch_time == 1000) {
$('body').animate({
scrollTop: $(document).height()
},2500);
}
}, 100)
e.preventDefault();
},
'touchend mouseup mouseout': function(e) {
touch_time = 0;
touched = false;
clearInterval(document.interval);
e.preventDefault();
}
});
});
</script>
}}}}}
#html2(){
<div id="page-bottom">▼</div>
}
#js(){{{{{
<style>
div#page-bottom {
width: 198px;
text-align: center;
font-size: 20px;
background: #333;
color: #fff;
padding: 5px;
}
</style>
<script type="text/javascript">
$(function() {
var touched = false;
var touch_time = 0;
$("div#page-bottom").bind({
'touchstart mousedown': function(e) {
touched = true;
touch_time = 0;
document.interval = setInterval(function(){
touch_time += 100;
if (touch_time == 1000) {
$('body').animate({
scrollTop: $(document).height()
},1000);
}
}, 100)
e.preventDefault();
},
'touchend mouseup mouseout': function(e) {
touch_time = 0;
touched = false;
clearInterval(document.interval);
e.preventDefault();
}
});
});
</script>
}}}}}
#html2(){
<div id="page-bottom">▼</div>
}
Comments policy & Terms of Use
・ネタバレ自粛期間中はシナリオや真名のネタバレは禁止です!
ネタバレ自粛期間の文字列挿入箇所
・コメントの内容に準じたコメントフォームを利用しましょう!
※報告を扇動したり異なるフォームへの投稿が散見した場合、coや規制対応することがあります
・現在、異なる板へのガチャ報告に利用者が定型文で誘導を行えるようルール改定するか議論中です。
時間がありましたら賛成/反対だけで構わないのでレスの協力お願いします
閉じる