在textarea框中详细说明表格的内容

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

<!--要完成此效果把如下代码加入到<body>区域中-->

<STYLE>

v\:* {

BEHAVIOR: url(#default#VML)

}

</STYLE>

<SCRIPT language="JavaScript1.2">

var stringcolor="white"

var ballsrc="http://www.knowsky.com/images/logo.gif"

if (document.all&&window.print){

document.write('<IMG id=Om style="LEFT: -10px; POSITION: absolute" src="'+ballsrc+'">')

ddx=0;ddy=0;PX=0;PY=0;xm=0;ym=0

OmW=Om.width/2;OmH=Om.height/2

}

function Ouille(){

x=Math.round(PX+=(ddx+=((xm-PX-ddx)*3)/100))

y=Math.round(PY+=(ddy+=((ym-PY-ddy)*3-300)/100))

Om.style.left=x-OmW

Om.style.top=y-OmH

elastoc.to=x+","+y

elastoc.strokecolor=stringcolor

setTimeout("Ouille()",1)

}

function momouse(){

xm=window.event.x+5

ym=window.event.y+document.body.scrollTop+15

elastoc.from=xm+","+ym

}

if(document.all&&window.print){

code="<v:line id=elastoc style='LEFT:0;POSITION:absolute;TOP:0' strokeweight='1.5pt'></v:line>"} else {

code="<v:group style='LEFT:-10;WIDTH:100pt;POSITION:absolute;TOP:0;HEIGHT:100pt' coordsize='21600,21600'><v:line id=elastoc style='LEFT:0;WIDTH:100pt;POSITION:absolute;TOP:0;HEIGHT:100pt' strokeweight='1.5pt'></v:line></v:group>"}

if(document.all&&window.print){

document.body.insertAdjacentHTML("afterBegin",code)

document.onmousemove=momouse

Ouille()

}

</SCRIPT>

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有  導航