bbs_indexlefttool.jsp

来自「LyBBS基于Struts1.3/Ajax的架构」· JSP 代码 · 共 37 行

JSP
37
字号
<%@ page contentType="text/html; charset=GBK" %>
<html:html>
<head>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<script language=javascript>
function hideList(){
  if(window.parent.main_display.cols=="0,12,*") {
    frameshow1.src="lybbs/images/left.gif";
	  lybbs_tree.title="Close"
  	window.parent.main_display.cols="138,12,*";
  } else {
    frameshow1.src="lybbs/images/right.gif";
    lybbs_tree.title="Open"
    window.parent.main_display.cols="0,12,*";
  }
}
function check() {
  if(window.parent.main_display.cols=="138,12,*") {
    frameshow1.src="lybbs/images/left.gif";
	  lybbs_tree.title="Close"
  }
}
</script>
</head>
<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor=#d6d3ce oncontextmenu=self.event.returnValue=false; onload="check()">
<table width="12" border="0" height="100%" cellpadding="0" cellspacing="0" align="left" bgcolor=#d6d3ce>
  <tr align="center">
    <td> 
      <div id=lybbs_tree onclick="hideList();" title='Open'>
        <img id=frameshow1 src="lybbs/images/right.gif" width="9" height="50">
      </div>
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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