摘要: Math.floor((Math.random()*10000))与(Math.floor(Math.random()*9+1))*1000的最大区别就是随机数范围的随机数个数相差很大,前者的范围更大。 阅读全文
posted @ 2013-02-20 16:45 mabel_on_line 阅读(2263) 评论(0) 推荐(0) 编辑
摘要: 实例来源于http://uc.webdev.lesongapp.cn/recruit_shaoyang/ 登录后的hello pege 气球淡入淡出特效peopleInfoFadeToggle(); setInterval(peopleInfoFadeToggle,3000) function peopleInfoFadeToggle(){ var nodeIndex = Math.floor(Math.random()*6); $('.bubble-box-item').find('.pe... 阅读全文
posted @ 2013-02-20 15:19 mabel_on_line 阅读(572) 评论(0) 推荐(0) 编辑