《2022年弹出半透明层且显打字效果CSSHTML教程.docx》由会员分享,可在线阅读,更多相关《2022年弹出半透明层且显打字效果CSSHTML教程.docx(3页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、2022年弹出半透明层且显打字效果CSSHTML教程<body><input type=button onmouseover=ObjOver(abcdefgheightabcdefgheightabcdefgheightabcdefgheightabcdefgheight,this)><script language=JScript>var str=,bor=0;function ObjOver(obj,even){MailObjBox.style.display=;MailObj.innerHTML=;bor=0;ChS(obj);functio
2、n even.onmouseout(){ MailObjBox.style.display=none; MailObjBox.style.width=0; MailObjBox.style.height=0; } }function ChS(obj){if(MailObjBox.style.pixelWidth<200){MailObjBox.style.pixelWidth+=2;MailObjBox.style.pixelHeight+;setTimeout(ChS(+obj+),5); } else{str=ob
3、j;WrS(); } }function WrS(){if(bor<str.length){ MailObj.innerHTML=<font color=#000000>+str.slice(0,bor).replace(/g,<br>)+</font>+<font color=#ffffff>+str.slice(bor,bor+1).replace(/g,<br>)+</font> bor+; setTimeout(WrS,100); } }</script><div style=position:absolute;width:0;height:0;border:1 solid black;background:#cccccc;font-size:9pt;display:none;overflow:hidden;filter:alpha(opacity=80) id=MailObjBox><div style=width:100%;height:100 id=MailObj>a</div></div>(出处: