Default.aspx
上传用户:szraylite
上传日期:2018-06-06
资源大小:11546k
文件大小:4k
源码类别:

软件测试

开发平台:

Java

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Main_Default" %>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head id="Head1" runat="server">
  4.     <title>主界面</title>
  5.     <script src="Js/Main.js" type="text/javascript"></script>
  6.     <script src="Js/TabControl.js" type="text/javascript"></script>
  7.     <script>
  8.         //加载皮肤文件
  9.         loadCss(_skinId,'Main.css');
  10.         function ShowMenu()
  11.         {
  12.             if (tdMenu.style.display=='') 
  13.             {
  14.                 tdMenu.style.display='none';
  15.                 $("tdMenu1").title = $("tdMenu2").title = "显示菜单"
  16.             }
  17.             else
  18.             {
  19.                 tdMenu.style.display='';
  20.                 $("tdMenu1").title = $("tdMenu2").title = "隐藏菜单"
  21.             }
  22.         }
  23.     </script>
  24. </head>
  25. <body>
  26. <form id="form1" runat="server">
  27.     <div style="right:10px; top: 5px; position: absolute; height: 21px; text-align:right">
  28.         <a>皮肤:</a><a href="#" onclick="loadSkin('1')">藤蔓绿</a>&nbsp;<a href="#" onclick="loadSkin('2')">经典蓝</a>&nbsp;<a href="#" onclick="loadSkin('3')">甜蜜橙</a>&nbsp;<a href="#" onclick="loadSkin('4')">淡雅灰</a>
  29.     </div>
  30.     <!--把logo图片放在这里--><div class="logopic"></div>
  31.     <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  32.         <tr>
  33.             <td height="60" colspan="2" class="top"></td>
  34.         </tr>
  35.         <tr>
  36.             <td class="menuwidth" id="tdMenu">
  37.                 <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  38.                     <tr>
  39.                         <td class="menu11"></td>
  40.                         <td class="menu12"></td>
  41.                         <td class="menu13"></td>
  42.                     </tr>
  43.                     <tr>
  44.                         <td class="menu21"></td>
  45.                         <td class="menu22" valign="top"><iframe style="width:100%; height:100%" frameborder="0" src="Menu.aspx" ></iframe></td>
  46.                         <td class="menu23" id="tdMenu1" onclick="ShowMenu()">
  47.                         <div class="tripbar">
  48.                            </div>
  49.                         </td>
  50.                     </tr>
  51.                     <tr>
  52.                         <td class="menu31"></td>
  53.                         <td class="menu32"></td>
  54.                         <td class="menu33"></td>
  55.                     </tr>
  56.                 </table>
  57.             </td>
  58.             <td valign="top">
  59.                 <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  60.                     <tr>
  61.                         <td class="right11"></td>
  62.                         <td class="right12"></td>
  63.                         <td class="right13"></td>
  64.                     </tr>
  65.                     <tr>
  66.                         <td class="right21" id="tdMenu2" onclick="ShowMenu()"></td>
  67.                         <td class="right22" valign="top">
  68.                             <script>
  69.                                  var myTab = new HTabControl(_skinId,true);
  70.                                  document.write(myTab.init());
  71.                                  myTab.Cts("系统介绍","default1.aspx")
  72.                             </script>
  73.                         </td>
  74.                         <td class="right23"></td>
  75.                     </tr>
  76.                     <tr>
  77.                         <td class="right31"></td>
  78.                         <td class="right32"></td>
  79.                         <td class="right33"></td>
  80.                     </tr>
  81.                 </table>
  82.             </td>
  83.         </tr>
  84.     </table>
  85. </form>
  86. </body>
  87. </html>