java接收文件:编程高手进来4

来源:百度文库 编辑:高考问答 时间:2024/04/29 21:05:18
用记事本编辑HTML格式的“一群小点跟随鼠标”

div id="tooltip2"
style="position:absolute;visibility:hidden;clip:rect(0 150 50 0);width:150px;background-color:lightyellow">
<layer name="nstip" width="1000px" bgcolor="lightyellow"> </layer>
</div>
<div id="www_helpor_net__d0"
style="position:absolute; left:10px; top:50px; width:3px; height:3px; z-index:1; background-color: #19636c; layer-background-color: #19636c; border: 1px none #000000; clip: rect(0 3 3 0)"></div>
<div
id="www_helpor_net__d1"
style="position:absolute; left:20px; top:50px; width:3px; height:3px; z-index:1; background-color: #708574; layer-background-color: #708574; border: 1px none #000000; clip: rect(0 3 3 0)"></div>
<div
id="www_helpor_net__d2"
style="position:absolute; left:30px; top:50px; width:3px; height:3px; z-index:1; background-color: #379bbf; layer-background-color: #379bbf; border: 1px none #000000; clip: rect(0 3 3 0)"></div>
<div
id="www_helpor_net__d3"
style="position:absolute; left:40px; top:50px; width:3px; height:3px; z-index:1; background-color: #25184c; layer-background-color: #25184c; border: 1px none #000000; clip: rect(0 3 3 0)"></div>
<div
id="www_helpor_net__d4"
style="position:absolute; left:50px; top:50px; width:3px; height:3px; z-index:1; background-color: #31bd3c; layer-background-color: #31bd3c; border: 1px none #000000; clip: rect(0 3 3 0)"></div>
<div
id="www_helpor_net__d5"
style="position:absolute; left:60px; top:50px; width:3px; height:3px; z-index:1; background-color: #c11efd; layer-background-color: #c11efd; border: 1px none #000000; clip: rect(0 3 3 0)"></div>

<script>
if (!document.layers&&!document.all)
event="test"
function showtip2(current,e,text){

if (document.all&&document.readyState=="complete"){
document.all.tooltip2.innerHTML='<marquee style="border:1px solid black">'+text+'</marquee>'
document.all.tooltip2.style.pixelLeft=event.clientX+document.body.scrollLeft+10
document.all.tooltip2.style.pixelTop=event.clientY+document.body.scrollTop+10
document.all.tooltip2.style.visibility="visible"
}

else if (document.layers){
document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')
document.tooltip2.document.nstip.document.close()
document.tooltip2.document.nstip.left=0
currentscroll=setInterval("scrolltip()",100)
document.tooltip2.left=e.pageX+10
document.tooltip2.top=e.pageY+10
document.tooltip2.visibility="show"
}
}
function hidetip2(){
if (document.all)
document.all.tooltip2.style.visibility="hidden"
else if (document.layers){
clearInterval(currentscroll)
document.tooltip2.visibility="hidden"
}
}

function scrolltip(){
if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)
document.tooltip2.document.nstip.left-=5
else
document.tooltip2.document.nstip.left=150
}

