<! DOCTYPE  HTML  PUBLIC  "-////W3C DTD  HTML  4.01   Transitional//EN" > 
<Html>  
<HEAD>  
<TITLE> Untitled  Document  
<Meta  HTTP - equiv="content-type"   The content="text/HTML;   charset=gb2312" > 
</head>  

<Body>  

<SCRIPT  Language=javascript>  
<! -  

document. Body. Onload=adddiv;  
document. Onmousedown=recordobj;  
document. Ondblclick=dbclick;  
document. Onmouseup=showselect;  
var  Starobj, isdb=false, allow=true;  

function  Isallow ()  

if (allow) { 
allow=false;  
alert (' is  closed);  
}  
the else { 
allow=true;  
alert (' is  opend ');  
}  

}  

function  Dbclick ()  

isdb=true;  
}  
function  Recordobj ()  

starobj=event. SrcElement;  
}  
function  Showselect ()   { 
var  STR="";  
if (event) srcElement) tagName!="A" &event. The srcElement. TagName!="INPUT" &&event. The srcElement==starobj &&! Isdb &&allow)  

var  OText=document. Selection. CreateRange ();  

if (oText. Text. Length> 0)  

STR=oText. Text;  
oText. Text="BuB" + oText. Text + "EuE";  
}  

oText. Select ();  
event. SrcElement. InnerHTML=event. SrcElement. InnerHTML. Replace (" BuB, "" <u  style=" FONT - WEIGHT:   bold; COLOR:   #ff3366 '>"). The replace (" EuE ", "</u>");  

}  

searchgoogle (STR)  
isdb=false;  
}  

function  Searchgoogle (STR)  

var  Obj=document. GetElementById (" searchgoogle ");  
if (STR. Length> 0)  

obj. Style. The display="block";  
obj. Style. The position="absolute";  
obj. Style. Zindex=999;  
obj. Style. PosTop.=the document body. The scrollTop + event. The y - 25;  
obj. Style. PosLeft.=the document body. ScrollLeft + event. X + 5;  
obj. Style. Widht=80;  
obj.innerHTML="Search It!" ;  

}  
else 

obj. Style. The display="none";  
}  
}  

function  Adddiv ()  

var  Mobj =  Document. The createElement method (" div ");  

mobj. Id="searchgoogle";  

the document. The body. The appendChild (mobj);  
}  

//- > 
</script>  
<Input  Type="button"   "Onclick=" isallow ()   Value="http://www.script-home.com//article/closed/open the function of cross word" > 
<P> Qrasfdasfasfdasfsafasdfsafsafasdfasdfasd

 
</body>  
</HTML>  


add this code in the page, as well as the search function. Presentation will look at this row selected text with the mouse on the BLOG page

before finishing the code, looks a bit messy.


This concludes the body part