Board logo

标题: 我设置空间的编码 [打印本页]

作者: jammie    时间: 2005-9-22 21:42     标题: 我设置空间的编码

<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>




欢迎光临 浆糊论坛-RO小站 (http://bbs.rohome.cn/) Powered by Discuz! 7.2