<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
|
<%Session.CodePage=65001%>
|
<% Response.charset = "utf-8"
|
refreshTime = 120
|
%>
|
<!--#include virtual="/inc/chkadmin.gds"-->
|
<!--#include virtual="/inc/function.gds"-->
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head>
|
<title>966120</title>
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="refresh" content="<%=refreshTime%>">
|
<script src="js/jquery.min.js"></script>
|
<script type="text/javascript" src="js/scroll.js"></script>
|
<style>
|
html { overflow-x: hidden; overflow-y: hidden; }
|
* { margin: 0; padding: 0;}
|
.myscroll { margin-top:26px;height: 500px;font-size: 14px;width:100%;line-height: 25px;background-color: #000000;}
|
.myscroll li { height: 26px; margin-left: 25px;list-style-type:none;}
|
.myscroll a { color: #333; text-decoration: none;}
|
.myscroll a:hover { color: #ED5565; text-decoration: underline;}
|
</style>
|
</head>
|
<body bgcolor="#000000" onload="times();">
|
<div style="color:#e7e7e7;line-height:26px;background-color:#343539;border-bottom:#000000 1px solid;" id="_ss"></div>
|
|
<script>
|
var s = <%=refreshTime%>, t;
|
function times(){
|
s--;
|
document.getElementById("_ss").innerHTML = " " + s+"秒后刷新";
|
t = setTimeout('times()', 1000);
|
if ( s <= 0 ){
|
s = 60;
|
clearTimeout(t);
|
}
|
}
|
</script>
|
|
|
|
<script type="text/javascript">
|
setTimeout(function() {JS_ajax("1");},100);//setTimeout 程序执行后500毫秒执行push,但是仅此一次。
|
//setInterval(function() {JS_ajax("1");},60000);//六十秒后执行
|
</script>
|
|
<script type="text/javascript">
|
/*JQ方法 请求函数的ajax*/
|
function Push() {
|
$.ajax({
|
|
type: "POST",
|
url: "TV_Data.gds",//需要跳转到的界面 the page you want to post data
|
data: {
|
data: ''//要传给后台的数据 the data you should send to background
|
},
|
beforeSend: function() {},//在发送之前你可以进行相关操作 what you want to do before send
|
success: function(data) {
|
//需要执行的操作 execute it
|
if (data>0){autoPlay();}
|
}
|
})
|
};
|
|
/*javascript方法 请求函数的ajax*/
|
function JS_ajax(str)
|
{
|
var xmlhttp;
|
page=parseInt(document.getElementById("page").value);
|
if (page>3) {page=1;}
|
zz=parseInt(document.getElementById("zz").value);
|
if (zz>3) {location.reload(true);return false;}
|
document.getElementById("page").value=page+1;
|
document.getElementById("zz").value=zz+1;
|
if (str=="")
|
{
|
document.getElementById("txtHint").innerHTML="";
|
return;
|
}
|
if (window.XMLHttpRequest)
|
{// code for IE7+, Firefox, Chrome, Opera, Safari
|
xmlhttp=new XMLHttpRequest();
|
}
|
else
|
{// code for IE6, IE5
|
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
|
}
|
xmlhttp.onreadystatechange=function()
|
{
|
if (xmlhttp.readyState==4 && xmlhttp.status==200)
|
{
|
document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
|
}
|
}
|
xmlhttp.open("GET","TV_Data.gds?page="+page,true);
|
xmlhttp.send();
|
}
|
</script>
|
<script type="text/javascript">
|
$(function(){
|
$('.myscroll').myScroll({
|
speed: 50, //数值越大,速度越慢
|
rowHeight: 26 //li的高度
|
});
|
});
|
</script>
|
<input id="page" type="hidden" value="1">
|
<input id="zz" type="hidden" value="1">
|
<div id="txtHint" class="myscroll"><ul>
|
<li> </li>
|
<li> </li>
|
<li> </li>
|
<li> </li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
<li></li>
|
</ul></div>
|
</body>
|
</html>
|
|