⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 动态提示.htm

📁 javascript编程的组件
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0044)http://fason.nease.net/code/js/mouse/alt.htm -->
<HTML><HEAD><TITLE>动态提示</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId>
<STYLE id=defaultPopStyle type=text/css>.cPopText {
	BORDER-RIGHT: #000000 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #000000 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: Alpha(Opacity=0); PADDING-BOTTOM: 2px; BORDER-LEFT: #000000 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #000000 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffcc
}
</STYLE>
</HEAD>
<BODY>
<SCRIPT>//***********默认设置定义.********************* tPopWait=100;//停留tWait豪秒后显示提示。 tPopShow=4000;//显示tShow豪秒后关闭提示 showPopStep=10; popOpacity=100; //***************内部变量定义***************** sPop=null; curShow=null; tFadeOut=null; tFadeIn=null; tFadeWaiting=null; document.write(""); document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>"); function showPopupText(){ var o=event.srcElement; 	MouseX=event.x; 	MouseY=event.y; 	if(o.alt!=null && o.alt!=""){o.dypop=o.alt;o.alt=""}; 	if(o.dypop!=sPop) { 			sPop=o.dypop; 			clearTimeout(curShow); 			clearTimeout(tFadeOut); 			clearTimeout(tFadeIn); 			clearTimeout(tFadeWaiting);	 			if(sPop==null || sPop=="") { 				dypopLayer.innerHTML=""; 				dypopLayer.style.filter="Alpha()"; 				dypopLayer.filters.Alpha.opacity=0;	 				} 			else { 				if(o.dyclass!=null) popStyle=o.dyclass  					else popStyle="cPopText"; 				curShow=setTimeout("showIt()",tPopWait); 			} 				} } function showIt(){ 		dypopLayer.className=popStyle; 		dypopLayer.innerHTML=sPop; 		popWidth=dypopLayer.clientWidth; 		popHeight=dypopLayer.clientHeight; 		if(MouseX+12+popWidth>document.body.clientWidth) popLeftAdjust=-popWidth-24 			else popLeftAdjust=0; 		if(MouseY+12+popHeight>document.body.clientHeight) popTopAdjust=-popHeight-24 			else popTopAdjust=0; 		dypopLayer.style.left=MouseX+12+document.body.scrollLeft+popLeftAdjust; 		dypopLayer.style.top=MouseY+12+document.body.scrollTop+popTopAdjust; 		dypopLayer.style.filter="Alpha(Opacity=0)"; 		fadeOut(); } function fadeOut(){ 	if(dypopLayer.filters.Alpha.opacity<popOpacity) {		dypopLayer.filters.Alpha.opacity+=showPopStep;		tFadeOut=setTimeout("fadeOut()",1);		}		else {			dypopLayer.filters.Alpha.opacity=popOpacity;			tFadeWaiting=setTimeout("fadeIn()",tPopShow);			}}function fadeIn(){	if(dypopLayer.filters.Alpha.opacity>0) { 		dypopLayer.filters.Alpha.opacity-=1; 		tFadeIn=setTimeout("fadeIn()",1); 		} } document.onmouseover=showPopupText; </SCRIPT>

<DIV align=center>
<CENTER>
<TABLE borderColor=#000000 height=300 cellSpacing=0 borderColorDark=#ffffff 
cellPadding=0 width=300 borderColorLight=#000000 border=1>
  <TBODY>
  <TR>
    <TD align=middle width="33%" alt="看看怎么样?<br>看看">1</TD>
    <TD align=middle width="33%" alt="看看怎么样?<br>看看">2</TD>
    <TD align=middle width="34%" alt="看看怎么样?<br>看看">3</TD></TR>
  <TR>
    <TD align=middle width="33%" alt="看看怎么样?<br>看看">4</TD>
    <TD align=middle width="33%" alt="看看怎么样?<br>看看">5</TD>
    <TD align=middle width="34%" alt="看看怎么样?<br>看看">6</TD></TR>
  <TR>
    <TD align=middle width="33%" alt="看看怎么样?<br>看看">7</TD>
    <TD align=middle width="33%" alt="看看怎么样?<br>看看">8</TD>
    <TD align=middle width="34%" 
alt="看看怎么样?<br>看看">9</TD></TR></TBODY></TABLE></CENTER></DIV>
<P align=right><A style="TEXT-DECORATION: none" 
href="http://fason.nease.net/">【阿信的小天地】</A></P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -