else if(PopAd.Config.CurrentStatus==="Close"){//关闭
if(PopAd.Config.CurrentHeight>0){
if(PopAd.Config.CurrentHeight-PopAd.Config.Step<=0){
PopAd.Config.CurrentHeight=0;
}
else{
PopAd.Config.CurrentHeight-=PopAd.Config.Step;
}
}
else{
window.clearInterval(PopAd.Config.IntervalObj);
PopAd.Config.CurrentStatus=PopAd.Config.AdStatus.Open;
PopAd.Config.ButtonEnabled=true;
$("#CloseDiv").html("展开");
$("#BtOperate").css("background",PopAd.Config.OpenImg);
}
}
jqueryObj.height(PopAd.Config.CurrentHeight);
} ,
if(PopAd.Config.CurrentHeight>0){
if(PopAd.Config.CurrentHeight-PopAd.Config.Step<=0){
PopAd.Config.CurrentHeight=0;
}
else{
PopAd.Config.CurrentHeight-=PopAd.Config.Step;
}
}
else{
window.clearInterval(PopAd.Config.IntervalObj);
PopAd.Config.CurrentStatus=PopAd.Config.AdStatus.Open;
PopAd.Config.ButtonEnabled=true;
$("#CloseDiv").html("展开");
$("#BtOperate").css("background",PopAd.Config.OpenImg);
}
}
jqueryObj.height(PopAd.Config.CurrentHeight);
} ,