<%@ Control Language="c#" AutoEventWireup="false" Codebehind="NavBar.ascx.cs" Inherits="XpShop.WebUI.Modules.NavBar" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="uc1" TagName="Search" Src="Search.ascx" %>
<div class="nav_bg">
    <div id="navbar">
	        <ul id="nbar">
		        <asp:Repeater runat="server" ID="rptNavBar">
                    <ItemTemplate>
                        <li><a href="<%# DataBinder.Eval(Container.DataItem,"Inside").ToString()=="1"?"/"+System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]+DataBinder.Eval(Container.DataItem,"Link"):DataBinder.Eval(Container.DataItem,"Link") %>" target="<%# DataBinder.Eval(Container.DataItem,"Target") %>"><%# DataBinder.Eval(Container.DataItem,"NavBarName")%></a></li>
                    </ItemTemplate>
                </asp:Repeater>
		    </ul>
		    <div class="nav_search"><uc1:Search id="Search1" runat="server"></uc1:Search></div>
    		
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        $("#nbar li:contains('打折商品')").addClass('special')
    });
</script>
