「javascript/page-bottom」の編集履歴(バックアップ)一覧はこちら

javascript/page-bottom - (2017/01/17 (火) 21:26:13) の1つ前との変更点

追加された行は緑色になります。

削除された行は赤色になります。

#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> }

表示オプション

横に並べて表示:
変化行の前後のみ表示: