top.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:7k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page CodeBehind="top.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="qminoa.Webs.top" codePage="936" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title>Untitled Document</title>
  6. <meta name="vs_showGrid" content="False">
  7. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  8. <link rel="stylesheet" href="default.css">
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  10. <script language="JavaScript" type="text/JavaScript">
  11. <!--
  12. function MM_preloadImages() { //v3.0
  13.   var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  14.     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  15.     if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
  16. }
  17. function MM_swapImgRestore() { //v3.0
  18.   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  19. }
  20. function MM_findObj(n, d) { //v4.01
  21.   var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
  22.     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  23.   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  24.   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  25.   if(!x && d.getElementById) x=d.getElementById(n); return x;
  26. }
  27. function MM_swapImage() { //v3.0
  28.   var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  29.    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
  30. }
  31. //-->
  32. </script>
  33. </HEAD>
  34. <body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" onload="MM_preloadImages('button/mainbutton_0up.jpg','button/mainbutton_1up.jpg','button/mainbutton_2up.jpg','button/mainbutton_3up.jpg','button/mainbutton_4up.jpg','button/mainbutton_5up.jpg')">
  35. <TABLE id="Table1" style="HEIGHT: 64px" cellSpacing="0" cellPadding="0" width="100%" background="img/main_bar.jpg" border="0">
  36. <TR>
  37. <TD style="HEIGHT: 80px" width="10%"><IMG src="img/newlogo.jpg"><A onmouseover="MM_swapImage('Image2','','button/mainbutton_0up.jpg',1)" onmouseout="MM_swapImgRestore()"></A></TD>
  38. <TD style="HEIGHT: 80px"><A onmouseover="MM_swapImage('Image0','','button/mainbutton_0up.jpg',1)" onmouseout="MM_swapImgRestore()" onmousedown="MM_goToURL('parent.frames['main']','Content.aspx?tabindex=0&amp;connum=0');return document.MM_returnValue" href="top.aspx?id=0" id="href1"><IMG id="Image0" height="79" width="80" border="0" name="Image0" src="button/mainbutton_0out.jpg"></A></TD>
  39. <TD style="HEIGHT: 80px"><A onmouseover="MM_swapImage('Image1','','button/mainbutton_1up.jpg',1)" onmouseout="MM_swapImgRestore()" onmousedown="MM_goToURL('parent.frames['main']','Content.aspx?tabindex=1&amp;connum=0');return document.MM_returnValue" href="top.aspx?id=1" id="href2"><IMG id="Image1" height="79" width="80" border="0" name="Image1" src="button/mainbutton_1out.jpg"></A></TD>
  40. <TD style="HEIGHT: 80px"><A onmouseover="MM_swapImage('Image2','','button/mainbutton_2up.jpg',1)" onmouseout="MM_swapImgRestore()" onmousedown="MM_goToURL('parent.frames['main']','Content.aspx?tabindex=2&amp;connum=0');return document.MM_returnValue" href="top.aspx?id=2" id="href3"><IMG id="Image2" height="79" width="80" border="0" name="Image2" src="button/mainbutton_2out.jpg"></A></TD>
  41. <TD style="WIDTH: 96px;HEIGHT: 80px"><A onmouseover="MM_swapImage('Image3','','button/mainbutton_3up.jpg',1)" onmouseout="MM_swapImgRestore()" onmousedown="MM_goToURL('parent.frames['main']','Content.aspx?tabindex=3&amp;connum=0');return document.MM_returnValue" href="top.aspx?id=3" id="href4"><IMG id="Image3" height="79" width="80" border="0" name="Image3" src="button/mainbutton_3out.jpg"></A></TD>
  42. <TD style="HEIGHT: 80px"><A onmouseover="MM_swapImage('Image4','','button/mainbutton_4up.jpg',1)" onmouseout="MM_swapImgRestore()" onmousedown="MM_goToURL('parent.frames['main']','Content.aspx?tabindex=4&amp;connum=0');return document.MM_returnValue" href="top.aspx?id=4" id="href5"><IMG id="Image4" height="79" width="80" border="0" name="Image4" src="button/mainbutton_4out.jpg"></A></TD>
  43. <TD style="WIDTH: 20%;HEIGHT: 80px"><A onmouseover="MM_swapImage('Image6','','button/mainbutton_6up.jpg',1)" onmouseout="MM_swapImgRestore()" onmousedown="MM_goToURL('parent.frames['main']','Content.aspx?tabindex=6&amp;connum=0');return document.MM_returnValue" href="top.aspx?id=6" id="href7"><IMG id="Image6" height="79" src="button/mainbutton_6out.jpg" width="80" border="0" name="Image6"></A></TD>
  44. <TD style="WIDTH: 20%;HEIGHT: 80px"></TD>
  45. </TR>
  46. </TABLE>
  47. <TABLE id="Table2" style="HEIGHT: 26px" cellSpacing="0" cellPadding="0" width="100%" background="img/main_bar(2).gif" border="0">
  48. <TR>
  49. <!---->
  50. <td width="120" style="HEIGHT: 1px">
  51. <table cellpadding="0" cellspacing="0" border="0" width="150" height="18">
  52. <TR>
  53. <td onMouseUp="this.className='up'" onMouseDown="this.className='down'" onMouseOver="this.className='up'" title="Show/Hide" onMouseOut="this.className='m'" noWrap align="middle" width="100"><img id="pic" height="16" alt="Show/Hide Menu" hspace="4" src="img/hide_menu.gif" width="16" align="absMiddle" border="0"><span id="dir" onClick="cwin()">隐藏快捷栏</span></td>
  54. <!----></TR>
  55. </table>
  56. </td>
  57. <td width="50" align="middle" style="HEIGHT: 1px"><IMG alt="" src="img/icon_selectHand.gif">
  58. </td>
  59. <TD style="HEIGHT: 1px" align="left" valign="center">
  60. <table style="WIDTH: 800px">
  61. <asp:datalist id="dltTab" runat="server" RepeatDirection="Horizontal" Width="311px" Height="15px" ShowHeader="False" ShowFooter="False" BorderWidth="0px" CellPadding="0" GridLines="Horizontal" BorderStyle="Dotted" HorizontalAlign="Left">
  62. <SelectedItemStyle BorderColor="Red"></SelectedItemStyle>
  63. <SeparatorStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Middle"></SeparatorStyle>
  64. <ItemStyle Font-Size="8pt" Wrap="False" HorizontalAlign="Left" VerticalAlign="Bottom"></ItemStyle>
  65. <ItemTemplate>
  66. <!-- -->
  67. <a href="<%# DataBinder.Eval(Container.DataItem,"url")%>"   target = 'main'>
  68. <font size=2 ><%# DataBinder.Eval(Container.DataItem,"name") %></font>
  69. </a>
  70. </ItemTemplate>
  71. <SeparatorTemplate>
  72. <FONT face="宋体">|</FONT>
  73. </SeparatorTemplate>
  74. </asp:datalist>
  75. </table>
  76. </TD>
  77. </TR>
  78. </TABLE>
  79. <SCRIPT language="javascript">
  80. function cwin()
  81. {if(parent.search.cols!='190,*')
  82. {parent.search.cols='190,*';
  83. document.all.pic.src ="img/hide_menu.gif";document.all.dir.innerHTML="隐藏快捷栏"}
  84. else{parent.search.cols='0,*';
  85. document.all.pic.src ="img/show_menu.gif";document.all.dir.innerHTML="显示快捷栏"}}
  86. function MM_goToURL() { //v3.0
  87.   var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  88.   for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
  89. }
  90. </SCRIPT>
  91. </body>
  92. </HTML>