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

📄 left.htm

📁 三鸟个人网站源码。
💻 HTM
字号:
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
<!-- Hide
function killErrors() {
return true;
}
window.onerror = killErrors;
// -->
</SCRIPT>

<STYLE>TABLE {
	FONT-SIZE: 12px; CURSOR: hand; COLOR: #330000
}
TD {
	TEXT-ALIGN: center
}
.clicked {
	BORDER-RIGHT: #c0c0c0 1px inset; BORDER-TOP: #c0c0c0 1px inset; BORDER-LEFT: #c0c0c0 1px inset; BORDER-BOTTOM: #c0c0c0 1px inset
}
.mouseon {
	BORDER-RIGHT: black 1px outset; BORDER-TOP: white 1px outset; BORDER-LEFT: white 1px outset; BORDER-BOTTOM: black 1px outset
}
.tab {
	BORDER-LEFT-COLOR: #808080; BORDER-BOTTOM-COLOR: black; WIDTH: 100%; COLOR: black; BORDER-TOP-COLOR: #808080; BACKGROUND-COLOR: #c0c0c0; BORDER-RIGHT-COLOR: black
}
.button {
	WIDTH: 16px; POSITION: absolute; HEIGHT: 16px
}
.buttonmouseon {
	BORDER-RIGHT: black 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-BOTTOM: black 1px solid
}
.buttonclicked {
	BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-BOTTOM: #ffffff 1px solid
}
</STYLE>
</HEAD>
<BODY id=bodycontents bgColor=#708090 leftMargin=0 topMargin=0 scroll=no>
<SCRIPT language=JScript.Encode>
var clickedButton
var clickedImage
var oldButton
var oldImage
var nowButtonIndex
var nowBarIndex
var nowBar
var numButton
var bds
var bus
grayScale = true
indexOfBar = new Array
underBarHeight = 0
numBar = 0
features = "toolbar=yes, location=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes"
var mainhref
function addbar(text, href, target)
{
return new bar(text, href, target)
}

function bar(text, href, target)
{
indexOfBar[numBar] = this
this.text = text
this.href = href
this.target = target
this.index = numBar++
this.children = new Array
this.nChildren = 0
}

function addbutton(parent, text, href, target, image, status)
{
parent.children[parent.nChildren++] = new button(text, href, target, image, status)
}

function button(text, href, target, image, status)
{
this.text = text
this.href = href
this.target = target
this.image = image
this.status = status
}

function initializeBar(selectButton)
{
var i = 0
with (document)
     {
     for (i = 0; i < numBar; i++)
         {
         write("<table id='table" + i + "'onclick=clickOnBar(" + i +") class=tab onmouseover=style.color=txtovercolor onmouseout=style.color=txtoutcolor border=1 cellspacing=1 bordercolorlight=#c0c0c0 bordercolordark=#ffffff cellpadding=1 >"
              + "<tr><td>" + indexOfBar[i].text + "</td></tr></table>")
         indexOfBar[i].tabObj = all["table" + i].style
         }
     write("<table height=7><tr><td></td></tr></table>")
     }
for (i = 0; i < numBar; i++)
    {
    nowBarIndex = i
    showbar(indexOfBar[i])
    }
nowBar = indexOfBar[numBar - 1]
nowBarIndex = numBar - 1
for (i = 0; i < numBar - 1; i++)
    displayButton(indexOfBar[i], "none")
numButton = nowBar.nChildren
lastButton = document.all["s" + nowBarIndex + (numButton - 1)]
maxHeight = lastButton.offsetTop + 55
nowButtonIndex = 0
bds = buttondown.style
bus = buttonup.style
fcs = frameClose.style
fcs.left = bodycontents.clientWidth - 16
fcs.display = ""
if (bodycontents.clientHeight < maxHeight)
   {
   bds.top = bodycontents.clientHeight - 20
   bds.left = bodycontents.clientWidth - 20
   bds.display = ""
   }
if (selectButton)
   {
   if (grayScale)
      {
      clickedImage = document.images["imgs" + selectButton]
      clickedImage.style.filter = 0
      }
   clickedButton = document.all["s" + selectButton]
   clickedButton.className = "clicked"
   }
pathName = document.location.href
pathName = pathName.substring(0, pathName.lastIndexOf("/") + 1) + "image/display.gif"

}