function www_helpor_net___Layerfx(www_helpor_net__left,www_helpor_net__top,www_helpor_net__fnx,www_helpor_net__fny,www_helpor_net__div,www_helpor_net__bilder,www_helpor_net__loop,www_helpor_net__to,www_helpor_net__cnt,www_helpor_net__step) {
if ((document.layers)||(document.all)){
with (Math) {www_helpor_net__nextx= eval(www_helpor_net__fnx)}
with (Math) {www_helpor_net__nexty= eval(www_helpor_net__fny)}
www_helpor_net__cnt=(www_helpor_net__loop && www_helpor_net__cnt>=www_helpor_net__step*www_helpor_net__bilder)?0:www_helpor_net__cnt+www_helpor_net__step;
if (document.layers){
eval(www_helpor_net__div+".top="+(www_helpor_net__nexty+www_helpor_net__top))
eval(www_helpor_net__div+".left="+(www_helpor_net__nextx+www_helpor_net__left))
}
if (document.all){
eval("www_helpor_net__div=www_helpor_net__div.replace(/.layers/gi, '.all')");
eval(www_helpor_net__div+".style.pixelTop="+(www_helpor_net__nexty+www_helpor_net__top));
eval(www_helpor_net__div+".style.pixelLeft="+(www_helpor_net__nextx+www_helpor_net__left));
}
argStr='www_helpor_net___Layerfx('+www_helpor_net__left+','+www_helpor_net__top+',"'+www_helpor_net__fnx+'","'+www_helpor_net__fny+'","'+www_helpor_net__div+'",'+www_helpor_net__bilder+','+www_helpor_net__loop+','+www_helpor_net__to+','+www_helpor_net__cnt+','+www_helpor_net__step+')';
if (www_helpor_net__cnt<=www_helpor_net__step*www_helpor_net__bilder){eval(www_helpor_net__div+".www_helpor_net__to=setTimeout(argStr,www_helpor_net__to)");}
}

}
function www_helpor_net___Mousetrace(evnt) {
if (www_helpor_net__ns4)
{if (evnt.pageX) {www_helpor_net___ml=evnt.pageX; www_helpor_net___mt=evnt.pageY;} }
else{
www_helpor_net___ml=(event.clientX + document.body.scrollLeft);
www_helpor_net___mt=(event.clientY + document.body.scrollTop);
}
if (www_helpor_net___tracescript)eval(www_helpor_net___tracescript)
}
var www_helpor_net__ns4=window.Event?true:false; var www_helpor_net___mt = 0; var www_helpor_net___ml = 0;
document.onmousemove = www_helpor_net___Mousetrace;
www_helpor_net___tracescript = '';

if (www_helpor_net__ns4){ document.captureEvents(Event.MOUSEMOVE);
www_helpor_net___Mousetrace('',',document.www_helpor_net___Mousetrace1')}

www_helpor_net___Layerfx(0,0,'www_helpor_net___ml+cos((15*sin(www_helpor_net__cnt/39.83007847812662))+0)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','www_helpor_net___mt+sin((15*sin(www_helpor_net__cnt/34.224861639800686))+0)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','document.layers[\'www_helpor_net__d0\']',2000,true,80,0,1);

www_helpor_net___Layerfx(0,0,'www_helpor_net___ml+cos((15*sin(www_helpor_net__cnt/27.66510707209673))+30)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','www_helpor_net___mt+sin((15*sin(www_helpor_net__cnt/9.240632767417667))+30)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','document.layers[\'www_helpor_net__d1\']',2000,true,80,0,1);

www_helpor_net___Layerfx(0,0,'www_helpor_net___ml+cos((15*sin(www_helpor_net__cnt/16.45318944579641))+60)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','www_helpor_net___mt+sin((15*sin(www_helpor_net__cnt/16.0564452288292))+60)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','document.layers[\'www_helpor_net__d2\']',2000,true,80,0,1);

www_helpor_net___Layerfx(0,0,'www_helpor_net___ml+cos((15*sin(www_helpor_net__cnt/6.95348954836835))+90)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','www_helpor_net___mt+sin((15*sin(www_helpor_net__cnt/44.13697049887155))+90)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','document.layers[\'www_helpor_net__d3\']',2000,true,80,0,1);

www_helpor_net___Layerfx(0,0,'www_helpor_net___ml+cos((15*sin(www_helpor_net__cnt/33.90077294583733))+120)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','www_helpor_net___mt+sin((15*sin(www_helpor_net__cnt/2.2378828869411587))+120)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','document.layers[\'www_helpor_net__d4\']',2000,true,80,0,1);

