弹出右下角广告代码(可关闭)
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>弹出右下角广告代码(可关闭)</title>
</head><body>
<div align="center">
<p>
<script >
//download by http://www.111cn.net
document.writeln("<div id="sc" style="position:absolute;;z-index:99999;right:0px;top:400px;width: 322px;border:1px solid #ccc;padding:1px;font-size:12px"><div style="width: 320px;text-align:center;line-height:25px;padding:1px;background: #efefef;"><span onclick="网页特效:closesc()" style="cursor:pointer;">关闭广告 close</span></div><iframe marginheight=0 marginwidth=0 noresize scrolling=no frameborder=0 src=ad/iframe.htm width=320 height=215></iframe></div>")
function closesc(){
document.getelementbyid("sc").innerhtml='';
document.getelementbyid("sc").style.visibility='hidden';
document.getelementbyid("sc").style.display='none';
}
settimeout("closesc();", 15000);
function sc5()
{
document.getelementbyid("sc").style.top=(document.documentelement.scrolltop+document.documentelement.clientheight-document.getelementbyid("sc").offsetheight)+"px";
document.getelementbyid("sc").style.left=(document.documentelement.scrollleft+document.documentelement.clientwidth-document.getelementbyid("sc").offsetwidth)+"px";
}
function scall()
{
sc5();
}
window.onscroll=scall;
window.onresize=scall;
window.onload=scall;
</script>
</p>
</div>
</body>
</html>