间隔弹窗广告js 编辑
源代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>乐易考</title>
<meta name="keywords" content="网络学历,远程学历,学历,认证,乐易考,安博中程远程教育学院"/>
<meta name="description"
content="安博中程乐易考提供远程高等学历教育,统考辅导,职业资格认证培训,企业培训等服务,采用科学教学模式、通过先进的互联网技术平台、融
汇优质教育资源,为学员和企业提供一站式整体解决方案."/>
<link href="http://www.leyikao.com/templets/default/Images/style.css" rel="stylesheet" media="screen" type="text/css"/>
<script type="text/javascript" src="http://www.leyikao.com/templets/default/js/jquery.js"></script>
</head>
<body>
<div style="display: none;" id="LRdiv1">
<div id="LRfloater1" style="z-index: 2147483647; position: fixed ! important;">
<img border="0" usemap="#MapLR" src="http://www.leyikao.com/templets/default/Images/t.gif" width=480 height=300>
<map name="MapLR" id="MapLR">
<area shape="poly"
coords="3,5,452,4,451,18,479,18,480,300,0,300,3,291,3,289"
href="/course/count_ad.php?cid=1&o=t" target="_blank"/>
<area shape="rect" coords="454,4,474,16" onclick="divclose();" />
</map>
</div>
</div>
</body>
<script type="text/javascript">
divon();
$(document).ready(function(){
var o=$("#LRfloater1");
var itop=(document.documentElement.clientHeight-o.height())/2+document.documentElement.scrollTop;
var ileft=(document.documentElement.clientWidth-o.width())/2+document.documentElement.scrollLeft;
o.css({
top:itop+"px",
left:ileft+"px"
});
})
function divclose(){
$("#LRdiv1").css("display","none");
check_close(2);
}
function divon(){
var temp1= $("#LRdiv1").is(":visible");//是否可见
if(temp1="false"){
$("#LRdiv1").css({display:"block"});
}
setTimeout(divon,60000);
}
function zxdiv(){
window.open("http://chat10.live800.com/live800/chatClient/chatbox.jsp?jid=1340831441&companyID=195572&configID=174342&skillId=10417&enterurl=http%3A%2F%2Fwww.leyikao.com%2F&tm=1341541098354");
}
</html>