js仿新浪微博消息发布功能

前端之家收集整理的这篇文章主要介绍了js仿新浪微博消息发布功能前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

本文实例为大家分享了js仿新浪微博消息发布的具体代码,供大家参考,具体内容如下

<Meta charset="UTF-8"> 仿新浪微博消息发布<a href="/tag/gongneng/" target="_blank" class="keywords">功能</a>

chuan,js为之前写的完美运动框架:

0?Math.ceil(speed):Math.floor(speed);

if(cur!=json[strr])
bBox=false;
if(strr=='opacity')
{
obj.style.filter='alpha(opacity:'+(cur+speed+')');
obj.style.opacity=(cur+speed)/100;
}
else
{
obj.style[strr]=cur+speed+'px';
}
}
if(bBox)
{
clearInterval(obj.timer);
if(fnEnd)fnEnd();
}
},30);
};

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程之家。

猜你在找的JavaScript相关文章