function showbar(bar)
{
var i = 0
nChildren = bar.nChildren
for (i = 0; i < nChildren; i++)
    {
    button = bar.children[i]
    target = (button.target)? "' target='" + button.target : ""
    Status = (button.status)? "' status='" + button.status : ""
    filter = (grayScale)? "id='imgs" + nowBarIndex + i + "' style='filter:gray' " : ""
    with (document)
         {
         write("<table id='s" + nowBarIndex + i + "' url='" + button.href + target + Status + "' cellspacing=0 cellpadding=0 width=37 height=37 onmouseover=mouseon(this) onmouseout=mouseout(this) onmousedown=mousedown(this) onmouseup=mouseup(this)>"
              + "<tr><td><img " + filter + "src='" + button.image + "'></td></tr></table>"
              + "<table id='label" + nowBarIndex + i + "'><tr><td>" + button.text + "</td></tr><tr height=6><td></td></tr></table>")
         button.imgObj = all["s" + nowBarIndex + i].style
         button.labObj = all["label" + nowBarIndex + i].style
         }
    }
}

function displayButton(bar, displayStyle)
{
nChildren = bar.nChildren
for (i = 0; i < nChildren; i++)
    with (bar.children[i])
         {
         imgObj.display = displayStyle
         labObj.display = displayStyle
         }
}

function clickOnBar(index)
{
if (nowBar != indexOfBar[index])
   {
   for (i = index; i > nowBarIndex; i--)
       with (indexOfBar[i].tabObj)
            {
            position = "relative"
            left = ""
            top = ""
            }
   for (i = index + 1; i <= nowBarIndex; i++)
       with (indexOfBar[i].tabObj)
            {
            position = "absolute"
            left = 0
            top = bodycontents.clientHeight - 20 * (numBar - i)
            }
   displayButton(nowBar, "none")
   nowBar = indexOfBar[index]
   nowBarIndex = index
   displayButton(nowBar, "")
   underBarHeight = 20 * (numBar - nowBarIndex - 1)
   numButton = nowBar.nChildren
   lastButton = document.all["s" + nowBarIndex + (numButton - 1)]
   maxHeight = lastButton.offsetTop + 55 + underBarHeight
   window.onresize()
   nowButtonIndex = 0
   bus.display = "none"
   }
if (nowBar.href)
   {
   window.open(nowBar.href, nowBar.target)
   if (clickedButton)
      {
      clickedButton.className = ""
      clickedButton = ""
      if (grayScale)
         {
         clickedImage.style.filter = "gray"
         clickedImage = ""
         }
      }
   }
}

function mouseon(button)
{
if (clickedButton != button)
   {
   button.className = "mouseon"
   if (grayScale) document.images["img" + button.id].style.filter = 0
   }
if (button.status) window.status = button.status
}

function mouseout(button)
{
if (clickedButton != button)
   {
   button.className = ""
   if (grayScale) document.images["img" + button.id].style.filter = "gray"
   }
window.status = ""
}

function mousedown(button)
{
if (window.event.button == 1)
   {
   oldButton = clickedButton
   clickedButton = button
   if (grayScale)
      {
      oldImage = clickedImage
      clickedImage = document.images["img" + button.id]
      }
   button.className = "clicked"
   }
}

function mouseup(button)
{
if (window.event.button == 1)
   {
   if (oldButton && oldButton != clickedButton)
      {
      oldButton.className = ""
      if (grayScale) oldImage.style.filter = "gray()"
      }
   window.open(button.url, (window.event.shiftKey)? "_blank" : button.target, features)
   }
}

function upclick()
{
if (nowButtonIndex)
   {
   document.all["s" + nowBarIndex + --nowButtonIndex].style.display = ""
   document.all["label" + nowBarIndex + nowButtonIndex].style.display = ""
   maxHeight = lastButton.offsetTop + 55 + underBarHeight
   window.onresize()
   }
if (!nowButtonIndex) bus.display = "none"
}

function downclick()
{
if (nowButtonIndex < numButton - 1)
   {
   document.all["s" + nowBarIndex + nowButtonIndex].style.display = "none"
   document.all["label" + nowBarIndex + nowButtonIndex++].style.display = "none"
   if (bus.display = "none")
      {
      bus.top = 20 * (nowBarIndex + 1) + 5
      bus.left = bodycontents.clientWidth - 20
      bus.display = ""
      }
   maxHeight = lastButton.offsetTop + 55 + underBarHeight
   window.onresize()
   }
}

function window.onresize()
{
bodyHeight = bodycontents.clientHeight
bodyWidth = bodycontents.clientWidth
if (bodyHeight < maxHeight)
   {
   bds.top = bodyHeight - 20 - underBarHeight
   bds.left = bodyWidth - 20
   bds.display = ""
   }
else
   {
   if (bodyHeight > maxHeight + 66) upclick()
   bds.display = "none"
   }
bus.left = bodyWidth - 20
fcs.left = bodyWidth - 16
if (nowBarIndex < numBar - 1)
   for (i = numBar - 1; i > nowBarIndex; i--)
       indexOfBar[i].tabObj.top = bodyHeight - 20 * (numBar - i)
}

