随笔分类 - JS Collecion
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 城市联动 test
阅读全文
摘要:IE: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->cssStr = "p { color:#FF0000;} a { font-size:9pt;}";var style = win.document.createStyleShe...
阅读全文
摘要:些文章来自网络 http://www.blogjava.net/fool/archive/2006/06/27/55285.html Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ziyuanweihu ...
阅读全文
摘要:JavaScript利用ActiveX导出Excel,Word,利用ActiveX导出Excel或Word
阅读全文
摘要:/* Prototype JavaScript framework, version 1.4.0 * (c) 2005 Sam Stephenson * * Prototype is freely distributable under the terms of an MIT-style license. * For details, see the Prototype we...
阅读全文
摘要:JSHashTable
阅读全文
摘要:String.prototype.PadLeft = function(totalWidth, paddingChar) { if ( paddingChar != null ) { return this.PadHelper(totalWidth, paddingChar, false); } else { return this.PadHelper(totalWidth, ' '...
阅读全文
摘要:些贴为网上转贴 获取窗口 高 、宽 的JS代码 var getViewPortWidth = function() { var width = 0; if ((document.documentElement) && (document.documentElement.clientWidth)) { width = document.documentE...
阅读全文
摘要:function getElementOffset(e) { var t = e.offsetTop; var l = e.offsetLeft; var w = e.offsetWidth; var h = e.offsetHeight-1; while(e=e.offsetParent) { t+=e.offsetTop; l+=e.offsetLeft; } ret...
阅读全文