<?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/15820/rss</id><updated>2010-09-26T01:59:04Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/15820/rss"/><entry><id>http://www.cnblogs.com/xianyun/archive/2010/09/26/1835310.html</id><title type="text">dojo tree的折叠和展开</title><summary type="text">function collapseAll(branches, myTree){		 if(branches == null){  		  if(myTree == null){		 myTree = dijit.byId('MenuTree');		  }		  		  branches = myTree.rootNode.getChildren();		 }		 var branch;		 fo...</summary><published>2010-09-26T01:59:00Z</published><updated>2010-09-26T01:59:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2010/09/26/1835310.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2010/09/26/1835310.html"/><content type="html">&lt;div&gt;&lt;div&gt;function collapseAll(branches, myTree){&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; if(branches == null){ &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(myTree == null){&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myTree = dijit.byId('MenuTree');&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;branches = myTree.rootNode.getChildren();&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; var branch;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; for(var i = 0; i&amp;lt;branches.length; i+=1){&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;branch = branches[i]; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;collapseAll(branch.getChildren(), myTree);&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;myTree._collapseNode(branch);&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;function expandAll(branches,myTree){&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;if(branches == null){ &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;&amp;nbsp;&amp;nbsp; if(myTree == null){&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;myTree = dijit.byId('MenuTree');&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;&amp;nbsp;&amp;nbsp; }&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;&amp;nbsp;&amp;nbsp; branches = myTree.rootNode.getChildren();&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;var branch;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;for(var i = 0; i&amp;lt;branches.length; i+=1){&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;&amp;nbsp;&amp;nbsp; branch = branches[i]; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;&amp;nbsp;&amp;nbsp; expandAll(branch.getChildren(), myTree);&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;&amp;nbsp;&amp;nbsp; myTree._expandNode(branch);&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;			&lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span  style="white-space: pre; "&gt;		&lt;/span&gt;}&lt;/div&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/xianyun/aggbug/1835310.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/xianyun/archive/2010/09/26/1835310.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2008/09/20/1294916.html</id><title type="text">设置IE8和Firefox3.0的语言</title><summary type="text"/><published>2008-09-20T13:26:00Z</published><updated>2008-09-20T13:26:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2008/09/20/1294916.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2008/09/20/1294916.html"/></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2008/07/19/1246444.html</id><title type="text">Javascript中call函数</title><summary type="text"/><published>2008-07-18T16:00:00Z</published><updated>2008-07-18T16:00:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2008/07/19/1246444.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2008/07/19/1246444.html"/></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2007/08/30/876443.html</id><title type="text">喵喵</title><summary type="text"/><published>2007-08-30T14:51:00Z</published><updated>2007-08-30T14:51:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2007/08/30/876443.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2007/08/30/876443.html"/></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2006/09/15/504766.html</id><title type="text">在工作中学习</title><summary type="text"/><published>2006-09-15T00:54:00Z</published><updated>2006-09-15T00:54:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2006/09/15/504766.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2006/09/15/504766.html"/></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2006/09/15/504686.html</id><title type="text">FlashForward 2006 Austin 获奖名单[转自Dengjie Blog]</title><summary type="text"/><published>2006-09-14T16:06:00Z</published><updated>2006-09-14T16:06:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2006/09/15/504686.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2006/09/15/504686.html"/></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2006/09/13/450122.html</id><title type="text">利用〔正则〕检查.NET访问数据库Sql的正确性</title><summary type="text">利用数据库访问脚本及其数据库字段的命名约定,自动生成检测sql的数据!</summary><published>2006-09-13T04:42:00Z</published><updated>2006-09-13T04:42:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2006/09/13/450122.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2006/09/13/450122.html"/></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2006/09/13/502700.html</id><title type="text">无计划就不行动!</title><summary type="text"/><published>2006-09-13T00:44:00Z</published><updated>2006-09-13T00:44:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2006/09/13/502700.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2006/09/13/502700.html"/></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2006/09/10/500417.html</id><title type="text">如何由已知去了解未知？</title><summary type="text">脑海无轮廓，见水不思源，见木不想根。归根到底是缺乏思维主动性和创造性。</summary><published>2006-09-10T13:26:00Z</published><updated>2006-09-10T13:26:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2006/09/10/500417.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2006/09/10/500417.html"/></entry><entry><id>http://www.cnblogs.com/xianyun/archive/2006/09/07/497100.html</id><title type="text">检验医学信息资源链接</title><summary type="text"/><published>2006-09-07T02:10:00Z</published><updated>2006-09-07T02:10:00Z</updated><author><name>闲云</name><uri>http://www.cnblogs.com/xianyun/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xianyun/archive/2006/09/07/497100.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xianyun/archive/2006/09/07/497100.html"/></entry></feed>
