相关疑难解决方法(0)

scrollintoview动画

我的代码在http://jsfiddle.net/mannagod/QT3v5/7/.

JS是:

function delay() {
    var INTENDED_MONTH = 7 //August
    // INTENDED_MONTH is zero-relative
    now = new Date().getDate(),
rows = document.getElementById('scripture').rows;
    if (new Date().getMonth() != INTENDED_MONTH) {
        // need a value here less than 1, 
        // or the box for the first of the month will be in Red
        now = 0.5
    };
    for (var i = 0, rl = rows.length; i < rl; i++) {
        var cells = rows[i].childNodes;
        for (j = 0, cl = cells.length; j …
Run Code Online (Sandbox Code Playgroud)

scroll smooth js-scrollintoview

33
推荐指数
4
解决办法
6万
查看次数

标签 统计

js-scrollintoview ×1

scroll ×1

smooth ×1