- UID
- 259035
- 帖子
- 57
- 精华
- 0
- 威望
- 0
- 阅读权限
- 100
- 注册时间
- 2005-1-18
|
我设置空间的编码
<script>
var oPopup = window.createPopup();
var popTop=0;
var picwidth=1024;
var picheight=768;
var picadd='http://www.twinsqq.com/bbs/attachment/61_372.jpg
var w3seas=1000;
var w3seah=0;
var w3seaw=0;
var msg=" <span style=\"width:100%;font-weight:bold;color:#CCFFFF;font-size:22px;text-align: center;\">欢迎来到牛奶空间</span>"; ☞内容
var temp=screen.height-30-picheight-w3seah;
var winstr="<div style=\"border:1 solid #000000;width:"+picwidth+";height:"+picheight+";background:url('"+picadd+"');\"><div style='height:444;line-height: "+picheight+"px;'>"+msg+"</div></div>";
oPopup.document.body.innerHTML = winstr;
popshow();
function popshow(){
if(popTop>=picheight+w3seah+w3seas){
clearTimeout(mytime);
oPopup.hide();
return;
}else if(popTop>=picheight+w3seah){
oPopup.show(screen.width-picwidth-w3seaw,screen.height-30-picheight-w3seah,picwidth,picheight);
}else if(popTop>=picheight){
oPopup.show(screen.width-picwidth-w3seaw,screen.height-30-popTop,picwidth,picheight);
}else if(popTop<picheight){
oPopup.show(screen.width-picwidth-w3seaw,screen.height,picwidth,popTop);
}
popTop+=1;
var mytime=setTimeout("popshow();",8);
}
</SCRIPT> |
|