skin-middle.ascx

来自「cnForums是功能强大的论坛。开发语言c#,三层结构。模块设计很值得学习」· ASCX 代码 · 共 37 行

ASCX
37
字号
<%@ Register TagPrefix="Forums" Namespace="AspNetForums.Controls" Assembly="AspNetForums.Controls" %>
<%@ Import Namespace="AspNetForums" %>
<%@ Import Namespace="AspNetForums.Controls" %>
<%@ Import Namespace="AspNetForums.Components" %>
<%@ Import Namespace="AspNetForums.Enumerations" %>

<html>
<head>
<Forums:PageTitle runat="server" ID="Pagetitle1"/>
<script>
var cols = window.parent.fstMain.cols;
function hideshow(){
	if(window.parent.fstMain.cols=="0,10,*"){
		frameshow.src="<%=Globals.GetSkinPath()%>/images/hide.gif";
		frameshow.alt="隐藏工具栏"
		window.parent.fstMain.cols=cols;
	}
	else{
		cols = window.parent.fstMain.cols;
		frameshow.src="<%=Globals.GetSkinPath()%>/images/show.gif";
		frameshow.alt="显示工具栏"
		window.parent.fstMain.cols="0,10,*";
	}
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#336699">
<table width="10" border="0" height="100%" cellpadding="0" cellspacing="0" align="left">
  <tr align="center">
    <td style="cursor:hand;">
      <img id=frameshow src="<%=Globals.GetSkinPath()%>/images/hide.gif" alt="隐藏工具栏" onclick="hideshow()">
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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