<%@ Page language="c#" Codebehind="NavBarAdd.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.Admin.NavBarAdd" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
		<title>NavBarAdd</title> 
		<!--#include file="inc/head.inc"-->
		<script language="javascript">
		$(document).ready(function(){
			$("#cbInside").click(function(){
				if($("#cbInside").attr("checked")){
					$("#txtLink").val("");}else{
					$("#txtLink").val("http://www.");
				}
			})
		});
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<div class="container">
			<div class="sub_container">
				<div class="sub_container_title"><a href="../default.aspx" target="_blank">桌面</a><img src="images/admin_title.jpg" height="9" width="8" align="absMiddle">导航栏添加</div>
				<div class="sub_container_content">
					<form id="Form1" method="post" runat="server">
						<div class="frame">
							<div class="frame_title">导航栏添加</div>
							<div class="frame_content">
								<table class="tableBorder" cellSpacing="1" cellPadding="1" width="100%" align="center"
									border="0">
									<tr>
										<td>
											<table class="ptable" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
												<tr>
													<th class="tl">导航栏名称：</th>
													<td class="tr"><asp:textbox id="txtName" runat="server"></asp:textbox><font color="red">*</font></td>
												</tr>
												<tr>
													<th class="tl">链接地址：</th>
													<td class="tr"><asp:CheckBox id="cbInside" Text="站内链接" Checked="True" runat="server"></asp:CheckBox></br><asp:textbox id="txtLink" width="300px" runat="server"></asp:textbox><br/><font color="red">如果是站内链接，可缩写为与商城根目录相对地址：如default.aspx；<br/>站外链接则应该输入完整的网址：如http://www.xpshop.cn</font></td>
												</tr>
												<tr>
													<th class="tl">目标：</th>
													<td class="tr">
														<asp:DropDownList id="ddlTarget" runat="server">
															<asp:ListItem Value="_self"></asp:ListItem>
															<asp:ListItem Value="_blank"></asp:ListItem>
														</asp:DropDownList><font color="red">_self表示当前页面跳转;_blank表示新窗口中打开</font>
													</td>
												</tr>
												<tr>
													<th class="tl">备注：</th>
													<td class="tr"><asp:textbox id="txtRemark" width="300px" runat="server"></asp:textbox></td>
												</tr>
												<tr>
													<td class="center" colSpan="2"><asp:button id="btnSave" Text="保存" Runat="server"></asp:button><asp:button id="btnCancel" runat="server" Text="取消" CausesValidation="False"></asp:button></td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</body>
</HTML>
