📄 sport.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="sport.aspx.cs" Inherits="sport" %>
<!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 runat="server">
<title>无标题页</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE2 {font-size: 16px}
body {
background-color: #000000;
}
.STYLE3 {color: #3100FF}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>
<SCRIPT language=JavaScript>
<!--
if (document.all){
document.write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
for (xy=0;xy<47;xy++)
document.write('<div style="position:relative;width:3px;height:3px;background:#FFFFFF;font-size:2px;visibility:visible"></div>')
document.write('</div>')
}
if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var yAmpl = 10;
var yMax = 40;
var step = .2;
var ystep = .5;
var currStep = 0;
var tAmpl=1;
var Xpos = 1;
var Ypos = 1;
var i = 0;
var j = 0;
if (document.all)
{
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}
else if (document.layers)
{
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (document.all)
{
yBase = window.document.body.offsetHeight/4;
xBase = window.document.body.offsetWidth/4;
}
else if (document.layers)
{
yBase = window.innerHeight/4 ;
xBase = window.innerWidth/4;
}
if (document.all)
{
var totaldivs=document.all.starsDiv.all.length
for ( i = 0 ; i < totaldivs ; i++ )
{
var tempdiv=document.all.starsDiv.all[i].style
tempdiv.top = Ypos + Math.cos((20*Math.sin(currStep/20))+i*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
tempdiv.left = Xpos + Math.sin((20*Math.sin(currStep/20))+i*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
}
}
else if (document.layers)
{
for ( j = 0 ; j < 47 ; j++ )
{
var templayer="a"+j
document.layers[templayer].top = Ypos + Math.cos((20*Math.sin(currStep/20))+j*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
document.layers[templayer].left =Xpos + Math.sin((20*Math.sin(currStep/20))+j*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
}
}
currStep += step;
setTimeout("animateLogo()", 15);
}
animateLogo();
// -->
</SCRIPT>
<form id="form1" runat="server">
<div>
<table width="807" border="0" align="center">
<tr>
<td width="777"><img src="images/eng.jpg" width="800" height="128" /></td>
</tr>
</table>
<table width="807" border="0" align="center" bgcolor="#666666">
<tr>
<td width="42" align="center" bgcolor="#CCCCCC"><img src="images/1.gif" width="143" height="36" longdesc="images/1.gif" /></td>
<td align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0">
<tr>
<td height="26" align="center" bgcolor="#579ED5">体育首页</td>
<td align="center" bgcolor="#579ED5">奥运会</td>
<td align="center" bgcolor="#579ED5">国内</td>
<td align="center" bgcolor="#579ED5">国际</td>
<td align="center" valign="middle" bgcolor="#579ED5" class="font">
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT * FROM [newsinfo] WHERE (([Newsclass_ID] = ?) AND ([xiao_ID] = ?))">
<SelectParameters>
<asp:ControlParameter ControlID="Label2" Name="Newsclass_ID" PropertyName="Text"
Type="Int32" />
<asp:ControlParameter ControlID="Label3" Name="xiao_ID" PropertyName="Text" Type="Int32" />
</SelectParameters>
</asp:AccessDataSource>
<asp:DataList ID="DataList1" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource1" RepeatDirection="Horizontal">
<ItemTemplate>
|
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("News_ID", "Newscontent.aspx?ID={0}") %>'
Text='<%# Eval("News_Title", "{0}") %>'></asp:HyperLink>
|
</ItemTemplate>
</asp:DataList></td>
<td align="center" valign="middle" bgcolor="#579ED5"><a href="NBA.aspx">NBA</a></td>
</tr>
</table></td>
</tr>
</table>
<table width="807" border="0" align="center">
<tr>
<td bgcolor="#FFFFFF"><img src="images/9.gif" width="77" height="21" longdesc="images/9.gif" />
<marquee class="font1"><SPAN
class="font">这里精彩纷呈,这里扣人心悬,精彩赛事请注意观看!</SPAN> <asp:Label id="Label1" __designer:dtid="1125904201809920" runat="server" Width="250px"></asp:Label>
<asp:Label id="Label2" runat="server" Text="3" __designer:wfdid="w33" Visible="False"></asp:Label>
<asp:Label id="Label3" runat="server" Text="2" __designer:wfdid="w34" Visible="False"></asp:Label>
<asp:Label id="Label4" runat="server" Text="1" __designer:wfdid="w53" Visible="False"></asp:Label>
<asp:Label id="Label5" runat="server" Text="3" __designer:wfdid="w80" Visible="False"></asp:Label>
<asp:Label id="Label6" runat="server" Text="3" __designer:wfdid="w84" Visible="False"></asp:Label>
<asp:Label id="Label7" runat="server" Text="3" __designer:wfdid="w85" Visible="False"></asp:Label>
<asp:Label id="Label8" runat="server" Text="3" __designer:wfdid="w90" Visible="False"></asp:Label>
<asp:Label id="Label9" runat="server" Text="4" __designer:wfdid="w91" Visible="False"></asp:Label>
<asp:Label id="Label10" runat="server" Text="5" __designer:wfdid="w24" Visible="False"></asp:Label>
</marquee></td>
</tr>
</table>
<table width="808" height="1083" border="0" align="center" cellspacing="0">
<tr>
<td height="28" colspan="2" valign="top"><img src="images/spot1.gif" width="366" height="26" longdesc="images/spot1.gif" /></td>
<td width="431" colspan="2" rowspan="5" valign="top" bgcolor="#FFFFFF"><table width="100%" height="197" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="61%" height="197" valign="top"><img src="images/xiaowei.jpg" width="266" height="187" vspace="5" longdesc="images/xiaowei.jpg" /></td>
<td width="39%" valign="top"><table width="100%" height="194" border="0" cellpadding="0" cellspacing="5">
<tr>
<td height="36" colspan="2"><img src="images/bj.gif" width="155" height="22" vspace="5" longdesc="images/bj.gif" /></td>
</tr>
<tr>
<td width="43%" height="73"><img src="images/nba.jpg" width="60" height="50" vspace="2" longdesc="images/nba.jpg" /></td>
<td width="57%"><a href="#" target="_blank">姚明阿联出击NBA新赛季</a> </td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -