
IE不认的 <divid="qwbmids"></div> <script> document.getElementById("qwbmids").innerHTML+="<style>stron阅读全文
(超级给力的页面标注工具) http://www.getmarkman.com/download/MarkMan.air MarkMan是一款方便高效的标注工具,极大节省设计师在设计稿上添加和修改标注的时间,让设计更有爱。 马克鳗(markman)是既有爱又给力的长度标注神器,马克阅读全文
<% Response.Write"<selectsize=""1""name=""datYear"">" Fori=2005ToYear(Date) Response.Wri阅读全文
<% '****************************** '函数:MoveR(Rstr) '参数:Rstr,以逗号做分隔的数组 '描述:去除数组中重复的项 '示例:MoveR("1,2,2,2,3,3,4,a,45,5,6,6") '********阅读全文
asp统计信息/文章每日、每周、每月、总访问量的方法 <%@LANGUAGE="VBSCRIPT"CODEPAGE="936"%><!--#includefile="conn.asp"--> <% '阅读全文
<%'删除指定的文件SubDoDelFile(sPathFile)OnErrorResumeNextDimoFSOSetoFSO=Server.CreateObject("Scripting.FileSystemObject")oFSO.DeleteFile(Server.MapPath(sP阅读全文
<%Functiongameimgs(content)SetregEx=NewRegExp'建立正则表达式。regEx.Pattern="(<img)(.[^<>]*)(src=)('|"&CHR(34)&"|)?(.[^'|\s|"&CHR(34)&阅读全文
functionExecReg(re,content)DimmyRegExp,ResultStringSetmyRegExp=NewRegExpmyRegExp.Global=TruemyRegExp.Pattern=reResultString=myRegExp.Replace(content,"阅读全文
IE8CSSHACK兼容集合"\9" 例:"margin:0pxauto\9;".这里的"\9"可以区别所有IE和FireFox."*" IE6、IE7可以识别.IE8、FireFox不能."_" IE6可以识别"_",IE7、IE8、FireFox不能. 以下为详细代码 <!DO阅读全文
[转]javascript缓冲效果查看预览效果>> http://bbs.blueidea.com/viewthread.php?tid=2883594&extra=&page=1阅读全文
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Strict//EN""DTD/xhtml1-strict.dtd"> <htmlxmlns="http://www.w3.org/1999/xhtml"> <h阅读全文
<%rem在ASP中实现加密与解密,加密方法:根据RSArem联系:hnsoso@sina.comClassclsRSA PublicPrivateKeyPublicPublicKeyPublicModulus PublicFunctionCrypt(pLngMessage,pLngKey阅读全文
flash关闭动画时同时关闭网页的代码on(release){getURL("javascript:window.opener=null;self.close();");//这是flahs关闭HTML网页用的用的FScommand("quit",true);//这个是关闭SWF动画的用的}on(re阅读全文
objXmlHttp.open"GET","http://"&request.ServerVariables("HTTP_HOST")&"/index.asp",falseobjXmlHttp.open"GET","http://"&request.ServerVariabl阅读全文
<%content="<!--开始-->这里第一个需要替换的内容<!--结束-->不需要替换的内容<!--开始-->这里第二个需要替换的内容<!--结束-->asdasdasdasdasdasdasdasdas<!--开始-->这里第阅读全文
<%str="<spanstyle='font-size:9pt;font-family:宋体'>中国aaaaaaaaaaaaaaaaaaa深山qwbm.com</span>"FunctionReplaceTest(patrn,str,replStr)DimregEx'阅读全文
在iframe窗口中打开链接 <iframename="a1"></iframe><ahref="http://www.qwbm.com/"target="a1">qwbm</a> <iframeid="mxh"></iframe阅读全文
只要在Flash对象加入页面时生成的HTML代码中加入以下参数就可以让Div浮动层从Flash下露出来了:<paramname="wmode"value="transparent"/> 另外,发现另外一个更专业的参数:<paramname="wmode"value="opaque阅读全文
在网页内加上创建桌面快捷方式的按钮功能是:浏览网页时在醒目的地方有个收藏本站到桌面(在桌面创建连接本站的快捷方式)本人严重不建议大家使用。 以下为详细代码 <scriptlanguage="JavaScript"> functiontoDesktop(sUrl,sName)阅读全文