![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
文章平均质量分 69
码农110
工作多年了,在csdn也多年了,却什么也没留下....
展开
-
JS实现的客户端使用的播放器代码
JS function:function play(audiourl){document.getElementById(playerRegion).innerHTML=+type="codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902""+原创 2007-03-08 12:11:00 · 976 阅读 · 0 评论 -
js客户端验证的工具类
js客户端验证的工具类 common.js 代码//扩展String类功能 //删除字符串二边空格 String.prototype.trim = function() { return this.replace(/(^[/s]*)|([/s]*$)/g, ""); }; //删除字符串左边空格 String.protot转载 2007-03-22 17:49:00 · 1253 阅读 · 1 评论 -
js日期控件
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt-->body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #666666;}body { background-color: #333333; margin-left: 0px;原创 2007-04-24 10:16:00 · 1169 阅读 · 0 评论 -
用图片来做动画
New Document var aniframes = new Array(4);for(var i=0;ianiframes[i]=new Image();aniframes[i].src="images/"+i+".gif";}var frame = 0;var timeout_id = nullfunction animate(){document.anima原创 2007-06-04 17:47:00 · 864 阅读 · 0 评论 -
IE 下的朦版效果
[code="java"] loadingTipDiv.innerHTML = "" + "" + "" + text + ""; document.body.appendChild(loadingTipDiv); };[/code]2010-04-08 15:10:41 · 97 阅读 · 0 评论 -
Seven JavaScript Things I Wish I Knew Much Earlier In My Career
author: Christian Heilmann. url:http://www.smashingmagazine.com/2010/04/20/seven-javascript-things-i-wish-i-knew-much-earlier-in-my-career/I’ve been writing JavaScript code for much longer than I ...2010-04-27 11:29:44 · 267 阅读 · 0 评论 -
IE 下的朦版效果
2010-04-08 15:10:41 · 67 阅读 · 0 评论 -
Seven JavaScript Things I Wish I Knew Much Earlier In My Career
I care to remember. I am very excited about the language’s recent success; it’s good to be a part of that success story. I’ve written dozens of articles, book chapters and one full book on the matter, and yet I keep finding new things. Here are some of the2010-04-27 11:29:44 · 308 阅读 · 0 评论