|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
ASP.NET和ASP的比较,技术上比较已经没什么可说的了.新一代在大部分程度来说当然是比旧一代好了.关键看你对所做软件的理解了.因人而定.会写的话也可能比ASP.NET写得更有效率和更方便重用链接|页面<scripttype="text/javascript"src="index/title.js"></script>
<scriptlanguage="JavaScript"type="text/JavaScript">
<!--
functionMM_openBrWindow(theURL,winName,features){//v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<ahref=####onClick="MM_openBrWindow(display.asp,,scrollbars=yes,width=500,height=600)"
title="<fontcolor=red>公布人:<%=people%><br>人气:<%=view%></font><br><%=left(main,50)%>……"><%=title%></a></div>
-------------------title.js----------------------------------
//***********默许设置界说.*********************
tPopWait=50;//停止tWait豪秒后显现提醒。
tPopShow=5000;//显现tShow豪秒后封闭提醒
showPopStep=20;
popOpacity=99;
//***************外部变量界说*****************
sPop=null;
curShow=null;
tFadeOut=null;
tFadeIn=null;
tFadeWaiting=null;
document.write("<styletype=text/CSSid=defaultPopStyle>");
document.write(".cPopText{background-color:#F8F8F5;color:#000000;border:1px#000000solid;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("<divid=dypopLayerstyle=position:absolute;z-index:1000;class=cPopText></div>");
functionshowPopupText(){
varo=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
elsepopStyle="cPopText";
curShow=setTimeout("showIt()",tPopWait);
}
}
}
functionshowIt(){
dypopLayer.className=popStyle;
dypopLayer.innerHTML=sPop;
popWidth=dypopLayer.clientWidth;
popHeight=dypopLayer.clientHeight;
if(MouseX+12+popWidth>document.body.clientWidth)popLeftAdjust=-popWidth-24
elsepopLeftAdjust=0;
if(MouseY+12+popHeight>document.body.clientHeight)popTopAdjust=-popHeight-24
elsepopTopAdjust=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();
}
functionfadeOut(){
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);
}
}
functionfadeIn(){
if(dypopLayer.filters.Alpha.opacity>0){
dypopLayer.filters.Alpha.opacity-=1;
tFadeIn=setTimeout("fadeIn()",1);
}
}
document.onmou搜索引擎优化ver=showPopupText;
functionCheckAll(form){
for(vari=0;i<form.elements.length;i++){
vare=form.elements[i];
if(e.name!=chkall)e.checked=form.chkall.checked;
}
}
</p>想法是和程序员的想法不一样的.至于为什么.大家去想一想.跟心理学有关的 |
|