⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 popupmanager.ascx

📁 cnForums是功能强大的论坛。开发语言c#,三层结构。模块设计很值得学习
💻 ASCX
字号:
<%@ Import Namespace="AspNetForums.Components" %>
<%@ Register TagPrefix="Forums" Namespace="AspNetForums.Controls" Assembly="AspNetForums.Controls" %>
<style id="popupmanager">
/*******************************************************
popupmanger CSS
author: 宝玉
copy write: cnforums.net
*******************************************************/
.popup{
	font-size:9pt;
	width: 329px;
	height: 74px;
	border: 1px solid #0A246A;
	filter: Alpha(opacity=80);
}
.popup td{
	font-size:9pt;
}
.popupCaption{
	background-image: url(<%=Globals.GetSkinPath()%>/images/popup_bg_caption.gif);
	height: 7px;
}
.popupCaptionText{
	overflow:hidden;
	width: 260;
	height: 100%;
	padding-right: 4px;
	padding-top: 4px;
	text-decoration: underline;
	color: blue;
}

.popupBody{
	background-image: url(<%=Globals.GetSkinPath()%>/images/popup_bg_body.gif);
}
.popupBodyText{
	overflow:hidden;
	width: 100%;
	height: 100%;
	word-break: break-all;
	word-wrap :break-word;
	line-height: 1.1em;
	padding-top: 1px;
	text-decoration: underline;
	color: blue;
}

.popupButton{

}
.popupButtonHover{
	background-color: #0A246A;
}
.popupButtonHover TD{
	background-color: #B6BDD2;
}

.popupMenu{
	width: 177px;
	border: 1px solid #666666;
	background-color: #F9F8F7;
	padding: 1px;
}
.popupMenuTable{
	background-image: url(<%=Globals.GetSkinPath()%>/images/popup_bg_menu.gif);
	background-repeat: repeat-y;
}
.popupMenuTable TD{
	font-size: 9pt;
	cursor: default;
}
.popupMenuRow{
	height: 22px;
	padding: 1px;
}
.popupMenuRowHover{
	height: 22px;
	border: 1px solid #0A246A;
	background-color: #B6BDD2;
}
.popupMenuSep{
	background-color: #A6A6A6;
	height:1px;
	width: expression(parentElement.offsetWidth-27);
	position: relative;
	left: 28;
}
</style>
<table id="popupWin" class="popup" cellspacing="0" cellpadding="0" border="0" onselectstart="return false;" ondragstart="return false;" style="display:;">
	<tr class="popupCaption" id="popupWin_Caption">
		<td align="center"><img src="<%=Globals.GetSkinPath()%>/images/popup_caption.gif" border="0" alt="" /></td>
	</tr>
	<tr class="popupBody" id="popupWin_Body">
		<td valign="top">
			<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
				<tr>
					<td align="center" valign="top" width="46" style="padding-top: 2px;width:46px;" nowrap>
						<img src="<%=Globals.GetSkinPath()%>/images/popup_icon_mail.gif" border="0" alt="" id="popupWin_Icon"/>
					</td>
					<td>
						<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
							<tr height="18">
								<td valign="bottom"><div id="popupWin_CaptionText" class="popupCaptionText">title1</div></td>
								<td align="right" width="18">
									<table cellspacing="1" cellpadding="0" border="0" width="18" height="18" class="popupButton" onmouseover="this.className='popupButtonHover';" onmouseout="this.className='popupButton';" onmousedown="var img=this.rows[0].cells[0].children[0];img.src=img.src.replace('_black','_white');" onmouseup="var img=this.rows[0].cells[0].children[0];img.src=img.src.replace('_white','_black');" id="popupWin_MenuButton">
										<tr>
											<td align="center"><img src="<%=Globals.GetSkinPath()%>/images/icon_arrow_black.gif" border="0" alt="" /></td>
										</tr>
									</table>
								</td>
								<td align="right" width="18">
									<table cellspacing="1" cellpadding="0" border="0" width="18" height="18" class="popupButton" onmouseover="this.className='popupButtonHover';" onmouseout="this.className='popupButton';" id="popupWin_CloseButton">
										<tr>
											<td align="center"><img src="<%=Globals.GetSkinPath()%>/images/popup_icon_close.gif" border="0" alt="" /></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td colspan="2" valign="top">
								<div id="popupWin_BodyText" class="popupBodyText">
								
								</div>
								</td>
							</tr>
							<tr height="9">
								<td/>
								<td/>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<div class="popupMenu" id="popupWin_Menu">
	<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%" class="popupMenuTable">
		<tr height="22">
			<td class="popupMenuRow" onmouseover="this.className='popupMenuRowHover';" onmouseout="this.className='popupMenuRow';" id="popupWin_Menu_Disable">
				<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
					<tr>
						<td width="28">&nbsp;</td>
						<td><Forums:ResourceLabel runat="server" ResourceName="EditProfile_PopupManager_Disable"/></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr height="3">
			<td>
				<div class="popupMenuSep"><img height="1px"></div>
			</td>
		</tr>
		<tr height="22">
			<td class="popupMenuRow" onmouseover="this.className='popupMenuRowHover';" onmouseout="this.className='popupMenuRow';" id="popupWin_Menu_Setting" URL="<%=Globals.GetSiteUrls().UserEditProfile%>">
				<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
					<tr>
						<td width="28">&nbsp;</td>
						<td><Forums:ResourceLabel runat="server" ResourceName="EditProfile_PopupManager_Setting"/></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -