网站公告列表

没有公告

加入收藏
设为首页
联系站长
轻松学电脑>>网页制作>>其它教程>>hta应用—代码统计工具
双击滚屏阅读

hta应用—代码统计工具
{ padding:20px; width:50%; } #outputWrapper { padding:10px; } </style> <script type="text/javascript"> //<![CDATA[ //====================================================================================== // // Module : NCC - never code counter V1.01 beta // Script by : never-online, blueDestiny // Updated : 2006-6-25 // Copyright : Miracle technology all reserved // Website : http://www.never-online.net // Email : blueDestiny@126.com // Blog : http://blog.csdn.net/blueDestiny, http://blog.never-online.net/ // Comment : Permission given to use this script in ANY kind of applications if // header lines are left unchanged. // //====================================================================================== //==================================================================================== // Ultity Function var doc = document, wnd = window; String.prototype.trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ''); }; Array.prototype.push = function(x) { this[this.length] = x; }; Array.prototype.pop = function() { return this[this.length-1]; }; //==================================================================================== var NCC = { // Private Variables _maxloop : 3000, _version : "1.02 beta", _author : "BlueDestiny, never-online", _webURI : "http://www.never-online.net", _lines : {"total":0}, _bytes : {"total":0}, _files : {"total":0}, _words : {"total":0}, _error : {}, _filesExts : "cs,js,asp,xml,aspx", _fsoObj : new ActiveXObject("Scripting.FileSystemObject") // make sure Your fso activeXObject is availd. otherwise can not runing next code }; // Public Functions API NCC.splash = function() { }; NCC.init = function() { var fileDlgObjStr = '<object id="filepathDlg"' +' width="0px" height="0px"' +' classid="CLSID:F9043C85-F6F2-101A-A3C9-08002B2F49FB"' +' codebase="http://activex.microsoft.com/controls/vb5/comdlg32.cab">' +'</object>'; var folderDlgObjStr = '<object id="folderpathDlg"' +' classid="CLSID:13709620-C279-11CE-A49E-444553540000"' +' width="0" height="0">' +'</object>'; var loadingObjStr = '<div id="loading"></div>'; doc.body.insertAdjacentHTML("beforeEnd", fileDlgObjStr); doc.body.insertAdjacentHTML("beforeEnd", folderDlgObjStr); doc.body.insertAdjacentHTML("beforeEnd", loadingObjStr); } NCC.chkFileExts = function(filenameStr) { var a = this._filesExts.trim().split(","); var f = this.getFileExts(filenameStr); for (

上一页  [1] [2] [3] [4] [5] [6] 下一页

 
  • 上一篇文章:

  • 下一篇文章:
  • 广告
    阅读top10
    普通文章[突破]在线编辑器任意…
    普通文章[JS]点出统计器
    普通文章[效果]JS折叠菜单
    普通文章javascript的函数
    普通文章怎么用javascript…
    普通文章百分百弹窗
    普通文章hta应用—代码统计工具
    普通文章小方框中浏览大图
    普通文章js版sliderBar(滑动条…
    普通文章JS代码格式化和语法着…
    普通文章好玩的样式—放大效果
    普通文章用css制作星级评分
    普通文章关于textarea的直观换…
    普通文章仿windows选项卡效果拾…
    查看hta应用—代码统计工具全部内容
    本站提供:电脑教程 网页制作 Flash教程 PhotoShop教程等免费教程。
    Copyright © 2006-2008轻松学电脑All Rights Reserved