code.asp
资源名称:1.rar [点击查看]
上传用户:ziqing_518
上传日期:2022-08-09
资源大小:446k
文件大小:4k
源码类别:
多媒体编程
开发平台:
ASP/ASPX
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
- <meta name="ProgId" content="FrontPage.Editor.Document">
- <title><%=strHomepage_1%></title>
- <style type="text/css">
- <!--
- BODY{ font-family:"宋体"; font-size: 12px;
- scrollbar-face-color:ffffff;
- scrollbar-shadow-color:C1C1BB;
- scrollbar-highlight-color:C1C1BB;
- scrollbar-3dlight-color:EBEBE4;
- scrollbar-darkshadow-color:EBEBE4;
- scrollbar-track-color:F4F4F0;
- scrollbar-arrow-color:CACAB7;
- }
- p, input, font, select, option, textarea, form { font-family:"宋体"; font-size: 12px }
- td { table-layout:fixed;word-break :break-all; font-family:"宋体"; font-size: 12px}
- a:link { text-decoration: none }
- a:visited { text-decoration: none }
- a:hover { text-decoration: underline }
- a:active { text-decoration: none; font-size: 12px }
- .border { border-collapse: collapse; border-style: dotted; border-width: 1; color:#000000; background-color:#efefef}
- .shadow1 { font-size: 12px; filter:dropshadow(color=#000000,offx=1,offy=1);color:#ffffff;}
- .shadow2 { font-size: 12px; filter:dropshadow(color=#d5d5d5,offx=1,offy=1);color:#000000;}
- .p1 { color: #ffffff; font-size: 12px; text-decoration: none; }
- .p2 { color: #000000; font-size: 12px; text-decoration: none; }
- .p3 { color: #004080; font-size: 14px; text-decoration: none; }
- .p4 { background-color: #C0C0C0; border: 1 solid #000000; color: #333333; }
- -->
- </style>
- <script Language="JavaScript">
- //***********默认设置定义.*********************
- tPopWait=50;//停留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 { background-color: #F8F8F5;color:#000000; border: 1px #000000 solid;font-color: font-size: 12px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; 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 bgcolor=white text=#000000 link=#000000 vlink=#000000>