<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Label_IframeModelItem, QianboCMS" EnableEventValidation="false" %>
<!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 rel="stylesheet" href="../Css/layout.css" type="text/css" />
    <script type="text/javascript" src="../../Js/Common.js"></script>
    <script language="javascript" type="text/javascript">
        var menuHit = 0;
        function ShowModelList() {
            if (menuHit == 0) {
                modelMenuList.style.display = "";
                menuHit = menuHit + 1;
            }
            else {
                modelMenuList.style.display = "none";
                menuHit = menuHit - 1;
            }
        }
        function showMenu() {
            modelMenuList.style.display = "";
            menuHit = 1;
        }
    </script>
</head>

<body style="margin: 0px; background-color: transparent;">
    <form id="form1" runat="server">
        <table cellpadding="0" cellspacing="1" class="border" style="border: none;" align="center" id="modelMenuList">
            <asp:Repeater runat="server" ID="repModelList">
                <ItemTemplate>
                    <tr class="tdbg">
                        <a href="SetStyle.aspx?modelId=<%# Eval("ModelId") %>" target="ContentIframe">
                            <td style="cursor: hand;" onmouseover="showMenu();javascript:this.style.backgroundColor='#CCCCCC'" onmouseout="showMenu();javascript:style.backgroundColor='#eef6fb'"><%# Eval("ModelName") %></td>
                        </a>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    <tr class="tdbg">
                        <a href="SetStyle.aspx?modelId=0">
                            <td style="cursor: hand;" onmouseover="showMenu();javascript:this.style.backgroundColor='#CCCCCC'" onmouseout="showMenu();javascript:style.backgroundColor='#eef6fb'">通用样式</td>
                        </a>
                    </tr>
                </FooterTemplate>
            </asp:Repeater>
        </table>
    </form>
</body>
</html>