var a = construct();
var opcy = a.css(‘opacity’); // 透明度
var zInx = a.css(‘zIndex’); // 层数
var botm = a.css(‘bottom’).replace(‘px’,”); // 初始到底部距离
var space = T_height – a.height() – a.css(‘bottom’).replace(‘px’,”); // 要移动的距离
var n = space/3; // 变换透明度距离
var step = 1-opcy; // 要变化透明度值
var sec = n/opts.move_step*opts.move_speed/1000; // 距离/单步长 * 单步长秒数 = 需要秒数
var s_opcy = opts.move_speed/1000/sec * step; // 每次循环需要变换的透明度值
var speed_ = getRandomNum(new Number(opts.move_speed)-30,new Number(opts.move_speed)+30);
var currOpcy; // 记录鼠标移入时透明度
// console.log(opts.move_speed+’….’+speed_)
/** 元素移动循环 **/
var s = setInterval(function(){
interVal(a,s_opcy,botm,n,space,s);
}, speed_)
a.mouseover(function(){ // 鼠标移入
currOpcy = a.css(‘opacity’);










