页面前台代码:
PopAd.Config.Context = '<center>公告</br></center>默认支持浏览器为IE8,其它浏览器访问时,部分页面会存在兼容性问题。</br>IE8请取消兼容性设置,步骤为:工具->兼容性试图设置->将“兼容性试图中显示internet站点”取消。</br> 新功能介绍请访问hi3ms团队空间,链接在右上角关于我们。';
PopAd.RegesitAd();
js代码:
//右下角弹出广告
var PopAd={
Config:{
Width:255,
Height:150,
Step:12,
PerStepMillisecond:2,
CurrentHeight:0,
CurrentStatus:'',
AdStatus:{Open:'Open',Close:'Close'},
Context:'暂无内容',
ButtonEnabled:false,
CloseImg:'url(img/pop_img/pop_closed.gif) no-repeat right bottom',
OpenImg:'url(img/pop_img/pop_open.gif) no-repeat right bottom',
IntervalObj:null,
IntervalCloseObj:null,
CloseMillisecond:18000//最多停留时间
},