风讯修改记录


PublicSite/Public_Function.asp
修改上一页下一页的代码

首页返回EPG
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
If Session("returnURL"= "" Then 
    Session(
"returnURL"= request.servervariables("http_referer")
End If 
'IF request.Cookies("returnURL")="" Then
'
    Response.Cookies("returnURL") = request.servervariables("http_referer")
'
End If
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript">
    
    
//遥控器按键处理
    
function myKeyPress(evt)
    {
        var keyCode 
= evt.which;
        
if(keyCode == 0x07e) /* 返回 */
        {
            window.location
="<% =Session("returnURL") %>";
            
            
//history.go(-1);
        }
        
if(keyCode== 0x12e)   /* 下一页 */
           { window.location
="index2.html";}
        
        return 
true;
    }
    document.onkeypress 
= myKeyPress; 
    
</script>
</head>
<body background="images/bg1.jpg">
<%=Session("returnURL")%>
<div style="position:absolute; left:218px; top:74px; width:45px; height:26px;" ><a href="/news/gj/gj.html"><img src="images/blank.gif" width="45" height="26" border="0"></a> </div>


<div style="position:absolute; left:269px; top:74px; width:45px; height:26px;" ><a href="/news/gn/gn.html"><img src="images/blank.gif" width="45" height="26" border="0"></a></div>

<div style="position:absolute; left:320px; top:74px; width:47px; height:26px;" ><a href="/news/bs/bs.html"><img src="images/blank.gif" width="47" height="26" border="0"></a></div>

<div style="position:absolute; left:372px; top:74px; width:67px; height:26px;" ><a href="/news/whs/whs.html"><img src="images/blank.gif" width="67" height="26" border="0"></a></div>

<div style="position:absolute; left:444px; top:74px; width:46px; height:26px;" ><a href="/news/ds/ds.html"><img src="images/blank.gif" width="46" height="26" border="0"></a></div>

<div style="position:absolute; left:495px; top:74px; width:26px; height:26px;" ><a href="/news/x/x.html"><img src="images/blank.gif" width="26" height="26" border="0"></a></div>


<div style="position:absolute; left:218px; top:104px; width:91px; height:26px;" ><a href="/news/essc/essc.html"><img src="images/blank.gif" width="91" height="26" border="0"></a></div>

<div style="position:absolute; left:313px; top:104px; width:44px; height:26px;" ><a href="/news/mr/mr.html"><img src="images/blank.gif" width="44" height="26" border="0"></a></div>

<div style="position:absolute; left:361px; top:104px; width:48px; height:26px;" ><a href="/news/sz/sz.html"><img src="images/blank.gif" width="48" height="26" border="0"></a></div>

<div style="position:absolute; left:413px; top:104px; width:46px; height:26px;" ><a href="/news/jj/jj.html"><img src="images/blank.gif" width="46" height="26" border="0"></a></div>

<div style="position:absolute; left:464px; top:104px; width:49px; height:26px;" ><a href="/news/ylsd/ylsd.html"><img src="images/blank.gif" width="49" height="26" border="0"></a></div>

<div style="position:absolute; left:517px; top:104px; width:44px; height:26px;" ><a href="/news/ms/ms.html"><img src="images/blank.gif" width="44" height="26" border="0"></a></div>

<div style="position:absolute; left:219px; top:138px; width:86px; height:26px;" ><a href="/news/lvyouluxian/lvyouluxian.html"><img src="images/blank.gif" width="86" height="26" border="0"></a></div>

<div style="position:absolute; left:310px; top:138px; width:51px; height:26px;" ><a href="/news/jindian/jindian.html"><img src="images/blank.gif" width="51" height="26" border="0"></a></div>

<div style="position:absolute; left:365px; top:138px; width:86px; height:26px;" ><a href="/news/lvyoudini/lvyoudini.html"><img src="images/blank.gif" width="86" height="26" border="0"></a></div>

<div style="position:absolute; left:455px; top:138px; width:50px; height:26px;" ><a href="/news/publichouse/publichouse.html"><img src="images/blank.gif" width="50" height="26" border="0"></a></div>

<div style="position:absolute; left:509px; top:138px; width:86px; height:26px;" ><a href="/news/restaurant/restaurant.html"><img src="images/blank.gif" width="86" height="26" border="0"></a></div>

<div style="position:absolute; left:310px; top:174px; width:88px; height:26px;" ><a href="/news/science/science.html"><img src="images/blank.gif" width="88" height="26" border="0"></a></div>

<div style="position:absolute; left:218px; top:174px; width:86px; height:26px;" ><a href="/news/ziran/ziran.html"><img src="images/blank.gif" width="86" height="26" border="0"></a></div>

<div style="position:absolute; left:403px; top:174px; width:44px; height:26px;" ><a href="/news/traffic/traffic.html"><img src="images/blank.gif" width="44" height="26" border="0"></a></div>

<div style="position:absolute; left:451px; top:174px; width:30px; height:26px;" ><a href="/news/internetion/internetion.html"><img src="images/blank.gif" width="30" height="26" border="0"></a></div>

<div style="position:absolute; left:485px; top:174px; width:46px; height:26px;" ><a href="/news/digital/digital.html"><img src="images/blank.gif" width="46" height="26" border="0"></a></div>

<div style="position:absolute; left:218px; top:209px; width:40px; height:26px;" ><a href="/news/zhongkao/zhongkao.html"><img src="images/blank.gif" width="40" height="26" border="0"></a></div>

<div style="position:absolute; left:263px; top:209px; width:39px; height:26px;" ><a href="/news/gaokao/gaokao.html"><img src="images/blank.gif" width="39" height="26" border="0"></a></div>

<div style="position:absolute; left:307px; top:209px; width:56px; height:26px;" ><a href="/news/zhongxiaoxue/zhongxiaoxue.html"><img src="images/blank.gif" width="56" height="26" border="0"></a></div>

<div style="position:absolute; left:367px; top:209px; width:39px; height:26px;" ><a href="/news/daxue/daxue.html"><img src="images/blank.gif" width="39" height="26" border="0"></a></div>

<div style="position:absolute; left:411px; top:209px; width:74px; height:26px;" ><a href="/news/zhiyejiaoyu/zhiyejiaoyu.html"><img src="images/blank.gif" width="74" height="26" border="0"></a></div>

<div style="position:absolute; left:491px; top:209px; width:39px; height:26px;" ><a href="/news/liuxue/liuxue.html"><img src="images/blank.gif" width="39" height="26" border="0"></a></div>

<div style="position:absolute; left:535px; top:209px; width:39px; height:26px;" ><a href="/news/jiajiao/jiajiao.html"><img src="images/blank.gif" width="39" height="26" border="0"></a></div>

<div style="position:absolute; left:217px; top:243px; width:78px; height:26px;" ><a href="/news/jyxx/jyxx.html"><img src="images/blank.gif" width="78" height="26" border="0"></a></div>

<div style="position:absolute; left:299px; top:243px; width:75px; height:26px;" ><a href="/news/zsxx/zsxx.html"><img src="images/blank.gif" width="75" height="26" border="0"></a></div>

<div style="position:absolute; left:378px; top:243px; width:78px; height:26px;" ><a href="/news/ksbd/ksbd.html"><img src="images/blank.gif" width="78" height="26" border="0"></a></div>

<div style="position:absolute; left:460px; top:243px; width:78px; height:26px;" ><a href="/news/ldfg/ldfg.html"><img src="images/blank.gif" width="78" height="26" border="0"></a></div>

<div style="position:absolute; left:542px; top:243px; width:76px; height:26px;" ><a href="/news/qzxd/qzxd.html"><img src="images/blank.gif" width="76" height="26" border="0"></a></div>

<div style="position:absolute; left:217px; top:278px; width:89px; height:26px;" ><a href="/news/hunsha/hunsha.html"><img src="images/blank.gif" width="89" height="26" border="0"></a></div>

<div style="position:absolute; left:311px; top:278px; width:89px; height:26px;" ><a href="/news/zhongai/zhongai.html"><img src="images/blank.gif" width="89" height="26" border="0"></a></div>

<div style="position:absolute; left:217px; top:312px; width:48px; height:26px;" ><a href="/news/football/football.html"><img src="images/blank.gif" width="48" height="26" border="0"></a></div>

<div style="position:absolute; left:269px; top:312px; width:47px; height:26px;" ><a href="/news/baskball/baskball.html"><img src="images/blank.gif" width="47" height="26" border="0"></a></div>

<div style="position:absolute; left:321px; top:312px; width:44px; height:26px;" ><a href="/news/aoyun/aoyun.html"><img src="images/blank.gif" width="44" height="26" border="0"></a></div>

<div style="position:absolute; left:370px; top:312px; width:89px; height:26px;" ><a href="/news/zhonghe/zhonghe.html"><img src="images/blank.gif" width="89" height="26" border="0"></a></div>

<div style="position:absolute; left:464px; top:312px; width:89px; height:26px;" ><a href="/news/junshi/junshi.html"><img src="images/blank.gif" width="89" height="26" border="0"></a></div>

<div style="position:absolute; left:216px; top:346px; width:52px; height:26px;" ><a href="/news/jingrong/jingrong.html"><img src="images/blank.gif" width="52" height="26" border="0"></a></div>

<div style="position:absolute; left:273px; top:346px; width:47px; height:26px;" ><a href="/news/licai/licai.html"><img src="images/blank.gif" width="47" height="26" border="0"></a></div>

<div style="position:absolute; left:325px; top:346px; width:44px; height:26px;" ><a href="/news/baoxian/baoxian.html"><img src="images/blank.gif" width="44" height="26" border="0"></a></div>

<div style="position:absolute; left:374px; top:346px; width:45px; height:26px;" ><a href="/news/jijin/jijin.html"><img src="images/blank.gif" width="45" height="26" border="0"></a></div>

<div style="position:absolute; left:424px; top:346px; width:47px; height:26px;" ><a href="/news/shoucang/shoucang.html"><img src="images/blank.gif" width="47" height="26" border="0"></a></div>

<div style="position:absolute; left:476px; top:346px; width:49px; height:26px;" ><a href="/news/jianbao/jianbao.html"><img src="images/blank.gif" width="49" height="26" border="0"></a></div>

<div style="position:absolute; left:217px; top:382px; width:52px; height:26px;" ><a href="/news/zhongyang/zhongyang.html"><img src="images/blank.gif" width="52" height="26" border="0"></a></div>

<div style="position:absolute; left:273px; top:382px; width:47px; height:26px;" ><a href="/news/bensheng/bensheng.html"><img src="images/blank.gif" width="47" height="26" border="0"></a></div>

<div style="position:absolute; left:324px; top:382px; width:44px; height:26px;" ><a href="/news/dishi/dishi.html"><img src="images/blank.gif" width="44" height="26" border="0"></a></div>

<div style="position:absolute; left:372px; top:382px; width:23px; height:26px;" ><a href="/news/xian/xian.html"><img src="images/blank.gif" width="23" height="26" border="0"></a></div>

<div style="position:absolute; left:399px; top:382px; width:68px; height:26px;" ><a href="/news/lianheguo/lianheguo.html"><img src="images/blank.gif" width="68" height="26" border="0"></a></div>

<div style="position:absolute; left:216px; top:417px; width:340px; height:26px;" ><a href="/news/dianxinyewu/dianxinyewu.html"><img src="images/blank.gif" width="340" height="26" border="0"></a></div>

<div style="position:absolute; left:562px; top:446px; width:45px; height:28px;" ><a href="./index2.html"><img src="images/blank.gif" width="45" height="28" border="0"></a></div>

<div style="position:absolute; left:325px; top:489px; width:76px; height:28px;" ><img src="images/blank.gif" width="76" height="28" border="0"></div>

</body>
</html>

内容列表上下页遥控器控制翻页
<html>
<head>
  
<title>无标题文档</title>
   
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  
<style type="text/css">
<!--
body 
{
 font-size
: 24px;
 line-height
: 45px;
}
a:active, a:visited ,a:link
{
 color
:#eeeeee;
 text-decoration
: none;
}
a:hover
{
 color
:#0000CC;
}
.newslist ul 
{
 margin-bottom
: 0px;
 list-style-type
: none;
 line-height
: 24px;
}
.newslist .h12
{
 vertical-align
: middle;
 padding-top
: 14px;
 padding-bottom
: 14px;
}
-->
</style>
   
<script language="javascript">
//<![CDATA[
//
遥控器按键处理
 function myKeyPress(evt)
 {
 
var keyCode = evt.which;
  
if(keyCode == 0x07e)
  {
      
//在这里 加入你需要返回的"返回"页面链接
     window.location.href="http://58.53.192.106:81/";
  }
 
var objPrePage = document.getElementById("prePage");
 
var objNextPage = document.getElementById("nextPage");
 alert(objPrePage);
alert(objNextPage);
 
 
if (objPrePage!=null){
  
if(keyCode == 0x12d)
  {
   
//在这里加入上一页的页面链接
   window.location.href=document.getElementById("prePage").href;
  }
  
 }
 
if(objNextPage!=null){
  
if(keyCode == 0x12e)
  {
   
//在这里加入下一页的页面链接
    window.location.href=document.getElementById("nextPage").href;
  }
 }
  
  
return true;
 }
 
//document.onkeypress = myKeyPress;
//
]]>
</script>
</head>
<body background="/templets/iptv/images/listbg.jpg">
   
<div style="LEFT: 110px; WIDTH: 416px; COLOR: #ffff00; POSITION: absolute; TOP: 104px; HEIGHT: 38px; TEXT-ALIGN: center">{FS400_栏目名称}</div>
   
<div style="LEFT: 52px; WIDTH: 570px; COLOR: #ffffff; POSITION: absolute; TOP: 143px; HEIGHT: 278px">{FS400_MyNewsList}</div>
   
   
<script language="javascript">
           document.onkeypress 
= myKeyPress;
   
</script>
   
</body>
</html>
posted @ 2007-06-11 11:25  涂文瀚  阅读(321)  评论(0编辑  收藏  举报
foot