超级酷搜索引擎
<html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="keywords" content="Javascript,Javascript,Javascript,Javascript,Javascript"> <!-- 以下代码是设定此页的超链接样式 --> <style type="text/css"><!-- A:link {text-decoration: none; color:#000000} A:visited {text-decoration: none; color: #000000} A:active {text-decoration: none; color: #FF0000} A:hover {text-decoration: underline; color: FF0000} body{font-size=9pt} TH{FONT-SIZE: 9pt} TD{ FONT-SIZE: 9pt} #floater { position: absolute; left: 0; top: 0; width: 120; visibility: visible; z-index: 10; background-color: #0099FF; border-style: solid; border-color: #CC99FF filter:alpha(opacity=0,finishopacity=100,style=0,startx=0,starty=0,finishx=130,finishy=30);} --> </style> <title>"超级酷"搜索引擎</title> </head>
<body>
<div ID="floater" style="left: 0px; top: 0px; width: 132; height: 25">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="25"> <tr> <td width="100%" align="center" height="12" bgcolor="#CCCCFF"><font color="#008080">"超级酷"搜索引擎</font></td> </tr> <tr> <td width="100%" align="center" height="14"><FORM METHOD=POST ACTION="http://search.yeah.net:88/cgi-bin/search.cgi" NAME="SearchForm"> <p align="center"> <INPUT NAME="key" MAXLENGTH=800 SIZE=13 VALUE=""> <INPUT TYPE=submit class=p1 value=' 搜 索 '> </FORM> </td> </tr> </table> </div><script LANGUAGE="JavaScript"> self.onError=null; currentX = currentY = 0; whichIt = null; lastScrollX = 0; lastScrollY = 0; NS = (document.layers) ? 1 : 0; IE = (document.all) ? 1: 0; <!-- STALKER CODE --> function heartBeat() { if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; } if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; } if(diffY != lastScrollY) { percent = .1 * (diffY - lastScrollY); if(percent > 0) percent = Math.ceil(percent); else percent = Math.floor(percent); if(IE) document.all.floater.style.pixelTop += percent; if(NS) document.floater.top += percent; lastScrollY = lastScrollY + percent; } if(diffX != lastScrollX) { percent = .1 * (diffX - lastScrollX); if(percent > 0) percent = Math.ceil(percent); else percent = Math.floor(percent); if(IE) document.all.floater.style.pixelLeft += percent; if(NS) document.floater.left += percent; lastScrollX = lastScrollX + percent; } } <!-- /STALKER CODE --> <!-- DRAG DROP CODE --> function checkFocus(x,y) { stalkerx = document.floater.pageX; stalkery = document.floater.pageY; stalkerwidth = document.floater.clip.width; stalkerheight = document.floater.clip.height; if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true;
|