<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lastidea.net 技术博客</title>
	<atom:link href="http://www.lastidea.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.lastidea.net</link>
	<description></description>
	<lastBuildDate>Thu, 08 Apr 2010 08:11:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>用google(中国)搜索,请先过滤百家姓</title>
		<link>http://www.lastidea.net/?p=92</link>
		<comments>http://www.lastidea.net/?p=92#comments</comments>
		<pubDate>Thu, 08 Apr 2010 08:11:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=92</guid>
		<description><![CDATA[靠,受不了了]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=92</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为梦想,不买房</title>
		<link>http://www.lastidea.net/?p=90</link>
		<comments>http://www.lastidea.net/?p=90#comments</comments>
		<pubDate>Fri, 02 Apr 2010 05:44:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=90</guid>
		<description><![CDATA[]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=90</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>各大浏览器开发商针对大局域网时代共同表示: 对简体中文浏览器的HTTP 403错误页将改版</title>
		<link>http://www.lastidea.net/?p=89</link>
		<comments>http://www.lastidea.net/?p=89#comments</comments>
		<pubDate>Wed, 24 Mar 2010 02:19:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=89</guid>
		<description><![CDATA[改版后效果如下: [点击查看]
]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=89</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[转]强烈推荐：240多个jQuery插件</title>
		<link>http://www.lastidea.net/?p=86</link>
		<comments>http://www.lastidea.net/?p=86#comments</comments>
		<pubDate>Fri, 19 Mar 2010 07:53:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=86</guid>
		<description><![CDATA[概述
jQuery 是继 prototype 之后又一个优秀的 Javascript 框架。其宗旨是—写更少的代码,做更多的事情。它是轻量级的 js 库(压缩后只有21k) ，这是其它的 js 库所不及的，它兼容 CSS3，还兼容各种浏览器（IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+）。 jQuery 是一个快速的，简洁的 javaScript 库，使用户能更方便地处理 HTML documents、events、实现动画效果，并且方便地为网站提供 AJAX 交互。 jQuery 还有一个比较大的优势是，它的文档说明很全，而且各种应用也说得很详细，同时还有许多成熟的插件可供选择。 jQuery 能够使用户的 html 页保持代码和 html 内容分离，也就是说，不用再在 html 里面插入一堆js来调用命令了，只需定义 id 即可。今天在Kollermedia.at上发现了一篇JQuery插件列表的文章，特推荐如下。
文件上传(File upload)
Ajax File Upload.    jQUploader.    Multiple File Upload plugin.&#160; jQuery File [...]]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=86</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[转]js数组克隆</title>
		<link>http://www.lastidea.net/?p=85</link>
		<comments>http://www.lastidea.net/?p=85#comments</comments>
		<pubDate>Fri, 19 Mar 2010 05:20:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=85</guid>
		<description><![CDATA[在JS中，对于对象类型的变量的引用是通过类似C之类的“指针”的方式来操作的，及如果多个变量引用同一个对象，则任意一个变量对对象的操作都会影响到其它的变量。因此如果要创建一个与已经存在的对象内容相同的对象，不能通过简单的赋值操作。这样说的可能还是不太明白。
看下面的例子：
var a=[1,2,3,4]; var b=a;c=b; a.pop();&#160; //移除最后一个元素 alert(b); //弹出1,2,3 alert(c);&#160; //弹出1,2,3 
var a=[1,2,3,4]; var b=a;c=b; a.pop(); //移除最后一个元素 alert(b); //弹出1,2,3 alert(c); //弹出1,2,3 
我们执行上面的代码发现，在a的内容做改变后，变量b和c的结果也改变了。
上面的情况也许不是我们所需要的，我们希望的是创建一个与原对象内容一样的“新”对象。这样我们就需要通过一些克隆的办法来实现。
JS里Array也是一种Object。这里我们主要总结一下Array的克隆方式，我们这里为Array原生对象扩展一个clone方法。
1、最简单的办法，就是创建一个新数组，并遍历数组逐项添加到新数组中。 
Array.prototype.clone=function(){ &#160;&#160;&#160; var a=[]; &#160;&#160;&#160; for(var i=0,l=this.length;i&#60;l;i++) &#160;&#160;&#160;&#160;&#160;&#160;&#160; a.push(this[i]); &#160;&#160;&#160; return a; }
Array.prototype.clone=function(){ var a=[]; for(var i=0,l=this.length;i&#60;l;i++) a.push(this[i]); return a; } 
这种实现方式是最容易想到也是最容易理解的，但是代码有点复杂了，我们仔细研究Array的一些方法，其实还有一个很简单的办法。下面说一下其它的两种办法。
2、通过Array对象的slice方法。 
slice方法是通过参数start和end的传入值来返回数组中的一段，该方法不对原数组进行操作。我们通过slice(0)可以使其返回所有项。
Array.prototype.clone=function(){ &#160;&#160;&#160; return this.slice(0); }
Array.prototype.clone=function(){ return this.slice(0); } 3、通过Array对象的concat方法。 
concat方法是用来实现数组的合并的。通过和一个空函数的合并，即可实现我们的克隆功能。
Array.prototype.clone=function(){ &#160;&#160;&#160; return [...]]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=85</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>给公司的同学们写的Gmail的账户和导入功能使用说明</title>
		<link>http://www.lastidea.net/?p=84</link>
		<comments>http://www.lastidea.net/?p=84#comments</comments>
		<pubDate>Wed, 10 Mar 2010 07:31:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=84</guid>
		<description><![CDATA[Gmail的账户和导入功能使用说明
由于公司企业邮箱空间太小, 同学们使用web方式在线收发邮件时会造成空间占用过大, 导致邮箱系统无法正常使用的问题. 现提供以下两种解决办法
一. 使用笔计本的同学可以通过OUTLOOK, LIVE MAIL 或 FOXMAIL等离线收发软件. OUTLOOK配置方法见文档 &#60;&#60;Outlook2007设置方法.doc&#62;&#62; (如果习惯使用WEB方式在线收发邮件的同学也可以使用本文的方法)
二. 使用台式机的同学可以通过以本文方法达到即方便邮件同步,又不会占用公司邮箱空间目的
&#160;
下载文档
&#60;&#60;Gmail的账户和导入功能使用说明&#62;&#62;]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>flex RESULT_FORMAT_E4X对象转化为ArrayCollection</title>
		<link>http://www.lastidea.net/?p=79</link>
		<comments>http://www.lastidea.net/?p=79#comments</comments>
		<pubDate>Mon, 08 Mar 2010 06:39:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=79</guid>
		<description><![CDATA[刚接触flex. 在用HTTPService获取XML格式数据再绑定给DataGrid时.遇到一个很&#8221;奇怪&#8221;的问题
就是当xml的条目小于等于1时,就会出错. 很是郁闷了一段时间
后来才发现.问题即不是出在HTTPService上,也不是出在DataGrid上.而是出在 RESULT_FORMAT_E4X 型数据类型转化为ArrayCollection上
原来 event.result  返回的是object.  当一条记录时,赋给集合,那肯定是有问题
如果返回多于1条, 就会认为是集合.  再赋出ArrayCollection或绑定DataGrid就没问题了
所以返回的object 一定要转化.
以下的代码就不会出错了.
&#60;?xml version=&#8221;1.0&#8243;?&#62;
&#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;&#62;
    &#60;mx:Button label=&#8221;Button&#8221; click=&#8221;g();&#8221;/&#62;
    &#60;mx:DataGrid id=&#8221;dg&#8221; width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;
        &#60;mx:columns&#62;
        &#60;mx:DataGridColumn dataField=&#8221;a&#8221;/&#62;
        &#60;mx:DataGridColumn dataField=&#8221;b&#8221;/&#62;
        &#60;mx:DataGridColumn dataField=&#8221;c&#8221;/&#62;
        &#60;/mx:columns&#62;
    &#60;/mx:DataGrid&#62;
    &#60;mx:Script&#62;
        &#60;![CDATA[
            import mx.collections.ArrayCollection;
            import mx.rpc.events.ResultEvent;
            import mx.rpc.http.HTTPService;
            [Bindable]
            private var xmls:ArrayCollection=new ArrayCollection();
            private var hs:HTTPService=new HTTPService();
            private function g():void
            {
                hs.url=&#8221;http://localhost:8081/test.php?&#8221; + Math.random().toString();
                hs.resultFormat=HTTPService.RESULT_FORMAT_E4X;
                hs.addEventListener(ResultEvent.RESULT, [...]]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=79</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 二维数组实例(二种方法)</title>
		<link>http://www.lastidea.net/?p=78</link>
		<comments>http://www.lastidea.net/?p=78#comments</comments>
		<pubDate>Wed, 03 Mar 2010 02:53:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=78</guid>
		<description><![CDATA[//假设二维数组为 [5][7]   var&#160; xn:Number = 5;    var&#160; yn:Number = 7;     //定义一数值变量    var&#160; temp:Number = 0;
//定义我们的二维数组   var&#160; myArray:Array = new Array();
//填充二维数组   for(var&#160; i=0;i&#60;xn;i++){    &#160; myArray[i] = new Array();    &#160; for(var&#160; j=0;j&#60;yn;j++){    [...]]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=78</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flexlib MDI窗口不显示最大化最小化和关闭</title>
		<link>http://www.lastidea.net/?p=77</link>
		<comments>http://www.lastidea.net/?p=77#comments</comments>
		<pubDate>Thu, 25 Feb 2010 01:21:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=77</guid>
		<description><![CDATA[不显示控制按钮的属性是showControls=&#34;false&#34;, 但是当双击标题样最大化后,这些按钮就双出现了.而且我的窗口并不想有最大化的功能. 后来想到最可双击属性也去掉就可以了doubleClickEnabled=&#34;false&#34;]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=77</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>要过年了</title>
		<link>http://www.lastidea.net/?p=75</link>
		<comments>http://www.lastidea.net/?p=75#comments</comments>
		<pubDate>Wed, 03 Feb 2010 06:17:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.lastidea.net/?p=75</guid>
		<description><![CDATA[又是一年春来时
同事朋友们最近聊的话题又是火车票. 一票难求的场景年年复制. 可今年我是个旁观者
老家没有暖气, 宝宝在&#34;温室&#34;里呆习惯了,这&#34;温室宝宝&#34;太小, 我没办法把她带回家. 可是我心里感觉还是很慌, 像他们买票的紧张心情一样. 坐立不安的
有一瞬间心想说, 我也回家算了. 可是过了一会冷静下来又笑自己. 当下所有的心思还是要放在宝宝身上
宝宝上火了. 早上起来看到小舌头上起了个小白点. 往那白点上喷了点西瓜霜. 她却吃了起来, 感觉味道不是很好, 嘴瞥的历害, 哈哈. 样子超级可爱. 可是我知道她很疼. 中午老婆说宝宝不好好吃饭喝奶, 我想一定是上火弄的. 老婆带着去医院看去了. 暗地里责怪了自己一番, 还是没把宝宝照顾好, 照顾的远远不够
本想让父母过来这边过年, 可父亲说家里一个人没有,放心不下. 执意不来. 30年了, 一直在父母身边过年, 在家过年早以成了我的一种情节.而今年我要偿偿在外过年是什么滋味了]]></description>
		<wfw:commentRss>http://www.lastidea.net/?feed=rss2&amp;p=75</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
