jQuery 1.0.2

2020-05-23 06:10:44易采站长站整理

            z.now = from;
            z.a();
            z.timer = setInterval(function(){
                z.step(from, to);
            }, 13);
        };
        // Simple ‘show’ function
        z.show = function( p ){
            if ( !z.el.orig ) z.el.orig = {};
            // Remember where we started, so that we can go back to it later
            z.el.orig[prop] = this.cur();
            // Begin the animation
            if (prop == “opacity”)
                z.custom(z.el.orig[prop], 1);
            else
                z.custom(0, z.el.orig[prop]);
            // Stupid IE, look what you made me do
            if ( prop != “opacity” )
                y[prop] = “1px”;
        };
        // Simple ‘hide’ function
        z.hide = function(){
            if ( !z.el.orig ) z.el.orig = {};
            // Remember where we started, so that we can go back to it later
            z.el.orig[prop] = this.cur();
            z.o.hide = true;