function AttachStyle(styDom, styCss, styId){ var istyle = styDom.createElement('style'); istyle.setAttribute("type", "text/css"); if(styId!=null){if(!document.getElementById(styId)){istyle.setAttribute("id", styId);}} if (istyle.styleSheet){ istyle.styleSheet.cssText=styC...
阅读:212
评论:0
/** Powered By CMSDream Copyright © 2007-2008 All rights reserved. 15:10 2008-6-7 **/ function querystring(paramstring){ this.url=window.location.href; this.params = new Object(); this.initialize = function(){ if(paramstring.length == 0) return; if(paramstring.substring(0,1)=='?'){ paramstring=paramstring.substring(1); } paramstring = p...
阅读:176
评论:0
阅读:117
评论:0
阅读:139
评论:0
阅读:102
评论:1
阅读:137
评论:0
阅读:109
评论:0
function strLen(str){ var len=0; for(var i=0;i<str.length;i++){ var intCode=str.charCodeAt(i); if(intCode>=0 && intCode<=128){ len = len + 1; }else{ len = len + 2; } } return len; }
Private Function Length(iTxt) Dim txt: txt = Trim(iTxt) Dim x: x = Len(txt) ...
阅读:222
评论:0