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

📄 top.asp

📁 在线成语词典大全 v1.0 asp+access全数据库
💻 ASP
字号:
<SCRIPT language=JavaScript>
<!--
function cy(id)
{
	var filename="cy.asp?id="+id;
	window.open(filename,"显示窗口","scrollbars=no,width=530,height=400");
}
//-->
</SCRIPT><!-- #include file="cyconn.asp"-->

<html>
<head>
<TITLE>梦想中国热线-成语在线速查</title>
<meta NAME="keywords" CONTENT="aqbt.cn"> 
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=gb2312">
<base  onmouseover="window.status='本站需要大家帮忙宣传,请把本站地址(http://www.aqbt.cn/idiom)发给你QQ上的5位好友!!';return true">
<meta NAME="copyright" content="Copyright 2007-2008 -www.aqbt.cn">
<STYLE>
BODY {
SCROLLBAR-3DLIGHT-COLOR: #d8d8fc;
 SCROLLBAR-ARROW-COLOR: #480024;
 SCROLLBAR-DARKSHADOW-COLOR: #fcfcfc;
 SCROLLBAR-BASE-COLOR: #fcfcfc
}
body		{background:url(images/top_7kbackground.gif); background-position:top; background-repeat:repeat-x;}
</STYLE>
<STYLE type=text/css>td {  font-size: 9pt}
.input {
	BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #000000 1px solid;BORDER-BOTTOM: #000000 1px solid; HEIGHT: 16px
}
a {  FONT-SIZE: 9pt;text-decoration: none; color: #000000}
a:hover {  color: #FF6600; text-decoration: none}
.line {  line-height: 150%}
.style6666{   FONT-SIZE: 8pt;COLOR:#000000}
.line2 {  line-height: 120%}.p14 {  font-size: 14.6px}
.checklist{BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px; HEIGHT: 17px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc}
</STYLE>
<SCRIPT language=JavaScript>
<!--
function cy(id)
{
	var filename="cy.asp?id="+id;
	window.open(filename,"显示窗口","scrollbars=no,width=530,height=400");
}
//-->
</SCRIPT>


<SCRIPT LANGUAGE="JavaScript">
<!-- 
//***********默认设置定义.*********************
tPopWait=0;//停留tWait豪秒后显示提示。
tPopShow=5000;//显示tShow豪秒后关闭提示
showPopStep=20;
popOpacity=99;

//***************内部变量定义*****************
sPop=null;
curShow=null;
tFadeOut=null;
tFadeIn=null;
tFadeWaiting=null;

document.write("<style type='text/css'id='defaultPopStyle'>");
document.write(".cPopText {  font-family: ; background-color: #f8f8f3; color:#030303;border: 1px #000000 solid; font-size: ; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 3px; padding-bottom: 1px; filter: Alpha(Opacity=0)}");
document.write("</style>");
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.title!=null && o.title!=""){o.dypop=o.title;o.title=""};
	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>
</head>
<body  topmargin="1" leftmargin="1"  oncontextmenu=self.event.returnValue=false onselectstart="return false">
<SCRIPT language=javascript>
function Align_Layer(STATICMENU) {
var theWidth
theWidth=document.body.clientWidth
if (theWidth<850)
STATICMENU.style.left=775
else if (theWidth<1100)
STATICMENU.style.left=885
else if (theWidth<1200)
STATICMENU.style.left=950
else if (theWidth<1300)
STATICMENU.style.left=1010
else if (theWidth<1620)
STATICMENU.style.left=1175
else if (theWidth<1700)
STATICMENU.style.left=1215
else
STATICMENU.style.left=1335
}
function Get_Broswer_Width() {
alert(document.body.clientWidth)
}
function Get_Layer_Left(STATICMENU) {
alert(STATICMENU.style.left)
}

//var stmnLEFT = 890; 
var stmnGAP1 = 80; 
var stmnGAP2 = 0; 
var stmnBASE = 0; 
var stmnActivateSpeed = 50; 
var stmnScrollSpeed = 1; 

var stmnTimer;

function ReadCookie(name) {
var label = name + "=";
var labelLen = label.length;
var cLen = document.cookie.length;
var i = 0;

while (i < cLen) {
var j = i + labelLen;

if (document.cookie.substring(i, j) == label) {
var cEnd = document.cookie.indexOf(";", j);
if (cEnd == -1) cEnd = document.cookie.length;
return unescape(document.cookie.substring(j, cEnd));
}
i++;
}
return "";
}

function SaveCookie(name, value, expire) {
var eDate = new Date();
eDate.setDate(eDate.getDate() + expire);
document.cookie = name + "=" + value + "; expires=" + eDate.toGMTString()+ "; path=/";
}

function RefreshStaticMenu() {
var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;

stmnStartPoint = parseInt(STATICMENU.style.top, 10);
stmnEndPoint = document.body.scrollTop + stmnGAP2;
if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;

stmnRefreshTimer = stmnActivateSpeed;

if ( stmnStartPoint != stmnEndPoint ) {
stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
STATICMENU.style.top = parseInt(STATICMENU.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
stmnRefreshTimer = stmnScrollSpeed;
}
stmnTimer = setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
}

function ToggleAnimate() {
if (!ANIMATE.checked) {
RefreshStaticMenu();
SaveCookie("ANIMATE", "true", 300);
} else {
clearTimeout(stmnTimer);
STATICMENU.style.top = stmnGAP1;
SaveCookie("ANIMATE", "false", 300);
}
}

function InitializeStaticMenu() {
//STATICMENU.style.left = stmnLEFT;
if (ReadCookie("ANIMATE") == "false") {
ANIMATE.checked = true;
STATICMENU.style.top = document.body.scrollTop + stmnGAP1;
} else {
ANIMATE.checked = false;
STATICMENU.style.top = document.body.scrollTop + stmnBASE;
RefreshStaticMenu();
}
}
</SCRIPT>

          
      <script language=javascript>InitializeStaticMenu(); 
</script></td></tr></table>
<noscript>
<iframe src=*.htm></iframe></noscript><div align="center">    
 <TR> 
     <TD width=777 height=25  align=center 
          height=25 colspan=2>
<table border="0" align="right" cellpadding="0">
<tr align="center">
<td width="85"><a href="index.asp" title="成语首页" class="link3">回首页</a></td>

<%
sqlf="select * from fl1"
set rsf=server.createobject("adodb.recordset")
rsf.open sqlf,conn,1,1
do while not rsf.eof%>
<td width="85" ><a href="index.asp?fl1=<%=rsf("id")%>" title="<%=rsf("fl1")%>" class="link3"><%=rsf("fl1")%></a></td>

<%rsf.movenext
loop
if rsf.bof and rsf.eof then%>当前没有分类<%
rsf.close
end if%></td></tr></table></td>
             
              </TR>
         <tr><td align=center colspan=2 height=24 valign=bottom>
<%
if request("fl1")<>"" then
sqlf2="select * from fl2 where col1="&request("fl1")&""
set rsf2=server.createobject("adodb.recordset")
rsf2.open sqlf2,conn,1,1
do while not rsf2.eof%><A 
              href=index.asp?fl1=<%=rsf2("col1")%>&fl2=<%=rsf2("col2")%>><%=rsf2("fl2")%></A>
<%rsf2.movenext
loop
if rsf2.bof and rsf2.eof then%>当前没小分类
<%end if%> 
<%else%>
<%sqlf2="select * from fl2 where col1=1"
set rsf2=server.createobject("adodb.recordset")
rsf2.open sqlf2,conn,1,1
do while not rsf2.eof%><A 
              href=index.asp?fl1=<%=rsf2("col1")%>&fl2=<%=rsf2("col2")%>><%=rsf2("fl2")%></A>
<%rsf2.movenext
loop
if rsf2.bof and rsf2.eof then%>当前没小分类
<%end if%> 
 <%end if%> 
<%rsf2.close%></td>    </tr>  </table>  
<form method="post" action="search.asp"><table width="777" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffcf"><tr>
                          <td width=200 align=right><img src="images/sou.gif" width="125" height="15"></td>
                       
<td align=center><input type="text" name="keyword" size="25" class="forms"></td><td" height="5"></td><td><select name="select" size="1">      <option value="biaoti">词目</option>
      <option value="sg">拼音</option>
      <option value="js">释义</option>
      <option value="content">出处</option></select></td><td><input type="submit" name="Submit" value="搜索" class="forms"></td><td align=center>
<script language=JavaScript src="images/lianjie.js"></script> </td></tr></table></form>
<TABLE width=777  border=0 align="center" cellPadding=0 cellSpacing=0  borderColor="#666666" frame=vsides rules=none>
 
  <TR> 

⌨️ 快捷键说明

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