<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>JS资源</title><style type="text/css">
<!--
.opacity {
FILTER: alpha(opacity=100)
}
td,p,font{font-size:13px;}
input{border: 1px #000000 solid; cursor: 默认;}
.campo { letter-spacing: 3px}
.input1 { border: 1px #000000 ridge; cursor: hand; height:17px}
A{COLOR: #006790; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:active {COLOR: #006790; FONT-FAMILY: 宋体; TEXT-DECORATION: underline overline}
A:hover {COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: underline overline}
BODY{FONT-FAMILY: 宋体; FONT-SIZE: 9pt;
SCROLLBAR-HIGHLIGHT-COLOR: buttonface;
SCROLLBAR-SHADOW-COLOR: buttonface;
SCROLLBAR-3DLIGHT-COLOR: buttonhighlight;
SCROLLBAR-TRACK-COLOR: #eeeeee;
SCROLLBAR-DARKSHADOW-COLOR: buttonshadow}
-->
</style>
<SCRIPT>
function movX(a){
scrollx=new_date.document.body.scrollLeft
scrolly=new_date.document.body.scrollTop
scrollx=scrollx+a
new_date.window.scroll(scrollx,scrolly)
}
function movstarX(a,time){
movY=setInterval("movX("+a+")",10)
}
function movstar(a,time){
movx=setInterval("mov("+a+")",10)
}
function movover(){
clearInterval(movx)
}
function movoverY(o){
clearInterval(o)
}
function mov(a){
scrollx=new_date.document.body.scrollLeft
scrolly=new_date.document.body.scrollTop
scrolly=scrolly+a
new_date.window.scroll(scrollx,scrolly)
}
function o_down(theobject){
object=theobject
while(object.filters.alpha.opacity>60){
object.filters.alpha.opacity+=-10}
}
function o_up(theobject){
object=theobject
while(object.filters.alpha.opacity<100){
object.filters.alpha.opacity+=10}
}
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" >
<form method=Get action='maintype.asp'>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" height="218" align="center">
<tr>
<center>
<td height="173" rowspan="3" valign="middle"> </td>
</center>
<td height="161" width="300" rowspan="2" valign="middle" style="border: 1 solid #737373" colspan="3">
<iframe
border=0 frameborder=0 framespacing=0 height=100% marginheight=0
marginwidth=0 name=new_date noResize scrolling=no
src="biaodan1.htm" width=100% vspale="0"> </iframe> </td>
<center>
<td height="1" width="10"><a href="javascript:void(0)" class=opacity onMouseDown=movover();movstar(-3,2)
onMouseOut=movover();o_up(this) onMouseOver=movstar(-1,20);o_down(this)
onMouseUp=movover();movstar(-1,20)>up</a></td>
</center>
</tr>
<tr>
<td height="163" width="10"> </td>
</tr>
<tr>
<td height="12" width="10" valign="middle" style="border:0 solid #737373" onmouseover="movstarX(1,10)" onmouseout="movoverY(movY)">p
</td>
<td height="12" width="280" valign="middle" style="border:0 solid #737373"> </td>
<td height="12" width="10" valign="middle" style="border:0 solid #737373" onmouseover="movstarX(-1,10)" onmouseout="movoverY(movY)">p
</td>
<td height="12" width="10"><a href="###" class=opacity
onMouseDown=movover();movstar(3,2) onMouseOut=movover();o_up(this)
onMouseOver=movstar(1,20);o_down(this) onMouseUp=movover();movstar(1,20)>down</a></td>
</tr>
</table>
</div>
</form>
</body>
</html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>JS资源</title><style type="text/css">
<!--
.opacity {
FILTER: alpha(opacity=100)
}
td,p,font{font-size:13px;}
input{border: 1px #000000 solid; cursor: 默认;}
.campo { letter-spacing: 3px}
.input1 { border: 1px #000000 ridge; cursor: hand; height:17px}
A{COLOR: #006790; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:active {COLOR: #006790; FONT-FAMILY: 宋体; TEXT-DECORATION: underline overline}
A:hover {COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: underline overline}
BODY{FONT-FAMILY: 宋体; FONT-SIZE: 9pt;
SCROLLBAR-HIGHLIGHT-COLOR: buttonface;
SCROLLBAR-SHADOW-COLOR: buttonface;
SCROLLBAR-3DLIGHT-COLOR: buttonhighlight;
SCROLLBAR-TRACK-COLOR: #eeeeee;
SCROLLBAR-DARKSHADOW-COLOR: buttonshadow}
-->
</style>
<SCRIPT>
function movX(a){
scrollx=new_date.document.body.scrollLeft
scrolly=new_date.document.body.scrollTop
scrollx=scrollx+a
new_date.window.scroll(scrollx,scrolly)
}
function movstarX(a,time){
movY=setInterval("movX("+a+")",10)
}
function movstar(a,time){
movx=setInterval("mov("+a+")",10)
}
function movover(){
clearInterval(movx)
}
function movoverY(o){
clearInterval(o)
}
function mov(a){
scrollx=new_date.document.body.scrollLeft
scrolly=new_date.document.body.scrollTop
scrolly=scrolly+a
new_date.window.scroll(scrollx,scrolly)
}
function o_down(theobject){
object=theobject
while(object.filters.alpha.opacity>60){
object.filters.alpha.opacity+=-10}
}
function o_up(theobject){
object=theobject
while(object.filters.alpha.opacity<100){
object.filters.alpha.opacity+=10}
}
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" >
<form method=Get action='maintype.asp'>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" height="218" align="center">
<tr>
<center>
<td height="173" rowspan="3" valign="middle"> </td>
</center>
<td height="161" width="300" rowspan="2" valign="middle" style="border: 1 solid #737373" colspan="3">
<iframe
border=0 frameborder=0 framespacing=0 height=100% marginheight=0
marginwidth=0 name=new_date noResize scrolling=no
src="biaodan1.htm" width=100% vspale="0"> </iframe> </td>
<center>
<td height="1" width="10"><a href="javascript:void(0)" class=opacity onMouseDown=movover();movstar(-3,2)
onMouseOut=movover();o_up(this) onMouseOver=movstar(-1,20);o_down(this)
onMouseUp=movover();movstar(-1,20)>up</a></td>
</center>
</tr>
<tr>
<td height="163" width="10"> </td>
</tr>
<tr>
<td height="12" width="10" valign="middle" style="border:0 solid #737373" onmouseover="movstarX(1,10)" onmouseout="movoverY(movY)">p
</td>
<td height="12" width="280" valign="middle" style="border:0 solid #737373"> </td>
<td height="12" width="10" valign="middle" style="border:0 solid #737373" onmouseover="movstarX(-1,10)" onmouseout="movoverY(movY)">p
</td>
<td height="12" width="10"><a href="###" class=opacity
onMouseDown=movover();movstar(3,2) onMouseOut=movover();o_up(this)
onMouseOver=movstar(1,20);o_down(this) onMouseUp=movover();movstar(1,20)>down</a></td>
</tr>
</table>
</div>
</form>
</body>
</html>
if (strMain==null) return ""
var str1=strMain
var ascMain=strMain.charCodeAt(strMain.length-1)
if (ascMain==32) str1=left(strMain,strMain.length-1) if (str1==null) return "" for (var i=0;i<=str1.length-1;i++) {
var mychar=str1.charAt(i);
if ((mychar!=" ") && (mychar!=" ")) {
str1=str1.substring(i,str1.length);
break;
}
} for (var i=str1.length-1;i>0;i--) {
var mychar=str1.charAt(i);
if ((mychar!=" ") && (mychar!=" ")) {
str1=str1.substring(0,i+1);
break;
}
} return str1;
}比起我自己在用的:function String.prototype.trim()
{
return this.replace(/(^\s*)|(\s*$)/g, "");
}要麻烦多了。但是人家就是能写出来这么牛的js版的excel,不由得俺不服。
那些JS代码看得我晕头转向的:(
全看非被累死不可:)
诸如userData,XMLHTTP,HTC都是从它那里看了才知道怎么用的
从哪儿搞到的代码?能不能共享一下。
[email protected]
<[email protected]>: Invalid User
不好意思!刚才输错了邮箱,[email protected]
不好意思!刚才输错了邮箱,麻烦你再发一次![email protected]
[email protected]
thank you!
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
http://www.fcsoft.com.cn