<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Henry</title><subtitle type="text">选择你所爱，爱你所选择</subtitle><id>http://feed.cnblogs.com/blog/u/17742/rss</id><updated>2007-03-13T09:14:05Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/17742/rss"/><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/03/13/673359.html</id><title type="text">Javascript 使用类</title><summary type="text">----------------------------方法一----------------------------------&#xD;//定义类&#xD;function StudentObject(){&#xD;    //Property&#xD;    this.Name = "";&#xD;    this.Age = "";&#xD;    this.Sex = "";&#xD;    this.Grade = "";&#xD;    this.Address = "";&#xD;    this.Phone = "";&#xD;&#xD;    //Method&#xD;    this.tt = ff;&#xD;}</summary><published>2007-03-13T09:14:00Z</published><updated>2007-03-13T09:14:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/03/13/673359.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/03/13/673359.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/03/06/664955.html</id><title type="text">用javascript按需加载.js和.css文件</title><summary type="text">项目需要在JS中动态加载JS文件，正好搜到一篇文章，先放这，然后去测一下：&#xD;&#xD; 2         &#xD; 3         function JSandCSSRegistration()&#xD; 4         {            &#xD; 5             document.createStyleSheet("style.css");&#xD;</summary><published>2007-03-06T01:17:00Z</published><updated>2007-03-06T01:17:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/03/06/664955.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/03/06/664955.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/02/25/656237.html</id><title type="text">考虑了全半角的SubString</title><summary type="text">//考虑了全半角的SubString&#xD;function GetSubString(str,len)&#xD;{&#xD;    if(len == "undefined")&#xD;    {&#xD;        return str;&#xD;    }&#xD;    var newStr = new Array();</summary><published>2007-02-25T09:02:00Z</published><updated>2007-02-25T09:02:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/02/25/656237.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/02/25/656237.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/02/07/643354.html</id><title type="text">window.open 打开的窗口关闭后</title><summary type="text">最近遇到一个问题，要实现window.open打开的窗口关闭后，刷新一下当前页面，原来想的解决办法是在打开的窗口关闭时，window.opener.refresh();，结果一直提示没有权限，可能是和跨域有关吧，在网上搜搜，得到更好的方式</summary><published>2007-02-07T04:32:00Z</published><updated>2007-02-07T04:32:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/02/07/643354.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/02/07/643354.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/02/01/636852.html</id><title type="text">javascript小技巧</title><summary type="text">事件源对象 &#xD;event.srcElement.tagName &#xD;event.srcElement.type &#xD;捕获释放 &#xD;event.srcElement.setCapture();  &#xD;event.srcElement.releaseCapture();  &#xD;事件按键 &#xD;event.keyCode &#xD;event.shiftKey &#xD;event.altKey &#xD;event.ctrlKey &#xD;事件返回值 &#xD;event.returnValue &#xD;鼠标位置 &#xD;event.x &#xD;event.y &#xD;窗体活动元素 &#xD;</summary><published>2007-02-01T05:30:00Z</published><updated>2007-02-01T05:30:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/02/01/636852.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/02/01/636852.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/01/30/634158.html</id><title type="text">看完越狱20件必须懂的东西(转)</title><summary type="text">看完越狱20件必须懂的东西&#xD;一个男人从越狱里的人物身上应该学到什么？&#xD;1、Michael Scofield&#xD;头脑。我理解的头脑，应该是智慧+冷静。作为这部戏的主角，导演很慷慨的把两点质量都赋予了Michael，他的智慧和冷静是贯穿始终的，近乎完美。</summary><published>2007-01-30T01:13:00Z</published><updated>2007-01-30T01:13:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/30/634158.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/30/634158.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/01/30/634142.html</id><title type="text">vs2005 安装sp1</title><summary type="text">vs2005 安装sp1,重装了系统，装完vs后，装SP1，因为第一次安装这个东东，不知道还要注意什么，结果装了一半，提示错误，说什么过不了验证什么的，然后，重装，太晚了，自己装去吧，睡觉......&#xD;&#xD;早上醒来一看，晕呀&#xD;</summary><published>2007-01-30T01:03:00Z</published><updated>2007-01-30T01:03:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/30/634142.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/30/634142.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628829.html</id><title type="text">NHibernate1.2在VS2005下的配置</title><summary type="text">折腾了一天，NHibernate1.2在VS2005下的配置，终于通了，做个简单的备忘吧，以防以后再走弯路。&#xD;&#xD;１、首先，我使用的是单独的配置文件hibernate.cfg.xml，我觉得这样更合理些，比较把那些配置都放在Web.config里更合理点吧，文件内容是这样的：&#xD;</summary><published>2007-01-24T03:13:00Z</published><updated>2007-01-24T03:13:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628829.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628829.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628824.html</id><title type="text">AJAX第十一天</title><summary type="text">ASP.NET AJAX中的服务端Timer控件的简单使用&#xD;&#xD;这个例子比较有意思了，如果想弄个网页时钟的话，用这种方式简直易如反掌呀，呵呵&#xD;&#xD;在UpdatePanel中放一个Label和一个Timer，当然，这个Timer是Ajax Extensions中的，双击Timer，添加Tick事件Label1.Text = "Panel refreshed at:" + DateTime.Now.ToLongTimeString();&#xD;&#xD;，好了，运行吧，噢，对，还得设置Timer的Interval，原例中设10000，我设1000，也就是一秒一次了，这才像时钟呀，OK,运行，效果不错&#xD;&#xD;ＴerryLee在文中还说Timer控件可以作为UpdatePanel的触发器不管是否在UpdatePanel中，没错，我试着把Timer拖出了UpdatePanel，还是能触发，不过嘛，整个页面刷新了&#xD;</summary><published>2007-01-24T03:12:00Z</published><updated>2007-01-24T03:12:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628824.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628824.html"/></entry><entry><id>http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628823.html</id><title type="text">AJAX第十天</title><summary type="text">在母版页中使用UpdatePanel控件&#xD;&#xD;这个例子很简单了，在母版页中放一个ScriptManager，注意不要放在ContentPlaceHolder里面，然后在一个Content Page页中，加入一个UpdatePanel，并在UpdatePanel里放一个日历控件，运行显示，点日历控件中的上下月时，页面并没有刷新。&#xD;&#xD;&#xD;通过Master Page刷新UpdatePanel&#xD;&#xD;这个例子也不难，不过做起来步骤多些：&#xD;先在MasterPage里放两个按钮，一个加，一个减&#xD;&#xD;&#xD;并在MasterPage的Page_Load里加入&#xD;ScriptMa</summary><published>2007-01-24T03:11:00Z</published><updated>2007-01-24T03:11:00Z</updated><author><name>HenryZhang</name><uri>http://www.cnblogs.com/zhanghaibin/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628823.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zhanghaibin/archive/2007/01/24/628823.html"/></entry></feed>
