文件操作 - jquery.simplr.smoothscroll.min.js
返回文件管理
返回主菜单
删除本文件
文件: /root/Desktop/OLD/temi wordpress/recalcati/js/jquery.simplr.smoothscroll.min.js
编辑文件内容
/* jquery.simplr.smoothscroll version 1.0 copyright (c) 2012 https://github.com/simov/simplr-smoothscroll licensed under MIT */; (function (e) { "use strict"; e.srSmoothscroll = function (t) { var platform = window.navigator.platform; if ((platform === 'MacIntel' || platform === 'MacPPC')) { return false }; var n = e.extend({ step: 170, speed: 1000, ease: "swing" }, t || {}); var r = e(window), i = e(document), s = 0, o = n.step, u = n.speed, a = r.height(), f = navigator.userAgent.indexOf("AppleWebKit") !== -1 ? e("body") : e("html"), l = false; e("body").mousewheel(function (e, t) { l = true; if (t < 0) s = s + a >= i.height() ? s : s += o; else s = s <= 0 ? 0 : s -= o; f.stop().animate({ scrollTop: s }, u, n.ease, function () { l = false }); return false }); r.on("resize", function (e) { a = r.height() }).on("scroll", function (e) { if (!l) s = r.scrollTop() }) } })(jQuery);
修改文件时间
将文件时间修改为当前时间的前一年
删除文件