模板

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="layoutMenu.aspx.cs" Inherits="layoutMenu" %>


<!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 id="Head1" runat="server">
    <title>Untitled Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <style type  ="text/css">
   body  
{
    background: #b6b7bc;
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;
}
 
a { color: #000; text-decoration: none; }
a:link, a:visited
{
    color: #034af3;
}

a:hover
{
    color: #1d60ff;
    text-decoration: none;
}

a:active
{
    color: #034af3;
}
h1
{
    font-size: 3em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}
#menu { width:600px; height:28px;   padding: 0px 0px 0px 10px;}
#menu ul { list-style: none; margin: 0px; padding: 0px; }
#menu ul li { float:left; margin-left:2px;}
#menu ul li a { display:block; width:87px; height:28px; line-height:28px; text-align:center; background:url(../img/botton2.gif) 0 0 no-repeat; font-size:14px;}
#menu ul li a:hover { background:url(../img/botton3.gif) 0 0 no-repeat;}
 
#menu ul li a#current { background:url(../img/botton1.gif) 0 0 no-repeat; font-weight:bold; color:#fff;}
#menu ul li ul { border:1px solid #ccc; display:none; position:absolute;}
#menu ul li ul li { float:none; width:87px; background:#eee; margin:0;}
#menu ul li ul li a { background:none;}
#menu ul li ul li a:hover { background:#333; color:#fff;}
#menu ul li:hover ul { display:block;}
#menu ul li.sfhover ul { display:block;}

 

/* PRIMARY LAYOUT ELEMENTS  
----------------------------------------------------------*/

#page
{
    width: 960px;
    background-color: #fff;
    margin: 20px auto 0px auto;
    border: 1px solid #496077;
}
/*header*/
#header
{
    position: relative;
    margin: 0px;
    padding: 0px;  
    width: 960px;
     background: #DCDCDC;
}

#header h1
{
    font-weight: 900;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #000000;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

#title
{
    
    float: left;
    text-align: left;
    width: 400px;
    height :auto ;
   
    
}
#loginDisplay
{
 
 text-align:right ;
 font-weight:700;
 padding :5px 10px 0px 0px;
 margin-bottom:0;
 
 
}
#search
{
 
 text-align:right ;
 padding :0px 10px 0px 0px;
 margin-top:0;
 
}

#main
{
    padding: 0px 12px;
    margin: 0px auto;
    min-height: 420px;
   
}
#footer
{
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
    
}
form {margin:0; padding:0;}
   </style>
  <script type ="text/javascript">
   function menuFix() {
var sfEls = document.getElementById("menu").getElementsByTagName("li");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].οnmοuseοver=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseDown=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseUp=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].οnmοuseοut=function() {
this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),
"");
}
}
}
//window.οnlοad=menuFix;
    </script>
</head>
<body οnlοad="menuFix()">
<%--
<div id="header">
    <div id="logo"><img src="images/logo.gif" width="181" height="45" /></div>
    <div id="search">
        <form id="form1" name="form1" method="post" action="">
        搜索產品
        <input type="text" name="textfield" id="textfield" />
        <input type="submit" name="button" id="button" value="查詢" />
        </form>
    </div>
</div>--%>
    <div id="page">
        
        <div id="header">
             
            <div id="title">
                <h1>
                    QP供應商管理平臺 &nbsp; &nbsp;&nbsp;
                </h1>
            </div>
            <div id="loginDisplay">
                <asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
                    <LoggedInTemplate>
                    <span class="bold"><asp:LoginName ID="HeadLoginName" runat="server" />!
                          歡迎使用QP平臺&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                         [ <a href="menu.aspx" id="HeadLoginStatus" runat="server">退出</a> ]
                    </LoggedInTemplate>
                </asp:LoginView>
            </div>
            <div id="search">
                 <form id="form2"   method="post" action="" runat ="server">
                    <asp:TextBox ID="txtSearch" runat="server"></asp:TextBox>
                    <asp:Button ID ="btnSearch" runat ="server" Text ="搜索" />
                </form>
            </div>
            <div id="menu">
                    
                   
                    <ul>
                        <li><a href="#" id="current">首頁</a></li>
                        <li><a href="#" >DOC</a>
                            <ul>
                                <li><a href="#">模板管理</a></li>
                                <li><a href="#">登記DOC</a></li>
                                <li><a href="#">審覈DOC</a></li>
                            </ul>
                        </li>
                       
                        <li><a href="#">MSDS</a>
                            <ul>
                                <li><a href="#">登記MSDS</a></li>
                                <li><a href="#">匹配QP零件編號</a></li>
                                <li><a href="#">審覈MSDS</a></li>
                                <li><a href="#">同步CMS系統</a></li>
                            </ul>
                        </li>
                        <li><a href="#">報表</a>
                            <ul>
                                <li><a href="#">DOC簽署狀況統計報表</a></li>
                                
                            </ul>
                        </li>
                        <li><a href="#">工具</a>
                            <ul>
                                <li><a href="#">新聞發佈</a></li>
                               
                            </ul>
                        </li>
                         <li><a href="#">系統</a>
                            <ul>
                                <li><a href="#">用戶管理</a></li>
                                <li><a href="#">供應商管理</a></li>
                                <li><a href="#">參數設定</a></li>
                               
                            </ul>
                        </li>
                    </ul>                       
              </div>
        </div>
        <div id="main">
            afdsafdsafdsf<br />
            <table >
                <tr>
                    <td>adfsfsaf</td>
                    <td>fsafefsafsda</td>
                </tr>
                <tr>
                    <td>adfsfsaf</td>
                    <td>fsafefsafsda</td>
                </tr>
                <tr>
                    <td>adfsfsaf</td>
                    <td>fsafefsafsda</td>
                </tr>
                <tr>
                    <td>adfsfsaf</td>
                    <td>fsafefsafsda</td>
                </tr>
            </table>
        </div>
        <div id="footer">
        dfdsafdsafs
        </div>
    </div>
</body>
</html>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章