www_helpor_net___Layerfx(0,0,'www_helpor_net___ml+cos((15*sin(www_helpor_net__cnt/37.858312521039835))+150)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','www_helpor_net___mt+sin((15*sin(www_helpor_net__cnt/18.083839795990098))+150)*150*(sin(10+www_helpor_net__cnt/20)+0.2)*cos(www_helpor_net__cnt/20)','document.layers[\'www_helpor_net__d5\']',2000,true,80,0,1);

if (!document.layers&&!document.all)
event="test"
function showtip2(current,e,text){

if (document.all&&document.readyState=="complete"){
document.all.tooltip2.innerHTML='<marquee style="border:1px solid black">'+text+'</marquee>'
document.all.tooltip2.style.pixelLeft=event.clientX+document.body.scrollLeft+10
document.all.tooltip2.style.pixelTop=event.clientY+document.body.scrollTop+10
document.all.tooltip2.style.visibility="visible"
}

else if (document.layers){
document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')
document.tooltip2.document.nstip.document.close()
document.tooltip2.document.nstip.left=0
currentscroll=setInterval("scrolltip()",100)
document.tooltip2.left=e.pageX+10
document.tooltip2.top=e.pageY+10
document.tooltip2.visibility="show"
}
}
function hidetip2(){
if (document.all)
document.all.tooltip2.style.visibility="hidden"
else if (document.layers){
clearInterval(currentscroll)
document.tooltip2.visibility="hidden"
}
}

function scrolltip(){
if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)
document.tooltip2.document.nstip.left-=5
else
document.tooltip2.document.nstip.left=150
}

function www_helpor_net___Layerfx(www_helpor_net__left,www_helpor_net__top,www_helpor_net__fnx,www_helpor_net__fny,www_helpor_net__div,www_helpor_net__bilder,www_helpor_net__loop,www_helpor_net__to,www_helpor_net__cnt,www_helpor_net__step) {
if ((document.layers)||(document.all)){
with (Math) {www_helpor_net__nextx= eval(www_helpor_net__fnx)}
with (Math) {www_helpor_net__nexty= eval(www_helpor_net__fny)}
www_helpor_net__cnt=(www_helpor_net__loop && www_helpor_net__cnt>=www_helpor_net__step*www_helpor_net__bilder)?0:www_helpor_net__cnt+www_helpor_net__step;
if (document.layers){
eval(www_helpor_net__div+".top="+(www_helpor_net__nexty+www_helpor_net__top))
eval(www_helpor_net__div+".left="+(www_helpor_net__nextx+www_helpor_net__left))
}
if (document.all){
eval("www_helpor_net__div=www_helpor_net__div.replace(/.layers/gi, '.all')");
eval(www_helpor_net__div+".style.pixelTop="+(www_helpor_net__nexty+www_helpor_net__top));
eval(www_helpor_net__div+".style.pixelLeft="+(www_helpor_net__nextx+www_helpor_net__left));
}
argStr='www_helpor_net___Layerfx('+www_helpor_net__left+','+www_helpor_net__top+',"'+www_helpor_net__fnx+'","'+www_helpor_net__fny+'","'+www_helpor_net__div+'",'+www_helpor_net__bilder+','+www_helpor_net__loop+','+www_helpor_net__to+','+www_helpor_net__cnt+','+www_helpor_net__step+')';
if (www_helpor_net__cnt<=www_helpor_net__step*www_helpor_net__bilder){eval(www_helpor_net__div+".www_helpor_net__to=setTimeout(argStr,www_helpor_net__to)");}
}

}
function www_helpor_net___Mousetrace(evnt) {
if (www_helpor_net__ns4)
{if (evnt.pageX) {www_helpor_net___ml=evnt.pageX; www_helpor_net___mt=evnt.pageY;} }
else{
www_helpor_net___ml=(event.clientX + document.body.scrollLeft);
www_helpor_net___mt=(event.clientY + document.body.scrollTop);
}
if (www_helpor_net___tracescript)eval(www_helpor_net___tracescript)
}
</script>