<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_依依似君子</title><subtitle type="text">自强不息,厚德载物</subtitle><id>http://feed.cnblogs.com/blog/u/16714/rss</id><updated>2008-07-17T09:21:45Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/16714/rss"/><entry><id>http://www.cnblogs.com/jxhwei/archive/2008/07/17/1245332.html</id><title type="text">在文本框的光标处插入指定的文本（另一种方式）</title><summary type="text">前面一篇是插入固定值，更多的考虑到类似在插入表情这样的需求，今天又碰到另一个朋友问我另一种方式，于是顺便研究了下另一种在光标处插入文本的办法。[代码]测试：[代码]</summary><published>2008-07-17T09:20:00Z</published><updated>2008-07-17T09:20:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2008/07/17/1245332.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2008/07/17/1245332.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2008/06/11/1217468.html</id><title type="text">在文本框的光标处插入指定的文本（兼容IE6和Firefox）</title><summary type="text">昨天有人问我这个事，今天就来做做了，最开始是按自己的思路做，在keyup事件里对输入键做判断，以处理什么退格啊，删除啊，上下左右移动等动作，然后记录光标位置来做文本处理，费了好大劲。不过后来无意中发现了【孟子E章】的一个解决方案，简洁有效。本着研究学习的目的，我对【孟子E章】的方法做了个封装，这样在使用时会简单一些，尤其是需要插入的标签较多时。这是调用代码：&amp;lt;!DOCTYPEhtmlPUBL...</summary><published>2008-06-11T08:44:00Z</published><updated>2008-06-11T08:44:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2008/06/11/1217468.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2008/06/11/1217468.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2008/05/20/1203551.html</id><title type="text">Javascript对象的比较</title><summary type="text">这个随笔其实是为了感谢清风笑给的一个提示，不仅仅是告诉我怎么判断数组，更让我有了认真读一读《javascript权威指南》的想法。比较和拷贝其实是一回事，代码如下：////Compareobjectfunction//functionCompare(fobj,sobj){varftype=typeof(fobj);varstype=typeof(sobj);if(ftype==stype){if(...</summary><published>2008-05-20T10:33:00Z</published><updated>2008-05-20T10:33:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2008/05/20/1203551.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2008/05/20/1203551.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2008/05/19/1202761.html</id><title type="text">javascript对象的深拷贝</title><summary type="text">其实我的办法并不是很好，不过好歹是自己琢磨的，，最开始的思路也是来自网上，就是不区分数组和类，统一只拷贝属性，但我在使用中发现如果拷贝对象是数组或者类的某个属性是数组的话，拷贝过去之后的数组全都无法用下标去访问了，于是我就简单的跟踪了下，发现简单的for each是不能拷贝Object本身的属性的，就是说，你new一个Object，然后给这个Object添加属性，然后用for each的方式去访问...</summary><published>2008-05-19T10:14:00Z</published><updated>2008-05-19T10:14:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2008/05/19/1202761.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2008/05/19/1202761.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2008/05/19/1202741.html</id><title type="text">对mootools的颜色选择器做个小改进</title><summary type="text">mootools的颜色选择器（mooRainbow）用起来还是挺方便的，不过在ie6里有个小问题，就是会被下拉列表挡住改进的方式很简单，在它的div外面套个iframe。找到mooRainbow.js的doLayout方法，在它的ie6判断中添加几行代码：if(window.ie6){div.setStyle('overflow','');varsrc=ov.src;ov.src=this.opt...</summary><published>2008-05-19T09:51:00Z</published><updated>2008-05-19T09:51:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2008/05/19/1202741.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2008/05/19/1202741.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2008/04/01/1133107.html</id><title type="text">用SQL DMO获得局域网SQL server服务器，以及获得指定服务器的数据库列表</title><summary type="text">其实网上有很多例子，这里不过是重复下，。1 首先在程序中添加SQL DMO的引用.(这个必须要装了SQL server才有，在 添加引用-&amp;gt;COM中找。)2 获得服务器列表/**////&amp;lt;summary&amp;gt;///GetAvailableSQLServers///&amp;lt;/summary&amp;gt;///&amp;lt;returns&amp;gt;ServerList&amp;lt;/returns&amp;gt;p...</summary><published>2008-04-01T08:20:00Z</published><updated>2008-04-01T08:20:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2008/04/01/1133107.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2008/04/01/1133107.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2007/10/29/941712.html</id><title type="text">检查矩阵是否有线性相关性</title><summary type="text">网上没找到，自己对付着写了一个，作用就是判断一个2列以上（含2列）的矩阵，是否有某2列存在线性相关性/**////&amp;lt;summary&amp;gt;///检查矩阵的轶是否具有高相关性///&amp;lt;/summary&amp;gt;///&amp;lt;paramname="X"&amp;gt;待检查的矩阵&amp;lt;/param&amp;gt;///&amp;lt;returns&amp;gt;检查结果，如果有高相关性，返回true，否则返回false&amp;...</summary><published>2007-10-29T08:37:00Z</published><updated>2007-10-29T08:37:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2007/10/29/941712.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2007/10/29/941712.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2007/06/15/784855.html</id><title type="text">WOW笑话，笑死我了</title><summary type="text">某马甲悄悄的对[珊瑚舞]说：JJ，怎么才能离开公会啊？ 　　[珊瑚舞]悄悄的对某马甲说：/GQUIT 　　珊瑚舞离开了公会。 　　[公会][幸福晨晨]：？？？ 　　珊瑚舞加入了公会。 　　[公会][卡卡呦]：欢迎回来！ 　　[公会][幸福晨晨]：饿..... 　　[公会][卡卡呦]：355，你怎么走了？ 　　[公会][珊瑚舞]：毛巾花露水的！有白痴害我，问我怎么退出工会。 　　[公会][幸福晨晨]...</summary><published>2007-06-15T08:09:00Z</published><updated>2007-06-15T08:09:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2007/06/15/784855.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2007/06/15/784855.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2007/05/18/751307.html</id><title type="text">动态修改/添加CSS文件链接</title><summary type="text">感觉要记的东西太多，可总记不住&amp;#8230;&amp;#8230;functionSetSkin(skinUrl){varp=window.dialogArguments;//假设上个页面使用这样的语句：window.showModalDialog(url,window);if(p.document.styleSheets.length&amp;lt;1)//如果页面上没有样式表链接，创建并添加{style=p....</summary><published>2007-05-18T03:51:00Z</published><updated>2007-05-18T03:51:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2007/05/18/751307.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2007/05/18/751307.html"/></entry><entry><id>http://www.cnblogs.com/jxhwei/archive/2007/04/18/717119.html</id><title type="text">使用.net验证控件遇到的小麻烦</title><summary type="text">做了个个人资料修改的aspx，功能很简单，但因为需求要求，把个人资料分为普通资料和密码管理2部分，我个人是不喜欢使用.net验证控件的，总觉得麻烦，没自己写的爽，但这次被强制要求使用-_-画表格，拖控件，设置验证条件，写后台代码&amp;#8230;&amp;#8230;，这些细节就不多说了，反正一会的功夫，好了：普通资料和密码管理用2个div装着，用js脚本控制2个div的隐藏显示，2个按钮分别更新资料和密码—...</summary><published>2007-04-18T05:29:00Z</published><updated>2007-04-18T05:29:00Z</updated><author><name>非我</name><uri>http://www.cnblogs.com/jxhwei/</uri></author><link rel="alternate" href="http://www.cnblogs.com/jxhwei/archive/2007/04/18/717119.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/jxhwei/archive/2007/04/18/717119.html"/></entry></feed>
