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

📄 link2.asp

📁 四通政府网站管理系统(绿色界面漂亮可供参考
💻 ASP
字号:
<!--#include file="include/setting.asp" -->
<!--#include file="include/Conn.asp" -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/style.css" type=text/css rel=stylesheet>
<STYLE type=text/css>BODY {
	BACKGROUND-COLOR: #BEEFBE
}
</STYLE>

<SCRIPT language=javascript>
      var isDown = false;
      var upH = 16; // 上箭头的高度
      var upW = 16; //上箭头的宽度
      var downH = 16; //下箭头的高度
      var downW = 16; //下箭头的宽度
      var dragH = 36; // 滚动条的高度
      var dragW = 16; //滚动条的宽度
      var scrollH = 132; //滚动条可移动的高度
      var contentHeight = 0;
      var dragPos = 0;  //滚动条的位置
      var downPos;      //点击位置
      var eventY;
      var clickRate = 0.5; //箭头移动速度
      var direct = 0;
      var timer = 20;

      function move()
      {
        //td1.innerText = event.clientX + "," + event.clientY;
        if (isDown)
        {
          contentHeight = scrollerContent.offsetHeight - 164;
          eventY = event.clientY < 0 ? 0 : event.clientY > 184 ? 184 : event.clientY;
          dragPos += eventY - downPos;
          downPos = eventY;
          dragPos = dragPos < 0 ? 0 : dragPos > scrollH ? scrollH : dragPos;
          drag.style.top = dragPos + upH;
          scrollerContent.style.top = contentHeight / 140 * (-dragPos);
        }
        event.returnValue = false;
      }

      function up()
      {
        isDown = false;
      }

      function down()
      {

        isDown = true;
        downPos = event.clientY;
      }

      function clickmove()
      {
        contentHeight = scrollerContent.offsetHeight - 124;
        dragPos -= clickRate * direct;
        dragPos = dragPos < 0 ? 0 : dragPos > scrollH ? scrollH : dragPos;
        drag.style.top = dragPos + upH;
        scrollerContent.style.top = contentHeight / 160 * (-dragPos);
        if (direct != 0)
        {
          window.setTimeout(clickmove, timer);
        }
      }
    </SCRIPT>

<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<TABLE id=Table1 cellSpacing=0 cellPadding=0 width=163 border=0>
  <TBODY>
  <TR>
    <TD>
      <DIV id=drag 
      style="Z-INDEX: 3; LEFT: 169px; WIDTH: 16px; POSITION: absolute; TOP: 16px; HEIGHT: 38px"><IMG 
      onmouseup=javascript:up(); onmousemove=javascript:move(); 
      onmousedown=javascript:down(); height=36 src="images/sss.gif" 
      width=16></DIV>
      <DIV id=up 
      style="Z-INDEX: 1; LEFT: 169px; WIDTH: 16px; POSITION: absolute; TOP: 0px; HEIGHT: 16px"><IMG 
      onmouseup=javascript:direct=0; onmousemove="return false;" 
      onmousedown=javascript:direct=1;clickmove(); height=16 alt="" 
      src="images/up.gif" width=16 border=0></DIV>
      <DIV id=down 
      style="Z-INDEX: 2; LEFT: 169px; WIDTH: 16px; POSITION: absolute; TOP: 184px; HEIGHT: 16px"><IMG 
      onmouseup=javascript:direct=0; onmousemove="return false;" 
      onmousedown=javascript:direct=-1;clickmove(); height=16 alt="" 
      src="images/down.gif" width=16 border=0></DIV>
      <DIV id=scrollerContentClip 
      style="Z-INDEX: 5; OVERFLOW: hidden; WIDTH: 170px; POSITION: absolute; HEIGHT: 200px">
      <DIV id=scrollerContent style="WIDTH: 170px; POSITION: absolute">
      <TABLE id=Table2 cellSpacing=2 cellPadding=2 width=168 bgColor=#BEEFBE 
      border=0>
        <TBODY>

                <tr> 
                  <td height=20><a class=news href="zfnews.asp?id=27" target="_blank">四通县人大办公室</a></td>
                </tr>

                <tr> 
                  <td height=20><a class=news href="zfnews.asp?id=28" target="_blank">四通县政协办公室</a></td>
                </tr>

                <tr> 
                  <td height=20><a class=news href="zfnews.asp?id=29" target="_blank">四通县国家税务局</a></td>
                </tr>

                <tr> 
                  <td height=20><a class=news href="zfnews.asp?id=30" target="_blank">四通县质量技术监督局</a></td>
                </tr>

                <tr> 
                  <td height=20><a class=news href="zfnews.asp?id=31" target="_blank">四通县水保局</a></td>
                </tr>

                <tr> 
                  <td height=20><a class=news href="zfnews.asp?id=32" target="_blank">四通县广播电视局</a></td>
                </tr>

                <tr> 
                  <td height=20><a class=news href="zfnews.asp?id=33" target="_blank">四通县畜牧局</a></td>
                </tr>

        </TBODY></TABLE></DIV></DIV>
      <DIV id=Layer1 
      style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; Z-INDEX: 1; LEFT: 169px; BACKGROUND-IMAGE: url(images/scroll.gif); BORDER-LEFT: #000000 1px; WIDTH: 16px; BORDER-BOTTOM: #000000 1px; POSITION: absolute; TOP: 16px; HEIGHT: 183px; layer-background-image: url(images/scroll.gif)"></DIV></TD></TR></TBODY></TABLE></BODY></HTML>

⌨️ 快捷键说明

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