【前端开发】css+xhtml+javascript=前端开发
您的位置:前端开发>fadeIn

fadeIn

  • 归类:javascript 点击:1,032次次 时间:2011-10-26

    function fadeIn(el){ el.style.opacity = 0; el.style.filter = ‘alpha(opacity = 0)’; el.style.display = ‘block’; var n = 0; function fadeShow(){ if (n < 1){ n += 0.1; el.style.opacity = n; el.style.filter = ‘alpha(op...