function document.onkeydown()
{
return false
}

function document.ondragstart()
{
return false
}

function document.onselectstart()
{
return false
}

function document.oncontextmenu()
{
return false
}

function document.onmousedown()
{
if (window.event.ctrlKey) location.reload()
}

function closeFrame()
{
frameClose.className = ""
window.parent.index.cols = "0,*"
window.parent.frames(1).document.body.innerHTML += "<button style='height: 15; width: 15; position: absolute; top: 10; left: 10' onclick=\"style.display = 'none'; window.parent.index.cols = '100,*'\"><img alt=显示 src=" + pathName + " width=19 height=18></button>"
mainhref = window.parent.frames(1).document.location.href
scout()
}

function scout()
{
with (window.parent.frames(1).document)
     if (location.href != mainhref && readyState == "complete")
        {
        window.parent.frames(1).document.body.innerHTML += "<button style='height: 15; width: 15; position: absolute; top: 10; left: 10' onclick=\"style.display = 'none'; window.parent.index.cols = '100,*'\"><img alt=显示 src=" + pathName + " width=19 height=18></button>"
        mainhref = location.href
        }
if (window.parent.index.cols == "0,*") setTimeout("scout()", 1000)
}

function window.onload()
{
window.onresize()
}
</SCRIPT>
<BUTTON class=button id=buttonup style="DISPLAY: none" onclick=upclick()><IMG 
height=4 src="images/up.gif" width=7></BUTTON>
<BUTTON class=button id=buttondown style="DISPLAY: none" onclick=downclick()><IMG height=4 
src="images/down.gif" width=7></BUTTON> 
<TABLE onmouseup=closeFrame() onmousedown="className = 'buttonclicked'" 
id=frameClose onmouseover="className = 'buttonmouseon'" title=关闭 
style="DISPLAY: none; VISIBILITY: hidden; POSITION: absolute; TOP: 3px" 
onmouseout="className = ''" height=14 cellPadding=0 width=14>
  <TBODY>
  <TR>
    <TD><IMG height=7 src="" width=8></TD></TR></TBODY></TABLE>
<CENTER>
<SCRIPT language=JavaScript>
txtoutcolor="#000000"
txtovercolor="#0000FF"
tab1=addbar("软件管理")
    addbutton(tab1,"添加软件","soft_nav.asp","mainFrame","images/pic021.gif","添加软件")
    addbutton(tab1,"编辑软件","soft_list.asp","mainFrame","images/pic098.gif","编辑软件")
	addbutton(tab1,"审核软件","soft_auditing.asp","mainFrame","images/pic094.gif","审核软件")
	addbutton(tab1,"会员软件","soft_member.asp","mainFrame","images/pic063.gif","会员软件")
	addbutton(tab1,"回收站(隐藏)","soft_recycle.asp","mainFrame","images/pic070.gif","回收站(隐藏)")
	addbutton(tab1,"软件点评","review.asp","mainFrame","images/pic089.gif","软件点评")
tab2=addbar("分类管理")
    addbutton(tab2,"分类列表","class_list.asp","mainFrame","images/pic048.gif","分类列表")
tab3=addbar("公告管理")
    addbutton(tab3,"添加公告","message_add.asp","mainFrame","images/pic021.gif","添加公告")
    addbutton(tab3,"公告列表","message_list.asp","mainFrame","images/pic024.gif","公告列表")
tab4=addbar("用户管理")
    addbutton(tab4,"添加管理员","user_add.asp","mainFrame","images/pic021.gif","添加管理员")
    addbutton(tab4,"管理员列表","user_list.asp?type=admin","mainFrame","images/pic099.gif","管理员列表")
	addbutton(tab4,"会员列表","user_list.asp?type=member","mainFrame","images/pic099.gif","会员列表")
tab5=addbar("其他管理")
    addbutton(tab5,"站点配置","site_set.asp","mainFrame","images/pic033.gif","站点配置")
    addbutton(tab5,"网页配色","skin_list.asp","mainFrame","images/pic097.gif","网页配色")
	addbutton(tab5,"FTP下载设置","ftp_set.asp","mainFrame","images/pic029.gif","FTP下载设置")
	addbutton(tab5,"修改我的资料","user_info.asp","mainFrame","images/pic001.gif","修改我的资料")
tab6=addbar("快速通道")
	addbutton(tab6,"添加软件","soft_nav.asp","mainFrame","images/pic021.gif","添加软件")
	addbutton(tab6,"重新登录","login.asp","_parent","images/pic151.gif","安全退出")
	addbutton(tab6,"安全退出","logout.asp","_parent","images/pic154.gif","安全退出")

initializeBar("0")
</SCRIPT>
</CENTER></BODY></HTML>

⌨️ 快捷键说明

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