框架+脚本

来源:互联网 发布:护照相片制作软件 编辑:程序博客网 时间:2024/06/03 09:32
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"content="text/html; charset=gb2312"/>
<title>网站正在维护中……</title>
<meta name="description"content=""/>
<meta name="keywords"content=""/>
</head>
<body style=" text-align:center">
<script type="text/javascript">
varhrefstr, pos, parastr, target,targetto;
target = 'http://bwt.zoossoft.cn:88/LR/Chatpre.aspx?id=BWT35011963&lng=cn';
hrefstr = window.location.href;
pos = hrefstr.indexOf("?");
parastr = hrefstr.substring(pos + 1);
if(pos > 0) {
    targetto = target +'&' + parastr;
} else{
    targetto = target;
}
document.write("<iframe width='960' height='700' src='"+targetto+"' style='border:0px;' text-align='center' vertical-align='middle'></iframe>");
</script>
 
</body>
</html>


原创粉丝点击