11 2011 档案
摘要:出处: http://blog.csdn.net/zzuqqiu/article/details/6432692摘要:本文可以帮助你在Office 2007中为Word标题样式添加和设置自动编号功能。正文:近日因工作需要,需要编制一份Word文档,并需要为标题提供编号,而系统默认的标题样式并没有自动编号的功能,系统默认的标题样式效果如下图:因各种层级的标题数量比较大,且在编制过程中会不停的增、删、改各种层级的标题,所以手工输入标题编号显然不是明智之举,无奈,在网上查了很多资料,查找关于Word设置标题自动编号的解决方案,一直未能找到一个真正可用且正确的方案,所以自己只能埋头若干,自己摸索。经过
阅读全文
摘要:演示地址:http://www.bj-yude.com/Products.asp1. HTML代码<link href="css/jquery.lightbox-0.5.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src=&q
阅读全文
摘要:<script type="text/javascript"> <!-- /* 功能:图片等比例缩放 目标:ImgTag 图片宽度:FitWidth 图片高度:FitHeight */ //var FitWidth = 120; //var FitHeight = 120; function ResizePic(ImgTag,FitWidth,FitHeight) { var image = new Image(); image.src = ImgTag.src; if(image.width>0 && image.height>
阅读全文
摘要:'------------------生成静态所用的函数 开始---------------------'用途:将指定内容,写入文本文件'参数:filepath(包含路径的文件名,支持虚拟路径),fileContent(文件内容)'示例:WriteFile "/abc.txt","abcde" 或WriteFile "c:\abc.txt","abcde"'编写:杨俊明 2006-2-8 13:10 QQ:278919507 Email:yjmyzz@126.comfunct
阅读全文
摘要:'方法:createFolder'作用:建立目录'参数:strDir 表示要建立的目录的物理路径 sub createFolder(strDir)set fso=server.CreateObject("scripting.filesystemobject") if strDir <> "" then if not fso.folderExists(strDir) then fso.createfolder(strDir)end ifset rso = nothing end sub sub delFolder(fol
阅读全文
摘要:'将字符转换成网页能识别的字符function changechr(str) str = replace(str,"<","<") str = replace(str,">",">") str = replace(str,"chr(13)","<br>") 'str = replace(str," "," ")'changechr=replac
阅读全文
摘要:<%'----------------------------------------------------------'***************** 风声无组件上传类 2.0 *****************'作者:风声'网站:http://www.17560.net http://www.54nb.com'邮件:Rumor@17560.net'版权:版权全体,源代码公开,各种用途均可免费使用'**********************************************************'-
阅读全文
摘要:<% '------------------------------ GetSize.asp ------------------------------'File Build Date: 2004-08-14'ImgPath文件路径,要求绝对路径。ImgWidth图片约束宽度,ImgHeight图片约束高度'函数返回值为一个5个元素的数组,下面是数组元素返回值的意义'Array(0):图片类型。只会返回GIF或JPG两种类型,否则就返回空串'Array(1):约束后的图片宽度'Array(2):约束后的图片高度'Array
阅读全文
摘要:<%Private Const BITS_TO_A_BYTE = 8Private Const BYTES_TO_A_WORD = 4Private Const BITS_TO_A_WORD = 32Private m_lOnBits(30)Private m_l2Power(30)Private Function LShift(lValue, iShiftBits) If iShiftBits = 0 Then LShift = lValue Exit Function ElseIf iShiftBits = 31 Then If lValue And 1 Then LShift =
阅读全文
摘要:ASP 信息提示,并作返回或者转向'************************'子程序名:信息提示窗口'功能:信息提示,并作返回或者转向'参数:'str 提示字符串'stype 处理类型:Back 返回 GoUrl 转向 Close 关闭'url 转向方向'************************Sub MsgBox(str,stype,url)response.write "<script language=javascript>"response.write "alert
阅读全文
摘要:ASP将日期格式化为需要的格式'****************************** '函数:FormatDate(DateAndTime, para) '参数:DateAndTime,要格式化的日期时间;para,样式。 '作者:阿里西西 '日期:2007/7/12 '描述:将日期格式化为需要的格式 '示例:<%=FormatDate(now(), 3)'****************************** Public Function FormatDate(DateAndTime, para) On E
阅读全文