求一自动折叠、打开的浮动工具条 学会搜索http://www.1000script.com/script/index.asp?typeid=29 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 以前做过,送给你<html><head><title>∷∷∷∷∷∷∷∷</title><link rel="stylesheet" type="text/css" href="css/body.css"><link rel="stylesheet" type="text/css" href="css/table.css"><SCRIPT LANGUAGE="javascript" src="Menu.js"></SCRIPT></head><body onload=Init_Menu() onscroll=MoveMenu() onresize=MoveToolbar()><div id="LeftMenu" style="width: 207; height: 272; left: 13; position: absolute; top: 136; z-index: 2" onmouseout=HideMenu(); onmouseover=ShowMenu(); onselectstart=SelectNone() ;><table border="0" width="205" cellspacing="0" cellpadding="0" height="194" style="font-size: 9pt"> <tr> <td width="193" height="76" valign="top" align="center" bgcolor="#FFFFFF"> <div align="center"> <table border="0" width="205" cellspacing="0" cellpadding="0" bordercolor="#0000FF" style="border: 1 solid #D6D6D6" height="202"> <tr> <td id="Title" width="25" align="left" height="202" valign="middle" rowspan="8" bgcolor="#FFFF93" style="border-right: 1 solid #D6D6D6"> <p align="center"><font size="2">∷<br> ∷<br> ∷<br> ∷<br> ∷<br> ∷<br> ∷<br> 编<br> 程<br> 专<br> 区<br> ∷<br> ∷<br> ∷<br> ∷<br> ∷<br> ∷<br> ∷</font></td> <td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="XPMenu.htm">编制XP风格菜单 (Dephi)</a></td> </tr> <tr> <td width="180" align="left" height="34" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="XPStyle.htm">软件应用XP风格 & <br> xxxxxxxx除错 (BCB)</a></td> </tr> <tr> <td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="FontBMP.htm">获取XXXXXXXXXXXXXx (BCB)</a></td> </tr> <tr> <td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="Hook.htm">系统钩子编程 (BCB)</a></td> </tr> <tr> <td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="KBStatus.htm">即时键盘状态 (BCB)</a></td> </tr> <tr> <td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="GetAdPsw.htm">取Administrator密码 (VC)</a></td> </tr> <tr> <td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="xxxxx.htm">我最爱的我最爱的(JavaScript)</a></td> </tr> <tr> <td width="180" align="left" height="24" valign="middle"> <a style="text-decoration:none" href="MoveText.htm">移动文本区域 (JavaScript)</a></td> </tr> </table> </div> </td> </tr></table></div><script language="javascript"><!--Init_Menu();setTimeout("MenuHide()", 5000);MoveMenu();--></script></html> ///menu.js<!--var ns = false;var ie = false;var bStatus = 0;var BARWIDTH = 27;var BARHEIGHT = 270;var iBarW = 0;var iBarH = 0;var iMenuLeft = 10;var iMenuTop = 118;function Init_Menu(){ ns = (document.layers); ie = (document.all); if (ns) Menu = document.LeftMenu; if (ie) Menu = LeftMenu.style; iBarW = parseInt(Menu.width); iBarH = parseInt(Menu.height);}function MenuShow(){ bCont = false; MenuWidth = parseInt(Menu.width); //MenuHeight = parseInt(Menu.height);//Re:conch 2002-12-31 if (iBarW<MenuWidth) { iBarW += 10; if (iBarW>MenuWidth) iBarW = MenuWidth; bCont = true; } /*//Re:conch 2002-12-31 if (iBarH<MenuHeight) { iBarH += 10; if (iBarH>MenuHeight) iBarH = MenuHeight; bCont = true; } */ if (bCont) { if (ns) Menu.clip = "rect(0,"+iBarW+","+iBarH+",0)"; else if (ie) Menu.clip = "rect(0px "+iBarW+"px "+Menu.height+" 0px)";//Modify:conch 2002-12-31 setTimeout("MenuShow()",50); } else bStatus = 0;}function MenuHide(){ if (bStatus != 1) { bCont = false; if (iBarW>BARWIDTH) { iBarW -= 10; if (iBarW<BARWIDTH) iBarW = BARWIDTH; bCont = true; } /*//Re:conch 2002-12-31 if (iBarH>BARHEIGHT) { iBarH -= 10; if (iBarH<BARHEIGHT) iBarH = BARHEIGHT; bCont = true; } */ if (bCont) { if (ns) Menu.clip = "rect(0,"+iBarW+","+iBarH+",0)"; //else if (ie) Menu.clip = "rect(0px "+iBarW+"px "+iBarH+"px 0px)";//Modify:conch 2002-12-31 else if (ie) Menu.clip = "rect(0px "+iBarW+"px "+Menu.height+" 0px)"; setTimeout("MenuHide()",50); } } else setTimeout("MenuHide()", 4500);}function ShowMenu(){ bStatus = 1; MenuShow();}function HideMenu(){ setTimeout("MenuHide()", 5000);}function MovetoXY(obj, iX, iY){ if (ns) { offsetX = parseInt(window.pageXOffset); offsetY = parseInt(window.pageYOffset); } if (ie) { offsetX=parseInt(document.body.scrollLeft); offsetY=parseInt(document.body.scrollTop); } if (obj.left != iX + offsetX) obj.left = iX + offsetX; if (obj.top != iY + offsetY) obj.top = iY + offsetY; /*var bCont = false; if (obj.left != iX + offsetX) { obj.left = parseInt(obj.left)+0.01*(iX+offsetX-parseInt(obj.left)); bCont = true; } if (obj.top != iY + offsetY) { obj.top = parseInt(obj.top) +0.01*(iY+offsetY-parseInt(obj.top)); bCont = true; } //setTimeout("MovetoXY('obj', "+iX+", "+iY+")", 1); if (bCont) setTimeout("MoveMenu()", 10);*/}function SelectNone(){ //LeftMenu.selstart = 0; //LeftMenu.sellength = 0; return false;}function MoveMenu(){ MovetoXY(Menu, iMenuLeft, iMenuTop); //setTimeout("MoveMenu()", 4);}--> delete删除 变量 jquery 的is方法貌似不起作用? 怎么给触发式导航菜单加个鼠标延迟感应特性? 这段代码有点不明白,麻烦高人看看 关于script嵌套使用的一个问题,在线等,有正确结果即结分 父窗口如何向子窗口传递参数??? 如何动态控制滚动条 如何在浏览器打印的时候自动由页面来设定纸张大小 请问如何得到,一个表格中某个单元的左上角坐标? javascript如何get c#后端数据? JavaScript是否跨平台? 為什麼這個對象寫的不對??? 要不到我要結果!
<head>
<title>∷∷∷∷∷∷∷∷</title>
<link rel="stylesheet" type="text/css" href="css/body.css">
<link rel="stylesheet" type="text/css" href="css/table.css">
<SCRIPT LANGUAGE="javascript" src="Menu.js">
</SCRIPT>
</head><body onload=Init_Menu() onscroll=MoveMenu() onresize=MoveToolbar()>
<div id="LeftMenu" style="width: 207; height: 272; left: 13; position: absolute; top: 136; z-index: 2" onmouseout=HideMenu(); onmouseover=ShowMenu(); onselectstart=SelectNone() ;>
<table border="0" width="205" cellspacing="0" cellpadding="0" height="194" style="font-size: 9pt">
<tr>
<td width="193" height="76" valign="top" align="center" bgcolor="#FFFFFF">
<div align="center">
<table border="0" width="205" cellspacing="0" cellpadding="0" bordercolor="#0000FF" style="border: 1 solid #D6D6D6" height="202">
<tr>
<td id="Title" width="25" align="left" height="202" valign="middle" rowspan="8" bgcolor="#FFFF93" style="border-right: 1 solid #D6D6D6">
<p align="center"><font size="2">∷<br>
∷<br>
∷<br>
∷<br>
∷<br>
∷<br>
∷<br>
编<br>
程<br>
专<br>
区<br>
∷<br>
∷<br>
∷<br>
∷<br>
∷<br>
∷<br>
∷</font></td>
<td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="XPMenu.htm">编制XP风格菜单
(Dephi)</a></td>
</tr>
<tr>
<td width="180" align="left" height="34" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="XPStyle.htm">软件应用XP风格
& <br>
xxxxxxxx除错
(BCB)</a></td>
</tr>
<tr>
<td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="FontBMP.htm">获取XXXXXXXXXXXXXx
(BCB)</a></td>
</tr>
<tr>
<td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="Hook.htm">系统钩子编程
(BCB)</a></td>
</tr>
<tr>
<td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="KBStatus.htm">即时键盘状态
(BCB)</a></td>
</tr>
<tr>
<td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="GetAdPsw.htm">取Administrator密码
(VC)</a></td>
</tr>
<tr>
<td width="180" align="left" height="24" style="border-bottom: 1 dotted #F2F2F2" valign="middle"> <a style="text-decoration:none" href="xxxxx.htm">我最爱的我最爱的(JavaScript)</a></td>
</tr>
<tr>
<td width="180" align="left" height="24" valign="middle"> <a style="text-decoration:none" href="MoveText.htm">移动文本区域
(JavaScript)</a></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<script language="javascript">
<!--
Init_Menu();
setTimeout("MenuHide()", 5000);
MoveMenu();
-->
</script>
</html>
<!--
var ns = false;
var ie = false;
var bStatus = 0;var BARWIDTH = 27;
var BARHEIGHT = 270;
var iBarW = 0;
var iBarH = 0;
var iMenuLeft = 10;
var iMenuTop = 118;function Init_Menu()
{
ns = (document.layers);
ie = (document.all);
if (ns) Menu = document.LeftMenu;
if (ie) Menu = LeftMenu.style;
iBarW = parseInt(Menu.width);
iBarH = parseInt(Menu.height);
}function MenuShow()
{
bCont = false;
MenuWidth = parseInt(Menu.width);
//MenuHeight = parseInt(Menu.height);//Re:conch 2002-12-31
if (iBarW<MenuWidth)
{
iBarW += 10;
if (iBarW>MenuWidth) iBarW = MenuWidth;
bCont = true;
}
/*//Re:conch 2002-12-31
if (iBarH<MenuHeight)
{
iBarH += 10;
if (iBarH>MenuHeight) iBarH = MenuHeight;
bCont = true;
}
*/
if (bCont)
{
if (ns) Menu.clip = "rect(0,"+iBarW+","+iBarH+",0)";
else if (ie) Menu.clip = "rect(0px "+iBarW+"px "+Menu.height+" 0px)";//Modify:conch 2002-12-31
setTimeout("MenuShow()",50);
}
else
bStatus = 0;
}function MenuHide()
{
if (bStatus != 1)
{
bCont = false;
if (iBarW>BARWIDTH)
{
iBarW -= 10;
if (iBarW<BARWIDTH) iBarW = BARWIDTH;
bCont = true;
}
/*//Re:conch 2002-12-31
if (iBarH>BARHEIGHT)
{
iBarH -= 10;
if (iBarH<BARHEIGHT) iBarH = BARHEIGHT;
bCont = true;
}
*/
if (bCont)
{
if (ns) Menu.clip = "rect(0,"+iBarW+","+iBarH+",0)";
//else if (ie) Menu.clip = "rect(0px "+iBarW+"px "+iBarH+"px 0px)";//Modify:conch 2002-12-31
else if (ie) Menu.clip = "rect(0px "+iBarW+"px "+Menu.height+" 0px)";
setTimeout("MenuHide()",50);
}
}
else
setTimeout("MenuHide()", 4500);
}function ShowMenu()
{
bStatus = 1;
MenuShow();
}function HideMenu()
{
setTimeout("MenuHide()", 5000);
}function MovetoXY(obj, iX, iY)
{
if (ns)
{
offsetX = parseInt(window.pageXOffset);
offsetY = parseInt(window.pageYOffset);
}
if (ie)
{
offsetX=parseInt(document.body.scrollLeft);
offsetY=parseInt(document.body.scrollTop);
}
if (obj.left != iX + offsetX) obj.left = iX + offsetX;
if (obj.top != iY + offsetY) obj.top = iY + offsetY;
/*var bCont = false;
if (obj.left != iX + offsetX)
{
obj.left = parseInt(obj.left)+0.01*(iX+offsetX-parseInt(obj.left));
bCont = true;
}
if (obj.top != iY + offsetY)
{
obj.top = parseInt(obj.top) +0.01*(iY+offsetY-parseInt(obj.top));
bCont = true;
}
//setTimeout("MovetoXY('obj', "+iX+", "+iY+")", 1);
if (bCont) setTimeout("MoveMenu()", 10);*/
}function SelectNone()
{
//LeftMenu.selstart = 0;
//LeftMenu.sellength = 0;
return false;
}function MoveMenu()
{
MovetoXY(Menu, iMenuLeft, iMenuTop);
//setTimeout("MoveMenu()", 4);
}-->