<?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>2A Blog</title>
	<atom:link href="http://www.2astudio.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.2astudio.com</link>
	<description>Little A and big a&#039;s blog!</description>
	<lastBuildDate>Thu, 17 May 2012 02:50:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>浏览器内核对比</title>
		<link>http://www.2astudio.com/post/browser-rendering-engine.html</link>
		<comments>http://www.2astudio.com/post/browser-rendering-engine.html#comments</comments>
		<pubDate>Thu, 17 May 2012 02:37:46 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[程序人生]]></category>

		<guid isPermaLink="false">http://www.2astudio.com/?p=1053</guid>
		<description><![CDATA[览器内核是什么? 首先应该先清楚浏览器的构成:简单来说浏览器可以分为两部分，shell+内核。其中shell的种类相对比较多， 内核则比较少。Shell是指浏览器的外壳：例如菜单，工具栏等。主要是提供给用户界面操作，参数设置等等。它是调用内核来实现各种功能的。内核才是浏览 器的核心。内核是基于标记语言显示内容的程序或模块。也有一些浏览器并不区分外壳和内核。从Mozilla将Gecko独立出来后，才有了外壳和内核的明 确划分。目前主流的浏览器有IE6、IE8、Mozilla、FireFox、Opera、Safari、Chrome、Netscape等。 什么是浏览器内核 浏览器内核又可以分成两部分：渲染引擎(layout engineer或者Rendering Engine)和JS引擎。它负责取得网页的内容（HTML、XML、图像等等）、整理讯息（例如加入CSS等），以及计算网页的显示方式，然后会输出至 显示器或打印机。浏览器的内核的不同对于网页的语法解释会有不同，所以渲染的效果也不相同。所有网页浏览器、电子邮件客户端以及其它需要编辑、显示网络内 容的应用程序都需要内核。（参见维基百科）JS引擎则是解析Javascript语言，执行javascript语言来实现网页的动态效果。最开始渲染引 擎和JS引擎并没有区分的很明确，后来JS引擎越来越独立，内核就倾向于只指渲染引擎。有一个网页标准计划小组制作了一个ACID来测试引擎的兼容性和性 能。内核的种类很多，如加上没什么人使用的非商业的免费内核，可能会有10多种，但是常见的浏览器内核可以分这四种：Trident、Gecko、 Presto、Webkit。 Trident又称MSHTML，是微软开发的渲染引擎（包含了Javascript引擎JScript），他已经深入了Windows操作系统的 骨髓，例如Windows Media Play，Windows Explorer，Outlook Express等都使用了。目前很多浏览器都使用这个引擎，例如IE，Maxthon(最新版已经不使用)等。 Gecko是C++开发的，Open Source的渲染引擎，包括了SpiderMonkey(Rhino)。主要的使用者有Firefox。 Webkit是苹果公司基于KHTML开发的。他包括Webcore和JavaScriptCore（SquirrelFish,V8）两个引擎。主要的使用者有Safari，Chrome。 Presto由Opera Software公司开始的，用于Opera的渲染引擎。Macromedia Dreamweaver （MX版本及以上）和Adobe Creative Suite 2也使用了Presto的内核。 主流浏览器所使用的内核分类 Trident内核：IE,MaxThon,TT,The World,360,搜狗浏览器等 Gecko内核：Netscape6及以上版本，FF,MozillaSuite/SeaMonkey等 Presto内核：Opera7及以上 Webkit内核：Safari,Chrome等 Engine Creator Software license Leading application Gecko Netscape/Mozilla Foundation MPL/GNU GPL/GNU LGPL tri-license Mozilla Firefox KHTML KDE GNU LGPL <a href="http://www.2astudio.com/post/browser-rendering-engine.html"> read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<div>
<p>览器内核是什么?<br />
首先应该先清楚浏览器的构成:简单来说浏览器可以分为两部分，shell+内核。其中shell的种类相对比较多， 内核则比较少。Shell是指浏览器的外壳：例如菜单，工具栏等。主要是提供给用户界面操作，参数设置等等。它是调用内核来实现各种功能的。内核才是浏览 器的核心。内核是基于标记语言显示内容的程序或模块。也有一些浏览器并不区分外壳和内核。从Mozilla将Gecko独立出来后，才有了外壳和内核的明 确划分。目前主流的浏览器有IE6、IE8、Mozilla、FireFox、Opera、Safari、Chrome、Netscape等<span id="more-1053"></span>。</p>
<p><strong>什么是浏览器内核</strong></p>
<p>浏览器内核又可以分成两部分：渲染引擎(layout engineer或者Rendering Engine)和JS引擎。它负责取得网页的内容（HTML、XML、图像等等）、整理讯息（例如加入CSS等），以及计算网页的显示方式，然后会输出至 显示器或打印机。浏览器的内核的不同对于网页的语法解释会有不同，所以渲染的效果也不相同。所有网页浏览器、电子邮件客户端以及其它需要编辑、显示网络内 容的应用程序都需要内核。（参见维基百科）JS引擎则是解析Javascript语言，执行javascript语言来实现网页的动态效果。最开始渲染引 擎和JS引擎并没有区分的很明确，后来JS引擎越来越独立，内核就倾向于只指渲染引擎。有一个网页标准计划小组制作了一个ACID来测试引擎的兼容性和性 能。内核的种类很多，如加上没什么人使用的非商业的免费内核，可能会有10多种，但是常见的浏览器内核可以分这四种：Trident、Gecko、 Presto、Webkit。</p>
<p>Trident又称MSHTML，是微软开发的渲染引擎（包含了Javascript引擎JScript），他已经深入了Windows操作系统的 骨髓，例如Windows Media Play，Windows Explorer，Outlook Express等都使用了。目前很多浏览器都使用这个引擎，例如IE，Maxthon(最新版已经不使用)等。</p>
<p>Gecko是C++开发的，Open Source的渲染引擎，包括了SpiderMonkey(Rhino)。主要的使用者有Firefox。</p>
<p>Webkit是苹果公司基于KHTML开发的。他包括Webcore和JavaScriptCore（SquirrelFish,V8）两个引擎。主要的使用者有Safari，Chrome。</p>
<p>Presto由Opera Software公司开始的，用于Opera的渲染引擎。Macromedia Dreamweaver （MX版本及以上）和Adobe Creative Suite 2也使用了Presto的内核。</p>
<p><strong>主流浏览器所使用的内核分类</strong></p>
<p>Trident内核：IE,MaxThon,TT,The World,360,搜狗浏览器等<br />
Gecko内核：Netscape6及以上版本，FF,MozillaSuite/SeaMonkey等<br />
Presto内核：Opera7及以上<br />
Webkit内核：Safari,Chrome等</p>
<table width="597" border="1" cellpadding="0">
<tbody>
<tr>
<td>
<p align="center"><strong>Engine </strong><strong></strong><strong></strong></p>
</td>
<td>
<p align="center"><strong>Creator </strong><strong></strong><strong></strong></p>
</td>
<td width="25%">
<p align="center"><strong>Software license </strong><strong></strong><strong></strong></p>
</td>
<td width="29%">
<p align="center"><strong>Leading application </strong><strong></strong><strong></strong></p>
</td>
</tr>
<tr>
<td>
<p align="left"><strong>Gecko</strong></p>
</td>
<td>
<p align="center"><strong>Netscape</strong>/<strong>Mozilla Foundation</strong></p>
</td>
<td width="25%">
<p align="center"><strong>MPL</strong>/<strong>GNU GPL</strong>/<strong>GNU LGPL</strong> tri-license</p>
</td>
<td width="29%">
<p align="center"><strong>Mozilla Firefox</strong></p>
</td>
</tr>
<tr>
<td>
<p align="left"><strong>KHTML</strong></p>
</td>
<td>
<p align="center"><strong>KDE</strong></p>
</td>
<td width="25%">
<p align="center"><strong>GNU LGPL</strong></p>
</td>
<td width="29%">
<p align="center"><strong>Konqueror</strong></p>
</td>
</tr>
<tr>
<td>
<p align="left"><strong>Presto</strong></p>
</td>
<td>
<p align="center"><strong>Opera Software</strong></p>
</td>
<td width="25%">
<p align="center"><strong>Proprietary</strong></p>
</td>
<td width="29%">
<p align="center"><strong>Opera</strong></p>
</td>
</tr>
<tr>
<td>
<p align="left"><strong>Tasman</strong></p>
</td>
<td>
<p align="center"><strong>Microsoft</strong></p>
</td>
<td width="25%">
<p align="center"><strong>Proprietary</strong></p>
</td>
<td width="29%">
<p align="center"><strong>Microsoft Entourage</strong></p>
</td>
</tr>
<tr>
<td>
<p align="left"><strong>Trident</strong></p>
</td>
<td>
<p align="center"><strong>Microsoft</strong></p>
</td>
<td width="25%">
<p align="center"><strong>Proprietary</strong></p>
</td>
<td width="29%">
<p align="center"><strong>Internet Explorer</strong></p>
</td>
</tr>
<tr>
<td>
<p align="left"><strong>WebKit</strong><strong> (Based on KHTML)</strong></p>
</td>
<td>
<p align="center"><strong>WebKit Foundation</strong></p>
</td>
<td width="25%">
<p align="center"><strong>GNU LGPL</strong>, <strong>BSD-style</strong></p>
</td>
<td width="29%">
<p align="center"><strong>Safari</strong>, <strong>Google Chrome</strong></p>
</td>
</tr>
</tbody>
</table>
<p><strong>JS引擎</strong></p>
<p>JavaScript最初由<strong>网景公司</strong>的Brendan Eich设计，是一种动态、弱类型、基于原型的语言，内置支持类。以它为基础，制定了<strong>ECMAScript</strong>标 准。他的起源并不是如《Javascript高级程序设计》书中所述，是Brendan Eich自主发明的。（参考aimingoo的考证文章）JavaScript在浏览器的实现中还必须含有DOM和BOM。Web浏览器一般使用公共 API来创建主机对象来负责将DOM对象反射进JavaScript。</p>
<table width="596" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="2" width="150"></td>
<td width="58">
<p align="center"><strong>Trident</strong></p>
</td>
<td width="104">
<p align="center"><strong>Gecko</strong></p>
</td>
<td width="104">
<p align="center"><strong>WebKit</strong></p>
</td>
<td width="47">
<p align="center"><strong>KHTML</strong></p>
</td>
<td width="113">
<p align="center"><strong>Presto</strong></p>
</td>
</tr>
<tr>
<td colspan="2" width="150">
<p align="left"><strong>Name of ECMAScript Engine</strong></p>
</td>
<td width="58">
<p align="center"><strong>JScript</strong></p>
</td>
<td width="104">
<p align="center"><strong>Spidermonkey</strong></p>
</td>
<td width="104">
<p align="center"><strong>JavaScriptCore</strong></p>
</td>
<td width="47">
<p align="center"><strong>KJS</strong></p>
</td>
<td width="113">
<p align="center"><strong>linear b/futhark</strong></p>
</td>
</tr>
<tr>
<td rowspan="4" width="69">
<p align="left"><strong>ECMAScript Version</strong></p>
</td>
<td width="82">
<p align="left">Edition 3</p>
</td>
<td width="58">
<p align="center">Yes</p>
</td>
<td width="104">
<p align="center">0.6</p>
</td>
<td width="104">
<p align="center">Yes</p>
</td>
<td width="47">
<p align="center">Yes</p>
</td>
<td width="113">
<p align="center">7.0</p>
</td>
</tr>
<tr>
<td width="82">
<p align="left">JavaScript 1.5 extensions</p>
</td>
<td width="58">
<p align="center">No</p>
</td>
<td width="104">
<p align="center">0.6</p>
</td>
<td width="104">
<p align="center">Yes</p>
</td>
<td width="47">
<p align="center">Yes</p>
</td>
<td width="113">
<p align="center">7.0</p>
</td>
</tr>
<tr>
<td width="82">
<p align="left">JavaScript 1.7 extensions</p>
</td>
<td width="58">
<p align="center">No</p>
</td>
<td width="104">
<p align="center">1.8.1</p>
</td>
<td width="104">
<p align="center">No</p>
</td>
<td width="47">
<p align="center">No</p>
</td>
<td width="113">
<p align="center">No</p>
</td>
</tr>
<tr>
<td width="82">
<p align="left">JavaScript 1.8 extensions</p>
</td>
<td width="58">
<p align="center">No</p>
</td>
<td width="104">
<p align="center">1.9</p>
</td>
<td width="104">
<p align="center">No</p>
</td>
<td width="47">
<p align="center">No</p>
</td>
<td width="113">
<p align="center">No</p>
</td>
</tr>
</tbody>
</table>
<p><strong>浏览器内核实现原理</strong></p>
<p>渲染流程如下所示：</p>
<p><img src="http://www.iefans.net/wp-content/uploads/2010/01/df6a_c.JPG" alt="渲染引擎运作流程" width="514" height="200" /></p>
<p>Mozilla架构设计：界面和实现分离。采用标记语言，JavaScript，C++来开发。JSEngine就是指SpideMonkey，Layout就是指Gecko。Mozilla的一个关键部分是XPCOM和NSPR。</p>
<p><img src="http://www.iefans.net/wp-content/uploads/2010/01/4077_b.JPG" alt="Mozilla架构设计" width="492" height="352" /></p>
<p>Webkit的处理流程：</p>
<p><img src="http://www.iefans.net/wp-content/uploads/2010/01/419d_a.JPG" alt="Webkit的处理流程" width="558" height="412" /><br />
<strong>浏览器内核的优缺点</strong></p>
<p>Trident：这种浏览器内核是IE浏览器用的内核，因为在早期IE 占有大量的市场份额，所以这种内核比较流行，以前有很多网页也是根据这个内核的标准来编写的，但是实际上这个内核对真正的网页标准支持不是很好，甚至在 2005年，与网页标准制定组织(W3C理事会)所制定的标准发生了脱节，同时 Trident 内核本身的BUG比较多，对一些符合W3C标准的网页代码支持不是很好，这在早期的IE版本中比较明显，比如IE5.5以前(包括IE5.5)，其实IE6对W3C标准的支持也不是很好，而我们现在很多人都在使用IE6，事实上它也属于一个比较早的版本。</p>
<p>但是由于IE的高市场占有率，微软也很长时间没有更新Trident内核，这导致了二个结果<br />
1，Trident内核和W3C标准脱节。<br />
2，Trident内核的大量Bug等安全问题没有得到解决，加上一些专家学者公开自己认为IE浏览器不安全的观点，使很多用户开始转向其他浏览器，FF,Opera就是这时期兴起的。<br />
Gecko：这是Firefox 和 Flock 所采用内核，这个内核的优点就是功能强大、丰富，可以支持很多复杂网页效果和浏览器扩展接口，但是代价是也显而易见就是要消耗很多的资源，比如内存。<br />
Presto：Opera 采用的是 Presto内核，Presto内核被称为公认的浏览网页速度最快的内核，这得益于它在开发时的天生优势，在处理JS脚本等脚本语言时，会比其他的内核快3倍左右，缺点就是为了达到很快的速度而丢掉了一部分网页兼容性。</p>
<p>Webkit：Webkit 是 Safari 采用的内核，不过 Safari 是苹果系统下的浏览器(虽然也有windows版，但是比较少)，所以只简单介绍一下这个内核的优点和缺点，优点就是网页浏览速度较快，虽然不及 Presto 但是也胜于 Gecko 和 Trident，缺点是对于网页代码的容错性不高，也就是说对网页代码的兼容性较低，会使一些编写不标准的网页无法正确显示。</p>
<p>总结：就浏览器来说，互联网经历了十年的高速发展期，近几年市场上也推出了很多新的浏览器，但是他们并非是采用自主开发的内核，所以浏览器内核本身实际没有实质突破。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/browser-rendering-engine.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>系统已经没用服务怎么删除</title>
		<link>http://www.2astudio.com/post/how-to-delete-services.html</link>
		<comments>http://www.2astudio.com/post/how-to-delete-services.html#comments</comments>
		<pubDate>Mon, 14 May 2012 09:32:47 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[程序人生]]></category>

		<guid isPermaLink="false">http://www.2astudio.com/?p=1050</guid>
		<description><![CDATA[办法一： 用sc.exe这个Windows命令 开始——运行——cmd.exe，然后输入sc就可以看到了。使用办法很简单： sc delete “服务名” 如： sc delete KSD2Service 方法二：直接进行注册表编辑（不推荐） 打开注册表编辑器，找到下面的键值： [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services] 一般服务会以相同的名字在这里显示一个主健，直接删除相关的键值便可。 *. 特殊情况 1、如果服务显示的是rundll32.exe，并且这个文件是位于system32目录下，那么就不能删除这个rundll32.exe文件，它是Windows系统的文件。这时只要清除相关的服务就可以了 2、如果一个服务删除了马上又自动建立了，说明后台有进程在监视、保护。需要先在进程管理器中杀掉相应的进程，或者启动后按F8，到安全模式下删除。]]></description>
			<content:encoded><![CDATA[<p>办法一： 用sc.exe这个Windows命令<br />
开始——运行——cmd.exe，然后输入sc就可以看到了。使用办法很简单：<br />
sc delete “服务名” 如： sc delete KSD2Service</p>
<p>方法二：直接进行注册表编辑（不推荐）<br />
打开注册表编辑器，找到下面的键值：<br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services] 一般服务会以相同的名字在这里显示一个主健，直接删除相关的键值便可。<span id="more-1050"></span></p>
<p>*. 特殊情况<br />
1、如果服务显示的是rundll32.exe，并且这个文件是位于system32目录下，那么就不能删除这个rundll32.exe文件，它是Windows系统的文件。这时只要清除相关的服务就可以了</p>
<p>2、如果一个服务删除了马上又自动建立了，说明后台有进程在监视、保护。需要先在进程管理器中杀掉相应的进程，或者启动后按F8，到安全模式下删除。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/how-to-delete-services.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UI设计工具和资源</title>
		<link>http://www.2astudio.com/post/ui-design-tool-and-resource.html</link>
		<comments>http://www.2astudio.com/post/ui-design-tool-and-resource.html#comments</comments>
		<pubDate>Thu, 05 Apr 2012 05:38:13 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[程序人生]]></category>
		<category><![CDATA[UI设计]]></category>

		<guid isPermaLink="false">http://www.2astudio.com/?p=1004</guid>
		<description><![CDATA[用户界面设计在持续的基础上不断成长和演变。要跟上时代，你需要关注趋势、新资源和正被实施和谈论的新技术。同时，你也要亲身尝试，并提出原创的见解和应用。
      下面列举的这些工具能帮你做到这些。尽情分享下面这些我找到的注释出的资源中你认为有用的部分。   
模型参考和资料库

  

User Interface Design Patterns(用户界面设计目标)
      看看这些其他人已经想出的对一般用户界面挑战的解决方案，它不仅能帮助你找到正确的现有解决方案，还能作为你提出新的和原创的东西的基础。]]></description>
			<content:encoded><![CDATA[<p><strong>用户界面设计</strong>在持续的基础上不断成长和演变。要跟上时代，你需要关注趋势、新资源和正被实施和谈论的新技术。同时，你也要亲身尝试，并提出原创的见解和应用。<br />
下面列举的这些工具能帮你做到这些。尽情分享下面这些我找到的注释出的资源中你认为有用的部分。</p>
<h3><strong>模型参考和资料库</strong></h3>
<p><a href="http://ui-patterns.com/">User Interface Design Patterns</a>(用户界面设计目标)<br />
看看这些其他人已经想出的对一般用户界面挑战的解决方案，它不仅能帮助你找到正确的现有解决方案，还能作为你提出新的和原创的东西的基础。<span id="more-1004"></span></p>
<p>一个在线文字和图形目录是常见解决的UI设计问题的方案。使用非常宽松的分类，同时也让你用标签或颜色分类：</p>
<p><a href="http://patterntap.com/">Pattern Tap</a><br />
一个能找到平常被使用的设计模板启示的好资源。Pattern Tap将UI元素分类集合，同时也将个别项目以标签形式在新窗口打开：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/patterntap.jpg"><img class="attachment-medium" title="patterntap" src="http://www.2astudio.com/wp-content/uploads/2012/04/patterntap-300x202.jpg" alt="patterntap" width="300" height="202" /></a></p>
<p><a href="http://patternry.com/">Patternry</a><br />
Patternry 将重点放在寻找常见UI问题的解决上，而不只是提出简单的建议：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/uidesignframework.jpg"><img class="attachment-medium" title="uidesignframework" src="http://www.2astudio.com/wp-content/uploads/2012/04/uidesignframework-300x163.jpg" alt="uidesignframework" width="300" height="163" /></a>0</p>
<p><a href="http://box.mepholio.com/">Mephobox</a><br />
是另一个能找到的提出常见设计模板启示的好资源。你能够以用户身份游览网站，或者查证基于个人设计元素的集合</p>
<h3><strong>原型开发、模型构建和设计反馈工具</strong></h3>
<p><a href="http://www.lumzy.com/">Lumzy</a><br />
你在创建新的UI技术任何时候，在创建网站之前，你会需要创造出一个作为概念根据的原型或模型。当然，你也要测试这些新构想。<br />
Lumzy是一个方便的UI界面模型构建和原型开发的小型在线工具。它能让你创建具有工作功能的原型，而不只是线框：</p>
<p><a href="http://www.2astudio.com/wp-content/uploads/2012/04/lumzy.jpg"><img class="attachment-medium" title="lumzy" src="http://www.2astudio.com/wp-content/uploads/2012/04/lumzy-300x218.jpg" alt="lumzy" width="300" height="218" /></a></p>
<p><a href="https://gomockingbird.com/">Mockingbird</a><br />
另一个界面模型构建和原型开发工具，同时拥有在线团体合作开发工具：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/mockingbird.jpg"><img class="attachment-medium" title="mockingbird" src="http://www.2astudio.com/wp-content/uploads/2012/04/mockingbird-300x218.jpg" alt="mockingbird" width="300" height="218" /></a></p>
<p><a href="http://www.webalys.com/design-interface-application-framework.php">UI Design Framework for Illustrator</a><br />
一个为AI服务的用户界面元素和风格设置网站</p>
<p><a href="http://android-ui-utils.googlecode.com/hg/asset-studio/dist/icons-launcher.html">Android Asset Studio</a><br />
一个为开发Android应用提供UI元素的网站：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/androidassets.jpg"><img class="attachment-medium" title="androidassets" src="http://www.2astudio.com/wp-content/uploads/2012/04/androidassets-300x202.jpg" alt="androidassets" width="300" height="202" /></a></p>
<p><a href="http://www.fullcreative.com/2010/10/mobility-a-free-set-of-mobile-ui-design-elements/">Unique Mobile UI Design Elements</a><br />
自由设置UI设计元素：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/full.jpg"><img class="attachment-medium" title="full" src="http://www.2astudio.com/wp-content/uploads/2012/04/full-300x218.jpg" alt="full" width="300" height="218" /></a></p>
<p><a href="http://www.webdesignshock.com/freebies/free-photoshop-android-interface-gui/">Android UI Elements Set</a><br />
自由设置Android OS的UI元素：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/androidui.jpg"><img class="attachment-medium" title="androidui" src="http://www.2astudio.com/wp-content/uploads/2012/04/androidui-300x202.jpg" alt="androidui" width="300" height="202" /></a></p>
<p><a href="http://www.tutorialshock.com/freebie/mac-osx-leopard-gui-set/">OSX Leopard GUI Set</a><br />
OSX Leopard的GUI元素：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/leopardui.jpg"><img class="attachment-medium" title="leopardui" src="http://www.2astudio.com/wp-content/uploads/2012/04/leopardui-300x202.jpg" alt="leopardui" width="300" height="202" /></a></p>
<p><a href="http://bestblogbox.com/freebies/all-in-one-web-elements-kit/">ALL In One Web Elements Kit</a><br />
提供你的网站的所需的一切PSD分层文件：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/elements.jpg"><img class="attachment-medium" title="elements" src="http://www.2astudio.com/wp-content/uploads/2012/04/elements-300x218.jpg" alt="elements" width="300" height="218" /></a></p>
<p><a href="http://www.teehanlax.com/blog/2010/02/01/ipad-gui-psd/">iPad GUI Set</a><br />
提供你所需的任何iPad应用程序的主题的分层矢量PSD文件：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/ipadgui.jpg"><img class="attachment-medium" title="ipadgui" src="http://www.2astudio.com/wp-content/uploads/2012/04/ipadgui-300x202.jpg" alt="ipadgui" width="300" height="202" /></a></p>
<p><a href="http://pencil.evolus.vn/en-US/Home.aspx">The Pencil Project</a><br />
火狐的GUI原型构建插件：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/stencil.jpg"><img class="attachment-medium" title="stencil" src="http://www.2astudio.com/wp-content/uploads/2012/04/stencil-300x208.jpg" alt="stencil" width="300" height="208" /></a></p>
<p><a href="http://www.conceptfeedback.com/">Concept Feedback</a><br />
发布你的设计和概念，并得到免费反馈的设计社区：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/concept.jpg"><img class="attachment-medium" title="concept" src="http://www.2astudio.com/wp-content/uploads/2012/04/concept-300x163.jpg" alt="concept" width="300" height="163" /></a></p>
<p><a href="http://fivesecondtest.com/">Landing Page Optimization</a><br />
获得他人关于你目标页面5秒钟的真实印象反馈的网站：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/fivesecond.jpg"><img class="attachment-medium" title="fivesecond" src="http://www.2astudio.com/wp-content/uploads/2012/04/fivesecond-300x218.jpg" alt="fivesecond" width="300" height="218" /></a></p>
<h3>框架</h3>
<p>框架已经成为了几乎所有复杂的UI的主干了。这里的是极少数的框架，不像Moo Tools和jQuery那些你可能熟悉的工具。</p>
<p><a href="http://dhtmlx.com/">DHTMLX</a><br />
一个提供了大量的UI部件的javaScript UI资料库和 jQuery的替代品：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/dhtmlx.jpg"><img class="attachment-medium alignnone" title="dhtmlx" src="http://www.2astudio.com/wp-content/uploads/2012/04/dhtmlx-300x202.jpg" alt="dhtmlx" width="300" height="202" /></a></p>
<p><a href="http://dojotoolkit.org/">Dojo</a><br />
另一个拥有强大API设置以及丰富UI控件的javascript工具包。</p>
<p><a href="http://echo.nextapp.com/site/">Echo 3</a><br />
是一个不仅能让开发者创造组建驱动和事件驱动API和Javascript客户端应用程序的UI工具包：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/echo3.jpg"><img class="attachment-medium" title="echo3" src="http://www.2astudio.com/wp-content/uploads/2012/04/echo3-300x202.jpg" alt="echo3" width="300" height="202" /></a></p>
<p><a href="http://www.midorijs.com/">Midori</a><br />
一个超轻量级Javascript框架，它集合了很多常用的UI技术。而且即使包括缩进语言，Midori也只有51K：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/midori.jpg"><img class="attachment-medium" title="midori" src="http://www.2astudio.com/wp-content/uploads/2012/04/midori-300x202.jpg" alt="midori" width="300" height="202" /></a></p>
<p><a href="http://scripty2.com/">Scripty 2</a><br />
另一个支持最新版Webkit游览器的CSS过渡和转换的框架。<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/scripty2.jpg"><img class="attachment-medium" title="scripty2" src="http://www.2astudio.com/wp-content/uploads/2012/04/scripty2-300x202.jpg" alt="scripty2" width="300" height="202" /></a></p>
<p><a href="http://zkoss.org/">ZK</a><br />
ZK包括超过200个ajax组件，一切准备就绪：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/zk.jpg"><img class="attachment-medium" title="zk" src="http://www.2astudio.com/wp-content/uploads/2012/04/zk-300x202.jpg" alt="zk" width="300" height="202" /></a></p>
<p><a href="http://www.jqtouch.com/">jQTouch</a><br />
一个用于手机iPone应用开发的jQuery插件：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/jqtouch.jpg"><img class="attachment-medium" title="jqtouch" src="http://www.2astudio.com/wp-content/uploads/2012/04/jqtouch-300x202.jpg" alt="jqtouch" width="300" height="202" /></a></p>
<h3>代码片段和脚本</h3>
<div>
<p>      为什么我们要白费力气呢？如何这里有一个存在的片段，而它正是你所需要的，你就可能在下面的这些网站中找到。</p>
<p><a href="http://www.jquerylabs.com/">jQuery Labs</a><br />
一个为你网站预制jQuery组件的庞大的资料库：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/jquerylabs.jpg"><img class="attachment-medium" title="jquerylabs" src="http://www.2astudio.com/wp-content/uploads/2012/04/jquerylabs-300x218.jpg" alt="jquerylabs" width="300" height="218" /></a></p>
<p><a href="http://www.snippetlibrary.com/">Snippet Library</a><br />
一个由用户提交审查的各种程序语言的片段和代码教程的资料库：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/snippetlibrary.jpg"><img class="attachment-medium" title="snippetlibrary" src="http://www.2astudio.com/wp-content/uploads/2012/04/snippetlibrary-300x218.jpg" alt="snippetlibrary" width="300" height="218" /></a></p>
<p><a href="http://javascript.internet.com/snippets/">The Javascript Source</a><br />
一个常用javascript和ajax片段的便捷的向导：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/javascriptsource.jpg"><img class="attachment-medium" title="javascriptsource" src="http://www.2astudio.com/wp-content/uploads/2012/04/javascriptsource-300x218.jpg" alt="javascriptsource" width="300" height="218" /></a></p>
<p><a href="http://www.roscripts.com/listings">roScripts (beta)</a><br />
可以被用户投票的脚本、片段和资源：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/roscripts.jpg"><img class="attachment-medium" title="roscripts" src="http://www.2astudio.com/wp-content/uploads/2012/04/roscripts-300x218.jpg" alt="roscripts" width="300" height="218" /></a></p>
<p><a href="http://snipplr.com/popular/language/javascript">Snipplr</a><br />
一个有许多先进脚本和jQuery技术的好资源：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/snipplr.jpg"><img class="attachment-medium" title="snipplr" src="http://www.2astudio.com/wp-content/uploads/2012/04/snipplr-300x218.jpg" alt="snipplr" width="300" height="218" /></a></p>
<p><a href="http://www.code-sucks.com/code/javascript/">Code Sucks</a><br />
有关于Javascript片段如何工作的极其详细的评论的网站：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/codesucks.jpg"><img class="attachment-medium" title="codesucks" src="http://www.2astudio.com/wp-content/uploads/2012/04/codesucks-300x218.jpg" alt="codesucks" width="300" height="218" /></a></p>
<p><a href="http://www.htmlgoodies.com/beyond/javascript/">HTML Goodies</a><br />
另一个有优秀的步骤记录文件的jQuery资源：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/htmlgoodies.jpg"><img class="attachment-medium" title="htmlgoodies" src="http://www.2astudio.com/wp-content/uploads/2012/04/htmlgoodies-300x218.jpg" alt="htmlgoodies" width="300" height="218" /></a></p>
<p><a href="http://www.webresourcesdepot.com/">WebResources Depot</a><br />
包括在它们的设计资源的大型目录中的是大量非常有用的脚本和片段：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/webresources.jpg"><img class="attachment-medium" title="webresources" src="http://www.2astudio.com/wp-content/uploads/2012/04/webresources-300x218.jpg" alt="webresources" width="300" height="218" /></a></p>
<p><a href="http://www.ajaxrain.com/">Ajax Rain</a><br />
出色的以分类和标签的形式表现的片段资源库，它能使你很容易找到你这在寻找的东西：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/ajaxrain.jpg"><img class="attachment-medium" title="ajaxrain" src="http://www.2astudio.com/wp-content/uploads/2012/04/ajaxrain-300x218.jpg" alt="ajaxrain" width="300" height="218" /></a></p>
<p><a href="http://www.opensourcescripts.com/">Open Source Scripts</a><br />
提供截止于2004年的Javascript片段和代码：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/opensource.jpg"><img class="attachment-medium" title="opensource" src="http://www.2astudio.com/wp-content/uploads/2012/04/opensource-300x218.jpg" alt="opensource" width="300" height="218" /></a></p>
<p><a href="http://miniajax.com/">Mini Ajax</a><br />
非常优美程序片段的集合：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/miniajax.jpg"><img class="attachment-medium" title="miniajax" src="http://www.2astudio.com/wp-content/uploads/2012/04/miniajax-300x218.jpg" alt="miniajax" width="300" height="218" /></a></p>
<p><a href="http://www.webappers.com/">Webappers</a><br />
大量的包括非常好的图片编辑片段集合的jQuery组件：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/webappers.jpg"><img class="attachment-medium" title="webappers" src="http://www.2astudio.com/wp-content/uploads/2012/04/webappers-300x218.jpg" alt="webappers" width="300" height="218" /></a></p>
<p><a href="http://www.javascriptkit.com/">Javascript Kit</a><br />
原创在线javascript片段资源库之一：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/jskit.jpg"><img class="attachment-medium" title="jskit" src="http://www.2astudio.com/wp-content/uploads/2012/04/jskit-300x218.jpg" alt="jskit" width="300" height="218" /></a></p>
<p><a href="http://www.webcodr.com/6/15-javascript-snippets-you-cant-live-without/">Webcodr.com</a><br />
一些对你网站非常有用的程序片段：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/webcodr.jpg"><img class="attachment-medium" title="webcodr" src="http://www.2astudio.com/wp-content/uploads/2012/04/webcodr-300x218.jpg" alt="webcodr" width="300" height="218" /></a></p>
<p><a href="http://www.html-assets.com/javascript-snippets.php">HTML Assets</a><br />
基础javascript片段的小集合：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/htmlassets.jpg"><img class="attachment-medium" title="htmlassets" src="http://www.2astudio.com/wp-content/uploads/2012/04/htmlassets-300x218.jpg" alt="htmlassets" width="300" height="218" /></a></p>
<h3>其他杂项资源</h3>
<p>这里有方便的并不适合下面任一类别的UI资源，但是我们仍旧感到是值得提及的：</p>
<p><a href="http://slidenote.info/">Slidenote</a><br />
一个简单的能使你创建滑动通知（sliding notification）的jQuery插件：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/slidenote.jpg"><img class="attachment-medium" title="slidenote" src="http://www.2astudio.com/wp-content/uploads/2012/04/slidenote-300x183.jpg" alt="slidenote" width="300" height="183" /></a></p>
<p><a href="http://www.webismymind.be/editablegrid/">Editable Grid</a><br />
只要几行简单代码，就能将HTML表格转换为可以用高级选项操作的组件</p>
<p><a href="http://placehold.it/">Placehold.it</a><br />
为你排版简易创建占位符的服务器：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/placehold.it_.jpg"><img class="attachment-medium" title="placehold.it_" src="http://www.2astudio.com/wp-content/uploads/2012/04/placehold.it_-300x202.jpg" alt="placehold.it_" width="300" height="202" /></a></p>
<p><a href="http://fillerati.com/">Fillerati</a><br />
一个独特的Lorem Ipsum的替代品。为你网站模型创建真实文字块，帮你从所能接收到的各种公共域文字中做出选择。<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/fillerati.jpg"><img class="attachment-medium" title="fillerati" src="http://www.2astudio.com/wp-content/uploads/2012/04/fillerati-300x202.jpg" alt="fillerati" width="300" height="202" /></a></p>
<p><a href="http://craigsworks.com/projects/qtip2/">qTip2</a><br />
一个qTip的提示窗口插件的jQuery升级。使得为你网站制作风格化提示窗口变得容易：<br />
<a href="http://www.2astudio.com/wp-content/uploads/2012/04/qtip2.jpg"><img class="attachment-medium" title="qtip2" src="http://www.2astudio.com/wp-content/uploads/2012/04/qtip2-300x202.jpg" alt="qtip2" width="300" height="202" /></a></p>
</div>
<div>
<div></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/ui-design-tool-and-resource.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>启发性小故事。</title>
		<link>http://www.2astudio.com/post/stories.html</link>
		<comments>http://www.2astudio.com/post/stories.html#comments</comments>
		<pubDate>Fri, 04 Nov 2011 02:19:53 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[生活碎片]]></category>

		<guid isPermaLink="false">http://www.2astudio.com/?p=967</guid>
		<description><![CDATA[甲去买烟，烟29元，但他没火柴，跟店员说：“顺便送一盒火柴吧。”店员没给。
乙去买烟，烟29元，他也没火柴，跟店员说：“便宜一毛吧。”最后，他用这一毛买一盒火柴。
这是最简单的心理边际效应。第一种：店主认为自己在一个商品上赚钱了]]></description>
			<content:encoded><![CDATA[<p>1.甲去买烟，烟29元，但他没火柴，跟店员说：“顺便送一盒火柴吧。”店员没给。<br />
乙去买烟，烟29元，他也没火柴，跟店员说：“便宜一毛吧。”最后，他用这一毛买一盒火柴。<br />
这是最简单的<strong>心理边际效应</strong>。第一种：店主认为自己在一个商品上赚钱了，另外一个没赚钱。赚钱感觉指数为1。第二种：店主认为两个商品都赚钱了，赚钱指数为2。当然心理倾向第二种了。同样，这种心理还表现在买一送一的花招上，顾客认为有一样东西不用付钱，就赚了，其实都是心理边际效应在作怪。<br />
启示：变换一种方式往往能起到意想不到的效果! 通常很多事情换一种做法结果就不同了。人生道路上，改善心智模式和思维方式是很重要的。<span id="more-967"></span></p>
<p>2. 有个小男孩，有一天妈妈带着他到杂货店去买东西，老板看到这个可爱的小孩，就打开一罐糖果，要小男孩自己拿一把糖果。但是这个男孩却没有任何动作。几次的 邀请之后，老板亲自抓了一大把糖果放进他的口袋中。回到家中，母亲好奇地问小男孩，为什么没有自己去抓糖果而要老板抓呢?小男孩回答很妙：“因为我的手比 较小呀!而老板的手比较大，所以他拿的一定比我拿的多很多!”<br />
启示：这是一个聪明的孩子，他知道自己的有限，而更重要的，他也知道别人比自己强。凡事不只靠自己的力量，学会适时地依靠他人，是一种谦卑，更是一种聪明。</p>
<p>3. 美国知名主持人林克莱特有一天访问一名小朋友，问他说：“你长大后想要当做什么呀?”小朋友天真地回答：“嗯……我要当飞机的驾驶员!”林克莱特接着问： “如果有一天，你的飞机飞到太平洋上空所有引擎都熄火了，你会怎么办?”小朋友想了想：“我会先告诉坐在飞机上的人绑好安全带，然后我挂上我的降落伞跳出 去。”当在场的观众笑得东倒西歪时，林克莱特继续注视着这孩子，想看他是不是自作聪明的家伙。没想到，接着孩子的两行热泪夺眶而出，这才使得林克莱特发觉 这孩子的悲悯之心远非笔墨所能形容。于是林克莱特问他说：为什么你要这么做?”小孩的答案透露了这个孩子真挚的想法：“我要去拿燃料，我还要回来!!!”<br />
启示：这就是“听的艺术”。一是听话不要听一半。二是不要把自己的意思，投射到别人所说的话上头。要学会聆听，用心听，虚心听。</p>
<p>4. 有两个和尚他们分别住在相邻的两座山上的庙里。这两座山之间有一条溪，于是这两个和尚每天都会在同一时间下山去溪边挑水，久而久之他么变成为了好朋友。就 这样时间在每天挑水中不知不觉已经过了五年。突然有一天左边这座山的和尚没有下山挑水，右边那座山的和尚心想：”他大概睡过头了。”便不以为意。哪知道第 二天左边这座山的和尚还是没有下山挑水，第三天也一样。过了一个星期还是一样，直到过了一个月右边那座山的和尚终于受不了，他心想：”我的朋友可能生病 了，我要过去拜访他，看看能帮上什么忙。”于是他便爬上了左边这座山，去探望他的老朋友。等他到了左边这座山的庙，看到他的老友之后大吃一惊，因为他的老 友正在庙前打太极拳，一点也不像一个月没喝水的人。他很好奇地问：”你已经一个月没有下山挑水了，难道你可以不用喝水吗？”左边这座山的和尚说：”来来 来，我带你去看。”于是他带着右边那座山的和尚走到庙的后院，指着一口井说：”这五年来，我每天做完功课后都会抽空挖这口井，即使有时很忙，能挖多少就算 多少。如今终于让我挖出井水，我就不用再下山挑水，我可以有更多时间练我喜欢的太极拳。”<br />
启示：我们在公司领的薪水再多，那都是挑水。而把握下班后的时间挖一口属于自己的井，培养自己另一方面的实力，未来当我们年纪大了，体力拼不过年轻人了，依然还是有水喝，而且还能喝得很悠闲。</p>
<p>5. 有两个人相约到山上去寻找精美的石头，甲背了满满的一筐，乙的筐里只有一个他认为是最精美的石头。甲就笑乙：“你为什么只挑一个啊?”乙说：“漂亮的石头 虽然多，但我只选一个最精美的就够了。”甲笑而不语，下山的路上，甲感到负担越来越重，最后不得已不断地从一筐的石头中挑一个最差的扔下，到下山的时候他 的筐里结果只剩下一个石头!<br />
启示：人生中会有许多的东西，值得留恋，有的时候你应该学会去放弃。</p>
<p>6.有一家 牙膏厂，产品优良，包装精美，受到顾客的喜爱，营业额连续10年递增，每年的增长率在10％～20％。可到了第11年，业绩停滞下来，以后两年也如此。公 司经理召开高级会议，商讨对策。会议中，公司总裁许诺说：谁能想出解决问题的办法，让公司的业绩增长，重奖10万元。有位年轻经理站起来，递给总裁一张纸 条，总裁看完后，马上签了一张10万元的支票给了这位经理。那张纸条上写着：将现在牙膏开口扩大1毫米。消费者每天早晨挤出同样长度的牙膏，开口扩大了l 毫米，每个消费者就多用1毫米宽的牙膏，每天的消费量将多出多少呢!公司立即更改包装。第14年，公司的营业额增加了32％。<br />
启示：面对生活中的变化，我们常常习惯过去的思维方法。其实只要你把心径扩大1毫米，你就会看到生活中的变化都有它积极的一面，充满了机遇和挑战</p>
<p>7. 一只火鸡和一头牛闲聊，火鸡说：我希望能飞到树顶，可我没有勇气。牛说：为什么不吃一点我的牛粪呢，他们很有营养。火鸡吃了一点牛粪，发现它确实给了它足 够的力量飞到第一根树枝，第二天，火鸡又吃了更多的牛粪，飞到第二根树枝，两个星期后，火鸡骄傲的飞到了树顶，但不久，一个农夫看到了它，迅速的把它从树 上射了下来。<br />
启示：牛屎运让你达到顶峰，但不能让你留在那里。</p>
<p>8.乌鸦站在树上，整天无所事事，兔子看见乌鸦，就问：我能像你一样，整天什么事都不用干吗？乌鸦说：当然，有什么不可以呢？于是，兔子在树下的空地上开始休息，忽然，一只狐狸出现了，它跳起来抓住兔子，把它吞了下去。<br />
启示：如果你想站着什么事都不做，那你必须站的很高，非常高。</p>
<p>9. 一只小鸟飞到南方去过冬。天很冷，小鸟几乎冻僵了。于是，飞到一大块空地上，一头牛经过那儿，拉了一堆牛粪在小鸟的身上，冻僵的小鸟躺在粪堆里，觉得很温 暖，渐渐苏醒过来，它温暖而舒服的躺着，不久唱起歌来，一只路过的野猫听到声音，走过去看个究竟，循着声音，野猫很快发现了躺在粪堆里的小鸟，把它拽出来 吃掉了。<br />
启示：不是每个往你身上拉大粪的人都是你的敌人。也不是每个把你从粪堆里拉出来的人都是你的朋友，还有，当你躺在粪堆里时，最好把你的嘴闭上。</p>
<p>10. 从前，有两个饥饿的人得到了一位长者的恩赐：一根鱼竿和一篓鲜活硕大的鱼。其中，一个人要了一篓鱼，另一个人要了一根鱼竿，于是他们分道扬镳了。得到鱼的 人原地就用干柴搭起篝火煮起了鱼，他狼吞虎咽，还没有品出鲜鱼的肉香，转瞬间，连鱼带汤就被他吃了个精光，不久，他便饿死在空空的鱼篓旁。另一个人则提着 鱼竿继续忍饥挨饿，一步步艰难地向海边走去，可当他已经看到不远处那片蔚蓝色的海洋时，他浑身的最后一点力气也使完了，他也只能眼巴巴地带着无尽的遗憾撒 手人间。又有两个饥饿的人，他们同样得到了长者恩赐的一根鱼竿和一篓鱼。只是他们并没有各奔东西，而是商定共同去找寻大海，他俩每次只煮一条鱼，他们经过 遥远的跋涉，来到了海边，从此，两人开始了捕鱼为生的日子，几年后，他们盖起了房子，有了各自的家庭、子女，有了自己建造的渔船，过上了幸福安康的生活。<br />
启示：一个人只顾眼前的利益，得到的终将是短暂的欢愉；一个人目标高远，但也要面对现实的生活。只有把理想和现实有机结合起来，才有可能成为一个成功之人。有时候，一个简单的道理，却足以给人意味深长的生命启示。</p>
<p>11. 孔子的一位学生在煮粥时，发现有肮脏的东西掉进锅里去了。他连忙用汤匙把它捞起来，正想把它倒掉时，忽然想到，一粥一饭都来之不易啊。于是便把它吃了。刚 巧孔子走进厨房，以为他在偷食，便教训了那位负责煮食的同学。经过解释，大家才恍然大悟。孔子很感慨的说：“我亲眼看见的事情也不确实，何况是道听途听 呢？”<br />
启示：推销生意是一种组织性质的生意，因为人多，人事问题也多。我们不时听到是非难辨的话，如某公司攻击另一间公司，如是者往往令人混淆是非，影响信心。因此找出事情的真相，不是轻易相信谣言，辛辛苦苦建立的事业才不会毁于一旦。</p>
<p>12. 有位秀才第三次进京赶考，住在一个经常住的店里。考试前两天他做了三个梦，第一个梦是梦到自己在墙上种白菜，第二个梦是下雨天，他戴了斗笠还打伞，第三个 梦是梦到跟心爱的表妹躺在一起，但是背靠着背。这三个梦似乎有些深意，秀才第二天就赶紧去找算命的解梦。算命的一听，连拍大腿说：”你还是回家吧。你想 想，高墙上种菜不是白费劲吗？戴斗笠打雨伞不是多此一举吗？跟表妹躺在一张床上了，却背靠背，不是没戏吗？” 秀才一听，心灰意冷，回店收拾包袱准备回家。店老板非常奇怪，问：”不是明天才考试吗，今天你怎么就回乡了？”秀才如此这般说了一番，店老板乐了：”哟， 我也会解梦的。我倒觉得，你这次一定要留下来。你想想，墙上种菜不是高种吗？戴斗笠打伞不是说明你这次有备无患吗？跟你表妹背靠背躺在床上，不是说明你翻 身的时候就要到了吗？”秀才一听，更有道理，于是精神振奋地参加考试，居然中了个探花。<br />
启示：积极的人，象太阳，照到哪里哪里亮，消极的人，象月亮，初一十五不一样。想法决定我们的生活，有什么样的想法，就有什么样的未来。</p>
<p>13. 有一天动物园管理员们发现袋鼠从笼子里跑出来了，于是开会讨论，一致认为是笼子的高度过低。所以它们决定将笼子的高度由原来的十公尺加高到二十公尺。结果 第二天他们发现袋鼠还是跑到外面来，所以他们又决定再将高度加高到三十公尺没想到隔天居然又看到袋鼠全跑到外面，于是管理员们大为紧张，决定一不做二不 休，将笼子的高度加高到一百公尺。一天长颈鹿和几只袋鼠们在闲聊，”你们看，这些人会不会再继续加高你们的笼子？”长颈鹿问。”很难说。”袋鼠说∶”如果 他们再继续忘记关门的话！”<br />
启示：其实很多人都是这样,只知道有问题,却不能抓住问题的核心和根基。</p>
<p>14. 一天夜里，已经很晚了，一对年老的夫妻走进一家旅馆，他们想要一个房间。前台侍者回答说：”对不起，我们旅馆已经客满了，一间空房也没有剩下。”看着这对 老人疲惫的神情，侍者不忍心深夜让这对老人出门另找住宿。而且在这样一个小城，恐怕其他的旅店也早已客满打烊了，这对疲惫不堪的老人岂不会在深夜流落街 头？于是好心的侍者将这对老人引领到一个房间，说：”也许它不是最好的，但现在我只能做到这样了。”老人见眼前其实是一间整洁又干净的屋子，就愉快地住了 下来。第二天，当他们来到前台结账时，侍者却对他们说：”不用了，因为我只不过是把自己的屋子借给你们住了一晚&#8211;祝你们旅途愉快！”原来如此。侍者自己 一晚没睡，他就在前台值了一个通宵的夜班。两位老人十分感动。老头儿说：”孩子，你是我见到过的最好的旅店经营人。你会得到报答的。”侍者笑了笑，说这算 不了什么。他送老人出了门，转身接着忙自己的事，把这件事情忘了个一干二净。没想到有一天，侍者接到了一封信函，打开看，里面有一张去纽约的单程机票并有 简短附言，聘请他去做另一份工作。他乘飞机来到纽约，按信中所标明的路线来到一个地方，抬眼一看，一座金碧辉煌的大酒店耸立在他的眼前。原来，几个月前的 那个深夜，他接待的是一个有着亿万资产的富翁和他的妻子。富翁为这个侍者买下了一座大酒店，深信他会经营管理好这个大酒店。这就是全球赫赫有名的希尔顿饭 店首任经理的传奇故事。</p>
<p>15.有一位表演大师上场前，他的弟子告诉他鞋带松了。大师点头致谢，蹲下来仔细系好。等到弟子 转身后，又蹲下来将鞋带解松。有个旁观者看到了这一切，不解地问：”大师，您为什么又要将鞋带解松呢？”大师回答道：”因为我饰演的是一位劳累的旅者，长 途跋涉让他的鞋带松开，可以通过这个细节表现他的劳累憔悴.” “那你为什么不直接告诉你的弟子呢？”"他能细心地发现我的鞋带松了，并且热心地告诉我，我一定要保护他这种热情的积极性，及时地给他鼓励，至于为什么要 将鞋带解开，将来会有更多的机会教他表演，可以下一次再说啊。”<br />
启示：人一个时间只能做一件事，懂抓重点，才是真正的人才。</p>
<p>16. 一个人在高山之巅的鹰巢里，抓到了一只幼鹰，他把幼鹰带回家，养在鸡笼里。这只幼鹰和鸡一起啄食、嬉闹和休息。它以为自己是一只鸡。这只鹰渐渐长大，羽翼 丰满了，主人想把它训练成猎鹰，可是由于终日和鸡混在一起，它已经变得和鸡完全一样，根本没有飞的愿望了。主人试了各种办法，都毫无效果，最后把它带到山 顶上，一把将它扔了出去。这只鹰像块石头似的，直掉下去，慌乱之中它拼命地扑打翅膀，就这样，它终于飞了起来！<br />
启示：磨练召唤成功的力量。</p>
<p>17. 雨后，一只蜘蛛艰难地向墙上已经支离破碎的网爬去，由于墙壁潮湿，它爬到一定的高度，就会掉下来，它一次次地向上爬，一次次地又掉下来……第一个人看到 了，他叹了一口气，自言自语：”我的一生不正如这只蜘蛛吗？忙忙碌碌而无所得。”于是，他日渐消沉。第二个人看到了，他说：这只蜘蛛真愚蠢，为什么不从旁 边干燥的地方绕一下爬上去？我以后可不能像它那样愚蠢。于是，他变得聪明起来。第三个人看到了，他立刻被蜘蛛屡败屡战的精神感动了。于是，他变得坚强起 来。<br />
启示：有成功心态者处处都能发觉成功的力量。</p>
<p>18.一个老人在高速行驶的火车上，不小心把刚买的新鞋从窗口掉了一只，周围的人倍感惋惜，不料老人立即把第二只鞋也从窗口扔了下去。这举动更让人大吃一惊。老人解释说：”这一只鞋无论多么昂贵，对我而言已经没有用了，如果有谁能捡到一双鞋子，说不定他还能穿呢！”<br />
启示：成功者善于放弃。</p>
<p>19. 某大公司准备以高薪雇用一名小车司机，经过层层筛选和考试之后，只剩下三名技术最优良的竞争者。主考者问他们：”悬崖边有块金子，你们开着车去拿，觉得能 距离悬崖多近而又不至于掉落呢？”"二公尺。”第一位说。”半公尺。”第二位很有把握地说。”我会尽量远离悬崖，愈远愈好。”第三位说。结果这家公司录取 了第三位。<br />
启示：不要和诱惑较劲，而应离得越远越好。</p>
<p>20.老和尚携小和尚游方，途遇一条河；见一女子正想过 河，却又不敢过。老和尚便主动背该女子趟过了河，然后放下女子，与小和尚继续赶路。小和尚不禁一路嘀咕：师父怎么了？竟敢背一女子过河？一路走，一路想， 最后终于忍不住了，说：师父，你犯戒了？怎么背了女人？老和尚叹道：我早已放下，你却还放不下！<br />
启示：君子坦荡荡，小人常戚戚；心胸宽广，思想开朗，遇事拿得起、放得下，才能永远保持一种健康的心态。</p>
<p>21. 一个心理学教授到疯人院参观，了解疯子的生活状态。一天下来，觉得这些人疯疯癫癫，行事出人意料，可算大开眼界。想不到准备返回时，发现自己的车胎被人下 掉了。”一定是哪个疯子干的！”教授这样愤愤地想道，动手拿备胎准备装上。事情严重了。下车胎的人居然将螺丝也都下掉。没有螺丝有备胎也上不去啊！教授一 筹莫展。在他着急万分的时候，一个疯子蹦蹦跳跳地过来了，嘴里唱着不知名的欢乐歌曲。他发现了困境中的教授，停下来问发生了什么事。教授懒得理他，但出于 礼貌还是告诉了他。疯子哈哈大笑说：”我有办法！”他从每个轮胎上面下了一个螺丝，这样就拿到三个螺丝将备胎装了上去。教授惊奇感激之余，大为好奇：”请 问你是怎么想到这个办法的？” 疯子嘻嘻哈哈地笑道：”我是疯子，可我不是呆子啊！”<br />
启示：生活中比自己聪明的大有人在，不要被表象所迷惑。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/stories.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery效果的导航菜单和教程</title>
		<link>http://www.2astudio.com/post/jqueryexample.html</link>
		<comments>http://www.2astudio.com/post/jqueryexample.html#comments</comments>
		<pubDate>Thu, 11 Aug 2011 06:25:26 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[程序人生]]></category>

		<guid isPermaLink="false">http://www.2astudio.com/?p=963</guid>
		<description><![CDATA[一个新用户访问一个网站时，决定他们去留的关键是最初的15-20秒种。这是至关重要的，你必须遵循统一的风格来设计您的网站，特别是导航的风格，可能性规则，让用户可以轻松地找到他们想要的内容。这里最大的部分是开发一个菜单，即要直观易用，又要符合你网站的设计风格.]]></description>
			<content:encoded><![CDATA[<p>一个新用户访问一个网站时，决定他们去留的关键是最初的15-20秒种。这是至关重要的，你必须遵循统一的风格来设计您的网站，特别是导航的风格，可能性规则，让用户可以轻松地找到他们想要的内容。这里最大的部分是开发一个菜单，即要直观易用，又要符合你网站的设计风格。</p>
<p>本文列举了45个 jQuery的导航插件和教程，演示通过jQuery实现一些导航效果，教您如何做一个有创造性和易于使用的导航。</p>
<p><span id="more-963"></span>横向菜单导航插件和教程</p>
<p><a href="http://www.sohtanaka.com/web-design/mega-drop-downs-w-css-jquery/">Mega Drop Down Menu w/ CSS &amp; jQuery</a> | <a href="http://www.sohtanaka.com/web-design/examples/mega-dropdowns/">Demo</a></p>
<p><a href="http://www.sohtanaka.com/web-design/mega-drop-downs-w-css-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/71c9e9b3a51830fed8335a4b.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://woork.blogspot.com/2009/09/how-to-implement-perfect-multi-level.html">一个完善的多级导航栏</a> | <a href="http://antonio.lupetti.googlepages.com/navbar.html">Demo</a><br />
在本教程中，作者说明了实施完善多层次的导航栏使用HTML，CSS和不显眼的JavaScript的使用jQuery的一些代码行来显示和隐藏小节他的方法。</p>
<p><a href="http://woork.blogspot.com/2009/09/how-to-implement-perfect-multi-level.html"><img src="http://hiphotos.baidu.com/chzng/pic/item/e0bca4a7750fbaccd043584b.jpg" alt="" width="480" height="276" /></a></p>
<p><a href="http://net.tutsplus.com/tutorials/html-css-techniques/use-sprites-to-create-an-awesomeness-filled-navigation-menu/">使用子画面创建导航菜单</a> | <a href="http://nettuts.s3.cdn.plus.org/512_dragon/demo/index.html">Demo</a><br />
精灵的CSS可以大大提高网站的性能，使用jQuery，我们可以很容易地实现真棒过渡效果。</p>
<p><a href="http://net.tutsplus.com/tutorials/html-css-techniques/use-sprites-to-create-an-awesomeness-filled-navigation-menu/"><img src="http://hiphotos.baidu.com/chzng/pic/item/3edb4b4b612f01a983025c4b.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery">标签导航光滑水平滑动</a><br />
在本教程中，您将创建一个导航菜单幻灯片水平。它从一个“标签上包含的元素的右边”设置。当点击一个标签幻灯片左侧显示的链接组。再次点击该标签，它滑出。</p>
<p><a href="http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery"><img src="http://hiphotos.baidu.com/chzng/pic/item/6d9abcaf103339a2faed504b.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://onehackoranother.com/projects/jquery/droppy/">droppy &#8211; 巢式下拉菜单</a><br />
这不是最灵活的插件，但如果你正在寻找一个基本的菜单，它是完美的。<br />
<a href="http://onehackoranother.com/projects/jquery/droppy/"><img src="http://hiphotos.baidu.com/chzng/pic/item/4b97adfb4dd1d93d024f564b.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.ihwy.com/labs/jquery-listmenu-plugin.aspx">jQuery Listmenu</a> | <a href="http://www.ihwy.com/labs/demos/current/jquery-listmenu-plugin.aspx">Demo</a><br />
这jQuery插件允许您方便地转换为长期，难以导航到一个紧凑，易于脱脂首字母为基础的菜单系统，可以快捷进出双向访问数百个项目名单。</p>
<p><a href="http://www.ihwy.com/labs/jquery-listmenu-plugin.aspx"><img src="http://hiphotos.baidu.com/chzng/pic/item/ecd79ef04d0add9a7831aa54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.jeremymartin.name/projects.php?project=kwicks">Kwicks for jQuery</a> | <a href="http://www.jeremymartin.name/examples/kwicks.php?example=1">Demo</a></p>
<p><a href="http://www.jeremymartin.name/projects.php?project=kwicks"><img src="http://hiphotos.baidu.com/chzng/pic/item/18ae49c3c50d780cb219a854.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://tutorialzine.com/2009/07/creating-the-navigation-menu-with-css-jquery/">创建CSS＆jQuery的导航菜单</a><br />
在本教程中，您将学习如何建设顺利滚动使用jQuery和scrollTo插件影响一个CSS导航菜单。</p>
<p><a href="http://tutorialzine.com/2009/07/creating-the-navigation-menu-with-css-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/96a9ec550d25999db645ae54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.kriesi.at/archives/apple-menu-improved-with-jquery">苹果风格菜单</a> | <a href="http://www.kriesi.at/wp-content/extra_data/kwicks_tutorial/kwicks_final.html">Demo</a><br />
在这个深入教程中，您将创建一个苹果风格豹-文本缩进菜单从头开始。首先，您将建立在Photoshop菜单，然后您可以创建所需的HTML和CSS，并最终改善与jQuery它。</p>
<p><a href="http://www.kriesi.at/archives/apple-menu-improved-with-jquery"><img src="http://hiphotos.baidu.com/chzng/pic/item/5c810dc4777931f08326ac54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html">性感下拉菜单瓦特/ jQuery的＆的CSS</a> | <a href="http://www.sohtanaka.com/web-design/examples/drop-down-menu/">Demo</a><br />
大部分下拉菜单看上去美观，但发展中国家他们适度地降低也很重要。在本教程中，作者展示了如何创建一个性感的下拉菜单中缓慢下降。</p>
<p><a href="http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html"><img src="http://hiphotos.baidu.com/chzng/pic/item/6dbe29fcda2bf8dbb801a054.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.sitepoint.com/blogs/2009/03/31/make-a-mega-drop-down-menu-with-jquery/">使用jQuery超级下拉菜单</a> | <a href="http://www.sitepoint.com/examples/megadropdowns/completed.html">Demo</a><br />
一个大型的建议盘旋下降时，下拉菜单是0.5秒，另有0.5秒钟的延迟当用户移动鼠标了。这些准则，作者演示了如何建立一个大型的下拉可利用的时间延迟菜单。</p>
<p><a href="http://www.sitepoint.com/blogs/2009/03/31/make-a-mega-drop-down-menu-with-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/f18f6c827f3d38c9f703a654.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.j-dee.com/2008/12/22/jquery-pager-plugin/">JQuery Pager</a> | <a href="http://jonpauldavies.github.com/JQuery/Pager/PagerDemo.html">Demo</a><br />
jQuery的传呼机是一个简单的jQuery插件提供分页功能，数据驱动的Web应用程序。</p>
<p><a href="http://www.j-dee.com/2008/12/22/jquery-pager-plugin/"><img src="http://hiphotos.baidu.com/chzng/pic/item/5699ac903e3f01d4a877a454.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://css-tricks.com/simple-jquery-dropdowns/">简单的jQuery下拉</a> | <a href="http://css-tricks.com/examples/SimplejQueryDropdowns/">Demo</a><br />
jQuery的菜单不必很复杂，有时你可能想尝试使它们的东西略有不同尽可能地简单。此菜单插件，剥去了以最少的样式代码，但仍通常需要的所有功能。<br />
<a href="http://css-tricks.com/simple-jquery-dropdowns/"><img src="http://hiphotos.baidu.com/chzng/pic/item/199b958d634b4b4bb21bba54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://buildinternet.com/2009/01/how-to-make-a-smooth-animated-menu-with-jquery/">平滑动画菜单与jQuery</a> | <a href="http://buildinternet.com/live/smoothmenu/animated-menu.html">Demo</a><br />
在本教程中，您将学习如何建立一个jQuery菜单和一些可爱的动画和平稳影响它<br />
<a href="http://gsgd.co.uk/sandbox/jquery/easing/">Query的缓和插件</a>.</p>
<p><a href="http://buildinternet.com/2009/01/how-to-make-a-smooth-animated-menu-with-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/46efdf127f27c208f919b854.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://tutorialzine.com/2009/09/stylish-navigation-menu-jquery/">时尚导航菜单使用jQuery</a> | <a href="http://demo.tutorialzine.com/2009/09/stylish-navigation-menu-jquery/">Demo</a><br />
In this menu tutorial there are three main classes that define the looks: normalMenu – for the normal state of the navigation links,hoverMenu – lighter link that slides down on hover, selectedMenu – the active (selected) state.</p>
<p><a href="http://tutorialzine.com/2009/09/stylish-navigation-menu-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/5c8356513625f441377abe54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.queness.com/post/1047/easy-to-style-jquery-drop-down-menu-tutorial">易风格jQuery的下拉式菜单</a> | <a href="http://www.queness.com/resources/html/dropdownmenu/index.html">Demo</a><br />
本教程将告诉您如何创建一个简单易风格与悬停鼠标事件和最基本的jQuery的动画使用slideUp和slideDown菜单。</p>
<p><a href="http://www.queness.com/post/1047/easy-to-style-jquery-drop-down-menu-tutorial"><img src="http://hiphotos.baidu.com/chzng/pic/item/17816018e646a8ed4bedbc54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://net.tutsplus.com/tutorials/%20-ajax/a-different-top-navigation/">A Different Top Navigation</a> | <a href="http://nettuts.s3.amazonaws.com/386_navigation/top-nav-demo/index.html">Demo</a><br />
如果您想使您的网站脱颖而出，您可以考虑不符合“规范”当谈到导航思想。在本教程中，您将正在这样做，通过创建不同的多层次的横向导航系统，它还是不够直观，任何人使用第一次。</p>
<p><a href="http://net.tutsplus.com/tutorials/%20-ajax/a-different-top-navigation/"><img src="http://hiphotos.baidu.com/chzng/pic/item/a575c8735fe8c1458601b054.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.jankoatwarpspeed.com/post/2009/01/19/Create-Vimeo-like-top-navigation.aspx">Vimeo-Like Top Navigation</a> | <a href="http://www.jankoatwarpspeed.com/examples/vimeo_navigation/">Demo</a><br />
If you’ve ever visited the <a href="http://vimeo.com/">Vimeo</a> 主页您可能已经注意到在下拉菜单当你在搜索框上方盘旋，为你提供不同的搜索选项来缩小搜索范围。您将学习如何重新在本教程这种效果。</p>
<p><a href="http://www.jankoatwarpspeed.com/post/2009/01/19/Create-Vimeo-like-top-navigation.aspx"><img src="http://hiphotos.baidu.com/chzng/pic/item/644c551c513dd3d286d6b654.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.comparenetworks.com/developers/jqueryplugins/jbreadcrumb.html">jQuery&#8217;d Bread Crumb – jBreadCrumb</a><br />
这种可折叠的面包屑jQuery插件已经开发出来，处理深层嵌套的，冗长命名的网页。而不是限制在断绝方面表现出的元素数量，发展商选择顺应了可用性和搜索引擎优化客户端解决方案。它也被证明是好看和好玩的。</p>
<p><a href="http://www.comparenetworks.com/developers/jqueryplugins/jbreadcrumb.html"><img src="http://hiphotos.baidu.com/chzng/pic/item/6899478b5fea55269f2fb454.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.sunsean.com/idTabs/#t2">idTabs</a><br />
在不平凡-插件多功能idTabs使得添加标签，一个网站非常简单，打开了无限的可能性导航大门。这个插件网页显示您不仅是多么容易idTabs使用和风格，而且还证明了导航选项您将有许多供您使用。</p>
<p><a href="http://www.sunsean.com/idTabs/#t2"><img src="http://hiphotos.baidu.com/chzng/pic/item/684ec17f4413755129388a54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://net.tutsplus.com/tutorials/%20-ajax/how-to-create-a-keypress-navigation-using-jquery/">按键导航</a> | <a href="http://nettuts.s3.amazonaws.com/013_keypress/demo/demo.html">Demo</a><br />
使用jQuery，您的网站的导航不必局限于鼠标的激活。在这个高度，原实验教程您展示了如何让用户浏览您的网站使用的键盘。</p>
<p><a href="http://net.tutsplus.com/tutorials/%20-ajax/how-to-create-a-keypress-navigation-using-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/71b7e108f4046d69e8248854.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://hv-designs.co.uk/2009/02/17/sliding-jquery-menu/">jQuery的滑动菜单</a> | <a href="http://www.hv-designs.co.uk/tutorials/sliding_menu/sliding_menu.html">Demo</a><br />
在本教程中，您将学习如何创建一个滑动菜单按钮，类似的效果，您可以看到在行动上PSDtuts超过+网页。当按钮被点击时如果要全面铺开一箱的链接，当单击按钮再次框充分回滚英寸.</p>
<p><a href="http://hv-designs.co.uk/2009/02/17/sliding-jquery-menu/"><img src="http://hiphotos.baidu.com/chzng/pic/item/c7a0f9303718cac0a8018e54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/">下拉，iPod的细目，并飞出样式</a><br />
这种iPod风格的菜单插件提供的任何级别的数量嵌套结构的复杂轻松导航。整个菜单位于内固定大小的区域，当一个节点默认选中的“返回”链接，似乎使导航上一个（父）菜单下面的菜单。</p>
<p><a href="http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/"><img src="http://hiphotos.baidu.com/chzng/pic/item/06bc5e99493d3e516f068c54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://csscody.com/demo/download-flickr-menu-design/">Flickr菜单设计</a> | <a href="http://csscody.com/demo/wp-content/demo/FlickrMenu/index.html">Demo</a><br />
这是一个简单的分步教程将告诉您，如何实现一个Flickr风格的冷滑使用jQuery和CSS效果菜单。<br />
<a href="http://csscody.com/demo/wp-content/demo/FlickrMenu/index.html"><img src="http://hiphotos.baidu.com/chzng/pic/item/819efb95ee4770517af48054.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://tympanus.net/codrops/2009/12/11/fixed-fade-out-menu-a-css-and-jquery-tutorial/">固定淡出菜单</a> | <a href="http://tympanus.net/Tutorials/FixedFadeOutMenu/">Demo</a><br />
本教程的目的是建立一个固定的导航遵循用户时，向上或向下滚动，只有巧妙地显示了淡出，成为几乎透明本身。当用户在它盘旋，然后在菜单变得不透明了。导航包括一些链接，搜索框，顶部和底部的按钮，让用户浏览到顶部或页面底部。</p>
<p><a href="http://tympanus.net/codrops/2009/12/11/fixed-fade-out-menu-a-css-and-jquery-tutorial/"><img src="http://hiphotos.baidu.com/chzng/pic/item/e5e3e4089dc8788863d98654.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://pupunzi.com/#mb.components/mb._menu/menu.html">mb.menu</a> | <a href="http://pupunzi.com/mb.components/mb._menu/demo/demo.html">Demo</a><br />
mb.menu是一个强大的jQuery的组件，可以帮助您建立一个直观的多级树菜单或上下文（右键）菜单。您可以添加您想要多子，如果您的子菜单或菜单不在网页宣布，该组件将得到它通过Ajax，调用模板的菜单中，您需要（数值身份证页面上的“菜单“属性）。</p>
<p><a href="http://pupunzi.com/#mb.components/mb._menu/menu.html"><img src="http://hiphotos.baidu.com/chzng/pic/item/946cecd18ae5808a562c8454.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm">mcDropdown</a><br />
该mcDropdown插件是一个UI控件，让用户选择一个复杂的分层树的选择，允许为鼠标和键盘输入。这个插件的整体效果，有点像在Microsoft Windows“开始”&gt;所有程序“菜单。</p>
<p><a href="http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm"><img src="http://hiphotos.baidu.com/chzng/pic/item/8d4114d3bd106386a8ec9a54.jpg" alt="" width="480" height="200" /></a></p>
<p>垂直或补充工具栏插件和教程</p>
<p><a href="http://www.i-marco.nl/weblog/archive/2008/05/08/simple_jquery_accordion_menu__">简单的jQuery折叠菜单</a> | <a href="http://www.i-marco.nl/weblog/jquery-accordion-menu-redux2/">Demo</a><br />
这是一个非常简单的折叠菜单插件使用jQuery兴建。与小组联系，他们将扩大在子菜单中点击和项目时，不具备分项目的正常联系的项目。菜单将初始化的第一个扩展子菜单。</p>
<p><a href="http://www.i-marco.nl/weblog/archive/2008/05/08/simple_jquery_accordion_menu__"><img src="http://hiphotos.baidu.com/chzng/pic/item/8cbf84d0073fe3d6a1ec9c54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.queness.com/post/106/jquery-tabbed-interfacetabbed-structure-menu-tutorial">标签式结构菜单</a> | <a href="http://www.queness.com/resources/html/tabmenu/jquery-tabbed-menu-queness.html">Demo</a><br />
本教程将告诉你如何构建自己的节省空间，标签式界面，使用jQuery与slideDown / slideUp影响。</p>
<p><a href="http://www.queness.com/post/106/jquery-tabbed-interfacetabbed-structure-menu-tutorial"><img src="http://hiphotos.baidu.com/chzng/pic/item/189b778f52d07aa3503d9254.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/">最新的内容可折叠菜单</a> | <a href="http://demo.tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/demo.html">Demo</a><br />
在本教程中，您可获得如何构建一个简单的，但引人注目的是CSS，jQuery和花式效果的插件帮助缓解折叠效果。</p>
<p><a href="http://tutorialzine.com/2009/12/colorful-content-accordion-css-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/352cacedfd4ff98db21cb154.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.queness.com/post/256/horizontal-scroll-menu-with-jquery-tutorial">水平滚动菜单</a> | <a href="http://www.queness.com/resources/html/scrollmenu/index.html">Demo</a><br />
本教程教你如何创建一个水平滚动菜单，滚动自动根据您的鼠标轴辎运动和使用<a href="http://plugins.jquery.com/project/color">jQuery.color</a> plugin to animate the background-color changes.</p>
<p><a href="http://www.queness.com/post/256/horizontal-scroll-menu-with-jquery-tutorial"><img src="http://hiphotos.baidu.com/chzng/pic/item/4f74eefaa50154ce58ee9054.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://net.tutsplus.com/html-css-techniques/how-to-create-a-slick-tabbed-content-area/">Create a Slick Tabbed Content Area using CSS &amp; jQuery</a> | <a href="http://nettuts.s3.cdn.plus.org/001_Tabbed/site/jQuery.html">Demo</a><br />
在此啧啧您将学习如何建立一个简单的小标签在HTML信息框中，然后它使用纯JavaScript功能，最后你会学到的方法达到同样的效果使用jQuery。</p>
<p><a href="http://net.tutsplus.com/html-css-techniques/how-to-create-a-slick-tabbed-content-area/"><img src="http://hiphotos.baidu.com/chzng/pic/item/bea5c097afd24f3454fb9654.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://jqueryfordesigners.com/slide-out-and-drawer-effect/">Slide Out and Drawer Effect</a> | <a href="http://jqueryfordesigners.com/demo/plugin-slide-demo.html">Demo</a><br />
苹果网站是这一行动的作用有很大的示范鼠标就&#8217;节&#8217;和相关的链接标题平息暴露。是什么使这种效果格外清凉的是，抽屉保持一个固定的高度和禁区之间的幻灯片。</p>
<p><a href="http://jqueryfordesigners.com/slide-out-and-drawer-effect/"><img src="http://hiphotos.baidu.com/chzng/pic/item/b676db6dadc7c0a242169454.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://net.tutsplus.com/tutorials/%20-ajax/jquery-os-x-style-dock-and-stack-navigation/">“Outside the Box” Navigation with jQuery</a> | <a href="http://nettuts.s3.cdn.plus.org/358_jquery/example%20files/all-examples.html">Demo</a><br />
This tutorial offers three different ‘out-of-the-box’ OS X dock-style navigation options. There are the, as expected, horizontal and vertical examples, and finally the very cool OS X stack and drop stack.</p>
<p><a href="http://net.tutsplus.com/tutorials/%20-ajax/jquery-os-x-style-dock-and-stack-navigation/"><img src="http://hiphotos.baidu.com/chzng/pic/item/a0d2c6a4b81f7bae9152ee54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://buildinternet.com/2009/09/sproing-make-an-elastic-thumbnail-menu/">Sproing! – Thumbnail Menu</a> | <a href="http://buildinternet.com/live/elasticthumbs">Demo</a><br />
Sproing! is a plugin that creates an elastic effect for your navigation that magnifies the menu items when they are hovered over.</p>
<p><a href="http://buildinternet.com/2009/09/sproing-make-an-elastic-thumbnail-menu/"><img src="http://hiphotos.baidu.com/chzng/pic/item/38529dcb0c7b8046bf09e654.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://net.tutsplus.com/%20-ajax/create-a-cool-animated-navigation-with-css-and-jquery/">Cool Animated Navigation</a> | <a href="http://nettuts.s3.cdn.plus.org/009_jQueryMenu/sm/result/index.html">Demo</a><br />
In this tutorial you’ll learn how to build a really cool animated navigation menu with background position animation using just CSS and jQuery.</p>
<p><a href="http://net.tutsplus.com/%20-ajax/create-a-cool-animated-navigation-with-css-and-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/51918d63fc1919390d33fa54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://abeautifulsite.net/2008/03/jquery-file-tree/">jQuery File Tree</a> | <a href="http://labs.abeautifulsite.net/projects/js/jquery/fileTree/demo/">Demo</a><br />
jQuery File Tree is a configurable, Ajax file browser plugin for jQuery. You can create a customized, fully-interactive file tree with as little as one line of JavaScript code. Currently, server-side connector scripts are available for PHP, ASP, ASP.NET, JSP, and Lasso. If you’re a developer, you can easily make your own connector to work with your language of choice.</p>
<p><a href="http://abeautifulsite.net/2008/03/jquery-file-tree/#demo"><img src="http://hiphotos.baidu.com/chzng/pic/item/19bc8d60000ef51deaf8f854.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/">Creating a Floating HTML Menu Using jQuery and CSS</a> | <a href="http://nettuts.s3.cdn.plus.org/018_Floating_Menu/demo/dhtml_float_menu_final_nettut.html">Demo</a><br />
For all of us who deal with long web pages and need to scroll to the top for the menu, this tutorial offers a nice alternative: floating menus that move as you scroll a page. This is built using HTML, CSS and jQuery, and it’s W3C-compliant.</p>
<p><a href="http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/"><img src="http://hiphotos.baidu.com/chzng/pic/item/e3ab6144e5c56815500ffe54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.barandis.com/dev/jquery/ddmenu/index.html">BDC DrillDown Menu, an iPod-style menu</a> | <a href="http://www.barandis.com/dev/jquery/ddmenu/examples.html">Demo</a><br />
A drill-down menu takes up constant space like an accordion menu but offers the deep hierarchy of a fly-out menu at the same time. Because of this, it not only features a small footprint but is also easier to navigate than a fly-out menu, where more mouse movement and accuracy are required.</p>
<p><a href="http://www.barandis.com/dev/jquery/ddmenu/index.html"><img src="http://hiphotos.baidu.com/chzng/pic/item/0460fc4c4132aba0d62afc54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://abeautifulsite.net/2008/09/jquery-context-menu-plugin/">jQuery Context Menu Plugin</a> | <a href="http://labs.abeautifulsite.net/projects/js/jquery/contextMenu/demo/">Demo</a><br />
The goal of this plugin was to streamline the way actions bind to menu items and to use 100% CSS for styling. Keyboard shortcuts have been added for navigation once the menu is opened, and there are five methods that will allow you to control and clean-up your context menu on the fly.</p>
<p><a href="http://abeautifulsite.net/2008/09/jquery-context-menu-plugin/"><img src="http://hiphotos.baidu.com/chzng/pic/item/38b286593110a6732934f054.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://net.tutsplus.com/tutorials/%20-ajax/how-to-create-a-mootools-homepage-inspired-navigation-effect-using-jquery/">A ‘Mootools Homepage’ Inspired Navigation</a> | <a href="http://nettuts.s3.cdn.plus.org/004_Moo/tutorial/demo/demo.html">Demo</a><br />
This tutorial takes you through the process of developing the menu that had previously been used on the homepage of <a href="http://mootools.net/">MooTools</a>, but with jQuery.</p>
<p><a href="http://net.tutsplus.com/tutorials/%20-ajax/how-to-create-a-mootools-homepage-inspired-navigation-effect-using-jquery/"><img src="http://hiphotos.baidu.com/chzng/pic/item/c7acd29b1b0629ecc8eaf454.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/">jQuery UI Selectmenu</a><br />
界面Selectmenu的jQuery插件的设计重复和扩大选择一个本地的HTML元素的功能，并允许您自定义的外观和感觉，添加图标，并选择内建立层次结构。最棒的是，它的建成与逐步加强，并考虑获得和允许所有本地的鼠标和键盘控制。<br />
<a href="http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/"><img src="http://hiphotos.baidu.com/chzng/pic/item/ffa0b543ddcfc0489213c654.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://tympanus.net/codrops/2009/11/30/beautiful-slide-out-navigation-a-css-and-jquery-tutorial/">美丽滑出导航 </a>| <a href="http://tympanus.net/Tutorials/FixedNavigationTutorial/">Demo</a><br />
在本教程中，您显示了如何创建一个惊人的滑出式菜单或导航。导航将几乎隐藏 &#8211; 项目仅滑出时，对该地区的未来给他们的用户左右。这给出了一个漂亮的效果，使用这种技术可以节省您在网站上一些空间。</p>
<p><a href="http://tympanus.net/codrops/2009/11/30/beautiful-slide-out-navigation-a-css-and-jquery-tutorial/"><img src="http://hiphotos.baidu.com/chzng/pic/item/7c8b567ee0bd17610dd7da54.jpg" alt="" width="480" height="200" /></a></p>
<p>可选水平或垂直导航</p>
<p><a href="http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm">光滑导航菜单</a><br />
这个菜单的内容可以是达成无论从网页上直接标记，或外部文件，并通过Ajax的牵强。并jQuery的，可配置，时尚“幻灯片加淡出”由于是过渡期间适用的分菜单揭幕。菜单同时支持横向和纵向（侧栏）的方向。</p>
<p><a href="http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm"><img src="http://hiphotos.baidu.com/chzng/pic/item/784547449d092bdbb3b7dc54.jpg" alt="" width="480" height="200" /></a></p>
<p><a href="http://users.tpg.com.au/j_birch/plugins/superfish/">Superfish – Suckerfish on &#8216;roids</a> | <a href="http://users.tpg.com.au/j_birch/plugins/superfish/#examples">Demo</a></p>
<p><a href="http://users.tpg.com.au/j_birch/plugins/superfish/#getting-started"><img src="http://hiphotos.baidu.com/chzng/pic/item/5d2f36a238c943f4caefd054.jpg" alt="" width="480" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/jqueryexample.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>北京网通亲情1+宽带ADSL猫＋PPPOE拨号＋路由器（无线）</title>
		<link>http://www.2astudio.com/post/qinqing-1-plus.html</link>
		<comments>http://www.2astudio.com/post/qinqing-1-plus.html#comments</comments>
		<pubDate>Sat, 18 Jun 2011 11:35:03 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[生活碎片]]></category>

		<guid isPermaLink="false">http://www.2astudio.com/?p=958</guid>
		<description><![CDATA[搞定了以后，这就是一台 Adsl猫+无线宽带路由器的结合体。]]></description>
			<content:encoded><![CDATA[<p>搞定了以后，这就是一台 Adsl猫+无线宽带路由器的结合体。能怎么玩自己应该知道了吧！</p>
<p>1.打开<a href="http://192.168.1.1/cnc.html" target="_blank">http://192.168.1.1</a> 使用user用户进入，在应用里面开启ftp功能，用户名与密码应该都是admin</p>
<p>2：使用命令行输入c: 再输入ftp 192.168.1.1 输入admin（cmd）<br />
3：输入 cd ../ 再输入cd etc<br />
4: get board.conf</p>
<p>到我的电脑 c:\documents and settings\你的用户登录名 下面找到  board.conf文件，找不到就搜索下C盘</p>
<p>用记事本打开<br />
5 找到这段代码：</p>
<p><span id="more-958"></span></p>
<div>
<div>
<div>
<table>
<tbody>
<tr>
<td>01</td>
<td>&lt;user id=”700&#8243;&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>02</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>03</td>
<td>&lt;row id=”0&#8243;&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>04</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>05</td>
<td>&lt;item&gt;”username”, “bjcn****”&lt;/item&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>06</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>07</td>
<td>&lt;item&gt;”right”, “0&#8243;&lt;/item&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>08</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>09</td>
<td>&lt;item&gt;”enable”, “1&#8243;&lt;/item&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>10</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>11</td>
<td>&lt;item&gt;”password”, “bjcnchgw274*****”&lt;/item&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>12</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>13</td>
<td>&lt;/row&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>14</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>15</td>
<td>&lt;row id=”1&#8243;&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>16</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>17</td>
<td>&lt;item&gt;”right”, “1&#8243;&lt;/item&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>18</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>19</td>
<td>&lt;item&gt;”username”, “user”&lt;/item&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>20</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>21</td>
<td>&lt;item&gt;”password”, “crfb72ym”&lt;/item&gt;</td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>22</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td>23</td>
<td>&lt;/row&gt;</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>其中的”right”, “0″上面和下面的就是超级用户的帐号和密码</p>
<p>4.然后打开<a href="http://192.168.1.1/cnc.html" target="_blank">http://192.168.1.1/cnc.html</a> 用超级密码登录后就可以完全的管理路由器啦！</p>
<p>5.删除远程连接功能，更改完密码后，请立即进行此项操作，以免被远程更改。找到“网络”-&gt;宽带设置，删除连接名称有TR069字样的连 接，就是靠进行远程管理的。还没有完，接着到“远程管理”选项，更改参数，其中勾选掉“周期上报使能:”其他参数，自己随便更改一下。点击“确 定”，OK！完毕！</p>
<p>6.开通路由功能。返回到“宽带设置”，删除有“INTERNET”字样的连接，选择“新建wan连接”，北京的话vpi选 0，vci选35，其他地方自己咨询运营商。其他选项默认，用户名添ADSL上网账号，密码是ADSL上网密码。点击“创建”。OK！接上H108B电话 线，过10秒钟左右找到”状态”-&gt;“网络侧信息”，看是否有获得IP地址、掩码、DNS等信息，如果有，设置成功！</p>
<p>行了，访问一下任意网页，是不是不用拨号了，呵呵，那是H108B已经帮你拨了。就这样，如果有问题，加留言交流。</p>
<p>到这里就可以多人通过有线或者WIFI接入上网了，试试！！</p>
<p>&nbsp;</p>
<p>2011.05.18日，亲测成功</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/qinqing-1-plus.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>北京居民办理护照、港澳通行证地点&#8211;出入境管理局分布说明</title>
		<link>http://www.2astudio.com/post/beijingchurujing.html</link>
		<comments>http://www.2astudio.com/post/beijingchurujing.html#comments</comments>
		<pubDate>Sat, 02 Apr 2011 02:45:47 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[生活碎片]]></category>

		<guid isPermaLink="false">http://www.2astudio.com/?p=954</guid>
		<description><![CDATA[·北京市公安局出入境管理处办公地点：
东城区安定门东大街2号。
乘坐44路、13路、116路、807路、117路、特2路公交车，北小街豁口下车。乘坐地铁在雍和宫站下车往东即到。
办公时间：星期一至星期六（法定节假日除外） 8:30 — 16:30
咨询电话：84020101
人工咨询时间：星期一至星期六（法定节假日除外）8:30 — 12:00 / 13:00 — 17:00
语音咨询24小时服务
监督电话： 84015300（不对外咨询）...]]></description>
			<content:encoded><![CDATA[<div id="sina_keyword_ad_area2">
<div>
<p>·<strong>北京市公安局出入境管理处办公地点：</strong><br />
东城区安定门东大街2号。<br />
乘坐44路、13路、116路、807路、117路、特2路公交车，北小街豁口下车。乘坐地铁在雍和宫站下车往东即到。<br />
办公时间：星期一至星期六（法定节假日除外） 8:30 — 16:30<br />
咨询电话：84020101<br />
人工咨询时间：星期一至星期六（法定节假日除外）8:30 — 12:00 / 13:00 — 17:00<br />
语音咨询24小时服务<br />
监督电话： 84015300（不对外咨询）<br />
网址： www.bjgaj.gov.cn → 网上公示<br />
网上表格下载： wwww.bjgaj.gow.cn → 办公频道 → 表格下载 → 出入境<span id="more-954"></span></p>
<p>·<strong>东城分局出入境接待大厅：</strong><br />
东城区行政服务中心六层（东城区金宝街 52号）。乘坐108路、106路、111路公交车，米市大街下车；乘坐24路公交车，禄米仓下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
9:00 — 12:00   13:00 — 17:00</p>
<p>·<strong>西城分局出入境接待大厅：</strong><br />
西城区公安分局办公大厅（西城区二龙路 39号）。<br />
乘坐 7路公交车，辟才胡同下车；乘坐10路公交车，民族文化宫下车；乘坐477路公交车，二龙路西街下车；乘坐46路公交车，教育部下车；乘坐626路公交车，民族饭店下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   13:30 — 17:00</p>
<p><strong>·</strong><strong>朝阳分局出入境接待大厅：</strong><strong><br />
</strong>朝阳区投资服务大厅（朝阳区霄云路霄云里1号）<br />
乘坐 421路、405路麦子店西街下车。<br />
办公时间：星期一到星期六（法定节假日除外）<br />
8:30 — 11:30   13:00 — 17:00</p>
<p><strong>·</strong><strong>海淀分局出入境接待大厅：</strong><strong><br />
</strong>中关村科技园区服务中心三层（海淀区阜成路67号）。<br />
乘坐 505路、733路、746路、748路、846路、849路、850路、967路、977路公交车，西钓鱼台下车；乘坐运通106路、运通102路公交车，钓鱼台下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   13:00 — 17:00</p>
<p><strong>·</strong><strong>崇文分局出入境接待大厅：</strong><strong><br />
</strong>崇文区公安分局门口（崇文区幸福大街34号）<br />
乘坐 8路至幸福大街、6路、41路、35路、60路、116路、705路、707路至体育馆路。<br />
办公时间：星期一至星期六（法定节假日除外） 8:30 — 11:30   13:00 — 17:00</p>
<p><strong>·</strong><strong>宣武分局出入境接待大厅：</strong><strong><br />
</strong>宣武区公安分局门口东侧（北京宣武区梁家园胡同1号）。<br />
乘坐 5路、7路、14路、15路、23路、57路、66路、102路、105路、至虎坊桥站下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 16:30</p>
<p><strong>·</strong><strong>丰台分局出入境接待大厅：</strong><strong><br />
</strong>丰台区丰管路58-2号。<br />
乘车路线：乘 349路、937路、971路、477路、451路、335路公交车，丰台东大街站下车；乘坐836、459、678路公交车，丰台游泳厂北路站。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   13:30 — 17:00</p>
<p><strong>·</strong><strong>通州分局出入境接待大厅：</strong><strong><br />
</strong>通州分局焦王庄派出所一楼大厅（通州区陈列馆路475号）。<br />
乘车路线：乘坐 855路、667路、388路、316路、649路公交车，焦王庄路口站下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   13:30 — 17:30</p>
<p><strong>·</strong><strong>顺义分局出入境接待大厅：</strong><strong><br />
</strong>顺义分局南门西侧（顺义区顺平西路8号）。<br />
乘坐 955路、顺义环1路公交车，五里仓下车；乘坐915路公交车，梅沟营下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   13:30 — 17:30</p>
<p><strong>·</strong><strong>昌平分局出入境接待大厅：</strong><strong><br />
</strong>昌平区昌盛园邮局院内（昌平区南环东路与亢山路十字路口东南角处）。<br />
乘坐 345快、357路、919路、947路公交车，昌平政法大学下车；乘坐376路公交车，昌盛路下车；乘坐493路、小5路公交车，东关南里小区南门下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   13:30 — 17:30</p>
<p><strong>·</strong><strong>大兴分局出入境接待大厅：</strong><br />
大兴公安分局户证大厅内（北京大兴区黄村西大街35号）。<br />
乘坐 410路、610路、631路、631（快）路、957（快）路、456路、968路、937（支）路公交车，大兴区医院站下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   14:00 — 17:30</p>
<p><strong>·</strong><strong>石景山分局出入境接待大厅：</strong><strong><br />
</strong>石景山区行政服务中心一层（北京石景山区八角西街16号）<br />
乘车路线： 389路、622路至八角西街北口站。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   13:30 — 16:30</p>
<p><strong>·</strong><strong>门头沟分局出入境接待大厅：</strong><strong><br />
</strong>门头沟公安分局门口（北京门头沟新桥大街45号）<br />
乘坐 336路、370路、101路、929路、931路、959路、977路新桥大街站下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   14:00 — 17:30</p>
<p><strong>·</strong><strong>房山分局出入境接待大厅：</strong><strong><br />
</strong>房山分局全程办事代理综合服务大厅（北京房山区良乡政通路16号）<br />
乘坐 952路、917路汽车良乡北关环岛下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   13:30 — 17:00</p>
<p><strong>·</strong><strong>平谷分局出入境接待大厅：</strong><strong><br />
</strong>平谷区林荫北街13号区综合服务行政大厅4层。<br />
乘坐 918路至区医院站下车向南1000米路西，平谷区内乘坐环城2路国际公寓站下车向北500米路西。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   14:00 — 17:30</p>
<p><strong>·</strong><strong>怀柔分局出入境接待大厅：</strong><strong><br />
</strong>怀柔区泉河派出所北侧（北京怀柔区湖光小区13号）。<br />
乘车路线： 916路、城北l路至湖光小区站。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   14:00 — 17:30</p>
<p><strong>·</strong><strong>密云县局出入境接待大厅：</strong><strong><br />
</strong>密云县公安局院内一层（密云县西大桥路12号）<br />
乘坐 980路、987路至种子公司站下车往西，6路、7路、8路至密云县公安局下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   14:00 — 17:30</p>
<p><strong>·</strong><strong>延庆县局出入境接待大厅：</strong><strong><br />
</strong>延庆县公安局院西侧（北京延庆县延庆镇湖南路18号）。<br />
乘坐环一路至县公安局门口下车。<br />
办公时间：星期一至星期六（法定节假日除外）<br />
8:30 — 11:30   14:00 — 17:30</p>
<p>注：分县局受理范围内的北京市居民，不受户籍限制，可在任意区县公安分局出人境接待大厅递交申请。</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/beijingchurujing.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Audio service can not be started, Error 1722: The RPC server is unavailable</title>
		<link>http://www.2astudio.com/post/windows-audio-service-cant-be-started-error-1722-the-rpc-server-is-unavailable.html</link>
		<comments>http://www.2astudio.com/post/windows-audio-service-cant-be-started-error-1722-the-rpc-server-is-unavailable.html#comments</comments>
		<pubDate>Tue, 08 Feb 2011 06:48:51 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[生活碎片]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[RPC]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=891</guid>
		<description><![CDATA[<p>On Win 7, the audio icon on the system tray area shows 'disabled', go to  service list, find that the 'Windows Audio' service is disabled, try enable it: 1. enable 'Windows Audio', it prompts the...</p><br />
]]></description>
			<content:encoded><![CDATA[<p>On Win 7, the audio icon on the system tray area shows &#8216;disabled&#8217;, go to  service list, find that the &#8216;Windows Audio&#8217; service is disabled, try enable it:</p>
<p>1. enable &#8216;Windows Audio&#8217;, it prompts the dependent services are not running</p>
<p>2. enable its dependent service &#8216;Windows Audio Endpoint Builder&#8217;, it prompts  &#8216;Error 1722: The RPC server is unavailable&#8217;</p>
<p>3. check the &#8216;Remote Procedure Call (RPC)&#8217; and &#8216;Remote Procedure Call (RPC)  locator&#8217; are enabled, check the &#8216;DCOM Server Process Launcher&#8217; is enabled</p>
<p>4. if the services in step 3 are all enabled, but the audio service still  can&#8217;t be started:</p>
<p>5. enable the &#8216;Power&#8217; service</p>
<p>Don&#8217;t know why, but it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/windows-audio-service-cant-be-started-error-1722-the-rpc-server-is-unavailable.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>End the process of &#8216;mobsync.exe&#8217;</title>
		<link>http://www.2astudio.com/post/end-the-process-of-mobsync-exe.html</link>
		<comments>http://www.2astudio.com/post/end-the-process-of-mobsync-exe.html#comments</comments>
		<pubDate>Thu, 06 Jan 2011 02:23:32 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[生活碎片]]></category>
		<category><![CDATA[mobsync.exe]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=890</guid>
		<description><![CDATA[mobsync.exe 进程是一个比较顽强的进程，目前调查的结果，它跟Office Files相关。在Windows 7下，通过注册表的run选项、Services的启动项、TaskSchd的task项都没有找到它启动的痕迹，从Taskmgr结束进程以后，mobsync.exe过一段时间还会继续加载。目前我用的禁用方式：Control Panel\All Control Panel Items\Sync Center，点左面的Manage Offline Files - Disable Offline files，重起系统。...
]]></description>
			<content:encoded><![CDATA[<p>mobsync.exe 进程是一个比较顽强的进程，目前调查的结果，它跟Office Files相关。在Windows 7下，通过注册表的run选项、Services的启动项、TaskSchd的task项都没有找到它启动的痕迹，从Taskmgr结束进程以后，mobsync.exe过一段时间还会继续加载。目前我用的禁用方式：Control Panel\All Control Panel Items\Sync Center，点左面的Manage Offline Files &#8211; Disable Offline files，重起系统。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/end-the-process-of-mobsync-exe.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[转]Liferay新手入门</title>
		<link>http://www.2astudio.com/post/%e8%bd%acliferay%e6%96%b0%e6%89%8b%e5%85%a5%e9%97%a8.html</link>
		<comments>http://www.2astudio.com/post/%e8%bd%acliferay%e6%96%b0%e6%89%8b%e5%85%a5%e9%97%a8.html#comments</comments>
		<pubDate>Mon, 25 Oct 2010 07:50:45 +0000</pubDate>
		<dc:creator>Aviva</dc:creator>
				<category><![CDATA[程序人生]]></category>
		<category><![CDATA[Liferay]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=889</guid>
		<description><![CDATA[<p>同时加入了一个QQ群和两个Liferay群，发现上面大部分的问题，都是新手提的一些问题。<br />当然，首先是要肯定新手的这种善于提问的习惯。不过，有些问题确实是比较初级，再加上大家也都很忙，也就会经常看见网友问了问题没人回答的情况。<br />...</p>
]]></description>
			<content:encoded><![CDATA[<p>Liferay新手入门</p>
<div id="msgcns!8485F0C14B3152CD!239" class="bvMsg">
<p>同时加入了一个QQ群和两个Liferay群，发现上面大部分的问题，都是新手提的一些问题。<br />
当然，首先是要肯定新手的这种善于提问的习惯。不过，有些问题确实是比较初级，再加上大家也都很忙，也就会经常看见网友问了问题没人回答的情况。</p>
<p>自己接触Liferay有一段时间了，做了一些二次开发的工作，也写了几篇Liferay技术分析的文章。<br />
在此，就说说我个人认为Liferay新手应该注意的一些问题吧。<span id="more-889"></span></p>
<p>一、Liferay能做什么<br />
相 信第一次看到Liferay的朋友，被其吸引的基本上是其对页面的定制能力，包括内容的拖拉以及换肤等。于是，觉得发现了新大陆，觉得有了这个东西，以后 做网站就容易了。如果同时没有进行过进一步的熟悉就开始利用其做项目的话，做到一半的时候，一定会觉得上当受骗，还不如自己用JSP做网站来得简单。<br />
那么，Liferay究竟能做什么呢？或者说其优缺点大概是什么呢？我个人的看法是：<br />
1、Liferay首先是门户，强调的是对其他内容的集成。<br />
2、Liferay搭建普通网站，有其优势，前面说到的换肤等等，但缺点也很明显，就是技术难度较大。要想真正满足国内客户对网站的要求，你必须要配置一个强有力的Theme团队。<br />
3、Liferay自身使用的技术架构还是很有特点，值得使用。可以在这个架构基础之上实现自己的功能。</p>
<p>二、Liferay的两种应用方式<br />
初步估计，国内研究Liferay的朋友，大概有两种情况：<br />
1、应用Liferay，定制一些Theme。<br />
2、在其基础上进行二次开发，开发自己的Portlet。<br />
当然，第二类应用一般也是以第一类应用为基础的，首先了解Liferay大概在干什么，然后才考虑怎么进行二次开发。<br />
不 管是那一类情况，都需要相应的文档进行学习。我个人的建议是，文档主要看Liferay自己网站上提供的一些文档，包括tutorial等。当然了，上面 的文档都是英文的，有一定的难度。不过凭心而论呢，一是要想在程序开发方面做得好一些，能看英文文档也算是一个基本要求了；另外，Liferay的文档， 相对来说也不是很难，很适合于我们这些哑巴英语爱好者阅读。<br />
很多朋友喜欢找中文的文档。当然很多中文文档都是很好的，但有一个很致命的问题，就是版本更新不及时。你在网上找到一篇优秀的中文文档，但很有可能是老版本的，看了还不如不看，因为跟你找的版本说的根本就不是一回事。<br />
比如，4.1和4.2和4.3在源代码结构上都有比较大的变化。版本不对，看得一定是牛头不对马嘴。<br />
Liferay的文档，基本上都在 <a title="http://www.liferay.com/web/guest/documentation" href="http://www.liferay.com/web/guest/documentation">http://www.liferay.com/web/guest/documentation</a> 这里。</p>
<p>三、应用Liferay的大概学习路线<br />
这类情况应该是占大多数的。<br />
1、技术要求<br />
会配置JDK、Tomcat等，知道怎么设置JAVA_HOME等<br />
2、学习路线<br />
就看Installation/Configuration和End users这两部分文档就行。<br />
安装的时候要注意，很多朋友都是直接下载WAR包来部署，然后碰到这样那样的问题。<br />
我的建议是<br />
第一步，安装Liferay跟Tomcat集成的版本。简单，基本上解压就能用，最多再设置一下JAVA_HOME和CATALINA_HOME。<br />
第二步，将自带的HSQL替换为MySQL<br />
第三步，试图单独安装WAR包<br />
第四步，再尝试部署到其他Application Server和Database。<br />
按照这样一个步骤，出了问题容易判断，也容易解决。<br />
然后就是看看使用手册了，熟悉Liferay的一些功能。比较好的做法，是看那些lifecast，尽管可能听不懂，但看也能八九不离十。<br />
然后就是自己动手，把页面往死了折腾。</p>
<p>四、二次开发Liferay的大概学习路线<br />
二次开发，有两个很重要的点：一是搭建开发环境，二是开发一个Portlet。<br />
1、技术要求<br />
熟练使用Eclipse、熟悉Struts、Hibernate、Spring。相对来说，Spring的熟悉不如Struts和Hibernate重要。<br />
2、搭建开发环境<br />
开发环境的搭建，尽量按照Liferay自己的ext环境来做。最好的文档是关于ext环境配置的一些PRESENTATIONS，目前好像比较完整的文档还是基于4.2的。建议可以先找4.2版本进行熟悉。<br />
<a title="http://www.liferay.com/web/guest/documentation/4_2/development#presentations" href="http://www.liferay.com/web/guest/documentation/4_2/development#presentations">http://www.liferay.com/web/guest/documentation/4_2/development#presentations</a><br />
这里的ppt，分为几类：Install1-Install4，Eclipse1-Eclipse2。从头看，边看边动手做。<br />
有的朋友不用Eclipse，有的朋友喜欢用MyEclipse，我的建议是：还是老老实实用Eclipse吧，先学会爬，再说走的事情。<br />
3、开发Portlet<br />
最好的文档，还是前面介绍的4.2的一些ppt。最值得看的是JSP Portlet1-2和Struts Portlet1-4。特别是Struts，从页面到底层数据库，迭代式前进，做完之后你基本上就了解了Liferay的技术架构了。</p>
<p>五、Liferay进阶<br />
当你二次开发Liferay的过程中，会碰到各种各样的问题，兵来将挡，水来土掩。经过一段时间的磨练，慢慢就会找到感觉了。<br />
至于进一步的进阶，我也还没走到呢。不过想来应该也简单，在你有扎实的软件开发基础和Java基础之上，在需求的带动下，阅读Liferay的代码，自然就变成高手了。</p>
<p>草作，希望能有点帮助。<br />
如有误导，纯属意外，概不负责。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/%e8%bd%acliferay%e6%96%b0%e6%89%8b%e5%85%a5%e9%97%a8.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5个让网页设计师更有价值的方法</title>
		<link>http://www.2astudio.com/post/5%e4%b8%aa%e8%ae%a9%e7%bd%91%e9%a1%b5%e8%ae%be%e8%ae%a1%e5%b8%88%e6%9b%b4%e6%9c%89%e4%bb%b7%e5%80%bc%e7%9a%84%e6%96%b9%e6%b3%95.html</link>
		<comments>http://www.2astudio.com/post/5%e4%b8%aa%e8%ae%a9%e7%bd%91%e9%a1%b5%e8%ae%be%e8%ae%a1%e5%b8%88%e6%9b%b4%e6%9c%89%e4%bb%b7%e5%80%bc%e7%9a%84%e6%96%b9%e6%b3%95.html#comments</comments>
		<pubDate>Tue, 12 Oct 2010 02:10:51 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[生活碎片]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=888</guid>
		<description><![CDATA[<p>曾经作为独立的设计师工作过，深刻体验过国内设计行业市场的种种恶劣环境，<strong>低价竞争</strong>，<strong>套模板欺骗客户</strong>，<strong>抄袭现象</strong>，<strong>欺负客户不明真相</strong>等现象，真是深恶痛绝，在这样的恶劣环境下，设计师们怎么会有好作品的出现？恰巧看到篇《<a href="http://sixrevisions.com/project-management/5-ways-to-add-value-to-your-work-as-a-web-designer/" target="_blank" title="译文《5个让网页设计师更有价值的方法》">5 Ways to Add Value to Your Work as a Web Designer</a>》，正是讲的是此情况，所以特地将里面的5个方法直接提取过来，希望同行们能够互勉。若能体会原汁原味请点击下面查看原文。</p>...
]]></description>
			<content:encoded><![CDATA[<p>曾经作为独立的设计师工作过，深刻体验过国内设计行业市场的种种恶劣环境，<strong>低价竞争</strong>，<strong>套模板欺骗客户</strong>，<strong>抄袭现象</strong>，<strong>欺负客户不明真相</strong>等现象，真是深恶痛绝，在这样的恶劣环境下，设计师们怎么会有好作品的出现？恰巧看到篇《5 Ways to Add Value to Your Work as a Web Designer》，正是讲的是此情况，所以特地将里面的5个方法直接提取过来，希望同行们能够互勉。若能体会原汁原味请点击下面查看原文。</p>
<h3>1. 停止恶劣的价格竞争 Stop Racing to the Bottom</h3>
<p>现在开始你可以停止考虑你眼前的那“几毛钱”了，试试着眼于那些更愿意为好东西买单的人。他们可以给你更好的利润，同时你也可以有足够的空间选择你喜欢的客户。不过这一切有个最重要的前提，那就是你是否是个“腕”。</p>
<p>前些日子正好我和几个行业内比较优秀的设计师交流中发现，无论市场景不景气，他们都可以获得一份行业内比较不错的收入，而且持续的增长。<span id="more-888"></span></p>
<p>这听起来还是挺刺激人的吧，但这恰恰说明了一点，就是<strong>如果你始终是在剩菜剩饭中捞，那么最终的结果就是你除了剩菜就是剩饭</strong>。不如放弃这些“菜饭”？不要再花精力在打价格战上了，把你的客户筛选一下，把你的全部精力都集中在作品上，给出更棒的作品岂不是更好的吗？</p>
<h3>2. 差异化服务 Cater to a Specific Demographic</h3>
<p>大家都知道，如果你的价高，对应的你也必须提供等价的设计/服务（坑人的设计公司无视），让人信服的最好的方法之一,就是你是某个设计领域的专家。</p>
<p>如果你擅长做mini-sites迷你站(例如:专题页或vCard站)，那就尝试变成一个专业的mini-sites迷你站设计师，如果你擅长于Blog设计，不如把你自己营销成一个Blog设计专家。如果你更精于企业站，那么就赶快积极向企业客户推销你自己吧。</p>
<p>你是不是在想，若能提供很多服务，大家的岂不是可以都在我这设计？没错，但这只是你的想法，真正的客户并不是你所想的，他们更希望找到更专业的设 计，并非全能，就像如果我需要设计一个logo，我更像找到专业的logo设计师，如果我需要设计一个blog，我会找专业的blog设计师。</p>
<p>所以，如果你擅长于某个领域，不如把你<strong>精于那个领域</strong>，这远比通才要好，这样在你的目标市场，你会受到的关注也会变的更多。</p>
<h3>3. 关心市场需要什么 Know What Your Market Wants</h3>
<p>如果你现在正准备动手去找你的客户，那你必须得提前知道如何提供好服务，这非常重要。比如对硅谷创业的人来说，必须了解集中精力于高转化率和优化上，比如对作家来说，必须让书变的更好看。</p>
<p>还有个很让我很惊讶的事情，那就是我看到有些设计师，他们追求的是更多的“邮件订阅数”，“买家数”，“RSS订阅数”，而不是竭尽所能的进行设计。我想说的是，数据并不一定能给你带来客户。</p>
<p>还有一点，你得客户并不一定认识所有设计师，他们会向你咨询一些事情，你不应该拒绝他们，不要怕分享你的知识，有许多案例告诉我们，这样往往会让你的客户更加信任你，即使不是这样，你也得记住“<strong>你是专家 – 保持你的风度</strong>”。</p>
<h3>4. 注意细节 Don’t Forget the Little Things</h3>
<p>在我的正职之外，我还拥有几家卖各种电子书和学习教程的网店，当我在策划这些店铺的时候，我很关心产品,logo，是否和整体的网站相配。但我在想有多少设计师在接到设计电子书的时候，还会考虑到与网站相配的细节。长此以来，<strong>大多数设计师都只会设计客户安排的东西，而往往忽视了客户并非专业</strong>。</p>
<p><a href="http://2astudio.com.fb6f.8-host.com/wp-content/uploads/2011/02/18073402141891198.jpg"><img class="alignnone size-medium wp-image-903" title="18073402141891198" src="http://2astudio.com.fb6f.8-host.com/wp-content/uploads/2011/02/18073402141891198-300x136.jpg" alt="" width="300" height="136" /></a></p>
<p>这里就有通常会忽视的小细节（机会往往来自于细节）：</p>
<ul>
<li>网页banner</li>
<li>sns中的营销(Twitter的背景板和自我介绍页)</li>
<li>对外使用的头像</li>
<li>产品的Icon设计</li>
<li>电子书，信纸等模板设计</li>
</ul>
<p>你得客户一定无法专业到知道这些地方也会需要设计，所以你应该积极主动帮助他们考虑并且完成这些事情。<br />
我并不是请求你这样做，但说实话，<strong>若你把你的位置摆放在客户的角度，你就会知道他们需要什么？这远远比你能提供什么重要的多</strong>。</p>
<h3>5. 跟进 Follow Up</h3>
<p>不知道有多少设计师错过了整个流程中最重要的环节。当你完成了所有的工作，设计好了很棒的作品，赚到了钱，但你忘记了去跟进。</p>
<p>为什么？</p>
<p>因为客户就是你的资产，他们不仅会给你反馈，而且还会成为你最棒的回头客。</p>
<p>在你的email list里是否有你客户的联系方式？如果没有，他们如何知道你的新生意和新业务呢？</p>
<p>你的老客户或许会来咨询，提一些关于他们网站的问题，这个一定要重视，给他们积极的提供帮助。不管相信与否，好的设计师除了好作品，也是需要慢慢用心经营出来的，人们也愿意和同样好的人打交道。</p>
<p>咨询，售后服务就是这样一条不错的建立口碑营销的途径，你的客户满意了，还会带来口碑，甚至在他们的Blog上说不定会有你一笔了。</p>
<p>记住，口碑除了让你能够等着生意上门，还能够让你赢得好顾客。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/5%e4%b8%aa%e8%ae%a9%e7%bd%91%e9%a1%b5%e8%ae%be%e8%ae%a1%e5%b8%88%e6%9b%b4%e6%9c%89%e4%bb%b7%e5%80%bc%e7%9a%84%e6%96%b9%e6%b3%95.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery插件</title>
		<link>http://www.2astudio.com/post/jquery-plugin.html</link>
		<comments>http://www.2astudio.com/post/jquery-plugin.html#comments</comments>
		<pubDate>Wed, 29 Sep 2010 10:28:07 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[程序人生]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=887</guid>
		<description><![CDATA[<h2>概述</h2><p>jQuery 是继 prototype 之后又一个优秀的 Javascript 框架。其宗旨是&#8212;写更少的代码,做更多的事情。它是轻量级的 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 即可。今天在<a href="http://www.kollermedia.at/" title="Logo Kollermedia.at">Kollermedia.at</a>上发现了一篇JQuery插件列表的<a target="_blank" href="http://www.kollermedia.at/archive/2007/11/21/the-ultimate-jquery-plugin-list/">文章</a>，特推荐如下。</p>...
]]></description>
			<content:encoded><![CDATA[<h2>概述</h2>
<p>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 即可。今天在<a title="Logo Kollermedia.at" href="http://www.kollermedia.at/">Kollermedia.at</a>上发现了一篇JQuery插件列表的<a href="http://www.kollermedia.at/archive/2007/11/21/the-ultimate-jquery-plugin-list/" target="_blank">文章</a>，特推荐如下。<span id="more-887"></span></p>
<h2>文件上传(File upload)</h2>
<p><a href="http://www.phpletter.com/Demo/AjaxFileUpload-Demo/">Ajax File Upload</a>.<br />
<a href="http://www.pixeline.be/experiments/jqUploader/">jQUploader</a>.<br />
<a href="http://www.fyneworks.com/jquery/multiple-file-wp-content/uploads/">Multiple File Upload plugin</a>.<br />
<a href="http://www.appelsiini.net/projects/filestyle">jQuery File Style</a>.<br />
<a href="http://jquery.com/plugins/project/InputFileCSS">Styling an input type file</a>.<br />
<a href="http://digitalbush.com/projects/progress-bar-plugin">Progress Bar Plugin</a>.</p>
<h2>表单验证(Form Validation)</h2>
<p><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation</a>.<br />
<a href="http://www.dyve.net/jquery/?autohelp">Auto Help</a>.<br />
<a href="http://www.willjessup.com/sandbox/jquery/form_validator/form_validate.html">Simple jQuery form validation</a>.<br />
<a href="http://letmehaveblog.blogspot.com/2007/08/easy-client-side-web-forms-validations.html">jQuery XAV &#8211; form validations</a>.<br />
<a href="http://itgroup.com.ph/alphanumeric/">jQuery AlphaNumeric</a>.<br />
<a href="http://digitalbush.com/projects/masked-input-plugin">Masked Input</a>.<br />
<a href="http://www.dennydotnet.com/post/TypeWatch-jQuery-Plugin.aspx">TypeWatch Plugin</a>.<br />
<a href="http://jquery.com/plugins/project/TextLimiter">Text limiter for form fields</a>.<br />
<a href="http://www.shawngo.com/gafyd/index.html">Ajax Username Check with jQuery</a>.</p>
<h2>表单－选取框(Form &#8211; Select Box stuff)</h2>
<p><a href="http://jquery.sanchezsalvador.com/page/jquerycombobox.aspx">jQuery Combobox</a>.<br />
<a href="http://www.ajaxray.com/blog/2007/11/08/jquery-controlled-dependent-or-cascading-select-list-2/">jQuery controlled dependent (or Cascadign) Select List</a>.<br />
<a href="http://code.google.com/p/jqmultiselects/">Multiple Selects</a>.<br />
<a href="http://www.texotela.co.uk/code/jquery/select/">Select box manipulation</a>.<br />
<a href="http://code.google.com/p/jqueryselectcombo/">Select Combo Plugin</a>.<br />
<a href="http://www.msxhost.com/jquery/linked-selects/json/%20target=">jQuery &#8211; LinkedSelect</a><br />
<a href="http://remysharp.com/2007/09/18/auto-populate-multiple-select-boxes/">Auto-populate multiple select boxes</a>.<br />
<a href="http://www.sitespotting.it/esempi/002/">Choose Plugin (Select Replacement)</a>.</p>
<h2>表单基本、输入框、选择框等(Form Basics, Input Fields, Checkboxes etc.)</h2>
<p><a href="http://www.malsup.com/jquery/form/">jQuery Form Plugin</a>.<br />
<a href="http://code.handlino.com/wiki/jquery-form">jQuery-Form</a>.<br />
<a href="http://envero.org/jlook/">jLook Nice Forms</a>.<br />
<a href="http://www.whitespace-creative.com/jquery/jNice/">jNice</a>.<br />
<a href="http://www.brainfault.com/2007/07/07/pin-plugin-reloaded/">Ping Plugin</a>.<br />
<a href="http://grzegorz.frydrychowicz.net/jquery_toggleformtext/">Toggle Form Text</a>.<br />
<a href="http://thoughts.kuzemchak.net/entry/toggleval-for-jquery/">ToggleVal</a>.<br />
<a href="http://www.pengoworks.com/workshop/jquery/field.plugin.htm">jQuery Field Plugin</a>.<br />
<a href="http://code.befruit.com/">jQuery Form’n Field plugin</a>.<br />
<a href="http://www.texotela.co.uk/code/jquery/checkboxes/">jQuery Checkbox manipulation</a>.<br />
<a href="http://www.alcoholwang.cn/jquery/jTaggingDemo.htm">jTagging</a>.<br />
<a href="http://code.google.com/p/labelcheck/">jQuery labelcheck</a>.<br />
<a href="http://scott.sauyet.com/thoughts/archives/2007/03/31/overlabel-with-jquery/">Overlabel</a>.<br />
<a href="http://blog.amicoimmaginario.it/2007/08/28/jquery-plugin-3-state-radio-buttons/">3 state radio buttons</a>.<br />
<a href="http://sanisoft-demo.com/jquery/plugins/shiftcheckbox/">ShiftCheckbox jQuery Plugin</a>.<br />
<a href="http://digitalbush.com/projects/watermark-input-plugin">Watermark Input</a>.<br />
<a href="http://kawika.org/jquery/checkbox/">jQuery Checkbox (checkboxes with imags)</a>.<br />
<a href="http://www.softwareunity.com/sandbox/jqueryspinbtn/">jQuery SpinButton Control</a>.<br />
<a href="http://www.phpletter.com/form_builder/demo.html">jQuery Ajax Form Builder</a>.<br />
<a href="http://www.texotela.co.uk/code/jquery/focusfields/">jQuery Focus Fields</a>.<br />
<a href="http://home.iprimus.com.au/kbwood/jquery/timeEntry.html">jQuery Time Entry</a>.</p>
<h2>时间、日期和颜色选取(Time, Date and Color Picker)</h2>
<p><a href="http://marcgrabanski.com/code/ui-datepicker/">jQuery UI Datepicker</a>.<br />
<a href="http://kelvinluck.com/assets/jquery/datePicker/">jQuery date picker plugin</a>.<br />
<a href="http://code.google.com/p/jquery-timepicker/">jQuery Time Picker</a>.<br />
<a href="http://www.texotela.co.uk/code/jquery/timepicker/">Time Picker</a>.<br />
<a href="http://www.oakcitygraphics.com/jquery/clockpick/ClockPick.cfm">ClickPick</a>.<br />
<a href="http://labs.perifer.se/timedatepicker/">TimePicker</a>.<br />
<a href="http://acko.net/dev/farbtastic">Farbtastic jQuery Color Picker Plugin</a>.<br />
<a href="http://www.intelliance.fr/jquery/color_picker/">Color Picker by intelliance.fr</a>.</p>
<h2>投票插件(Rating Plugins)</h2>
<p><a href="http://www.phpletter.com/Demo/Jquery-Star-Rating-Plugin/#">jQuery Star Rating Plugin</a>.<br />
<a href="http://www.m3nt0r.de/devel/raterDemo/">jQuery Star Rater</a>.<br />
<a href="http://riderdesign.com/articles/displayarticle.aspx?articleid=21">Content rater with asp.net, ajax and jQuery</a>.<br />
<a href="http://www.learningjquery.com/2007/05/half-star-rating-plugin">Half-Star Rating Plugin</a>.</p>
<h2>搜索插件(Search Plugins)</h2>
<p><a href="http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/">jQuery Suggest</a>.<br />
<a href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/">jQuery Autocomplete</a>.<br />
<a href="http://www.pengoworks.com/workshop/jquery/autocomplete.htm">jQuery Autocomplete Mod</a>.<br />
<a href="http://www.ajaxdaddy.com/demo-jquery-autocomplete.html">jQuery Autocomplete by AjaxDaddy</a>.<br />
<a href="http://dev.reach1to1.net/saurabh/jplugins/autocomplete/">jQuery Autocomplete Plugin with HTML formatting</a>.<br />
<a href="http://interface.eyecon.ro/docs/autocomplete">jQuery Autocompleter</a>.<br />
<a href="http://nodstrum.com/2007/09/19/autocompleter/">AutoCompleter (Tutorial with PHP&amp;MySQL)</a>.<br />
<a href="http://rikrikrik.com/jquery/quicksearch/">quick Search jQuery Plugin</a>.</p>
<h2>编辑器(Inline Edit &amp; Editors)</h2>
<p><a href="http://www.jaysalvat.com/jquery/jtageditor/">jTagEditor</a>.<br />
<a href="http://demo.wymeditor.org/demo.html">WYMeditor</a>.<br />
<a href="http://garage.pimentech.net/scripts_doc_jquery_jframe/">jQuery jFrame</a>.<br />
<a href="http://www.appelsiini.net/projects/jeditable">Jeditable &#8211; edit in place plugin for jQuery</a>.<br />
<a href="http://www.dyve.net/jquery/?editable">jQuery editable</a>.<br />
<a href="http://www.jdempster.com/category/jquery/disableTextSelect/">jQuery Disable Text Select Plugin</a>.<br />
<a href="http://15daysofjquery.com/edit-in-place-with-ajax-using-jquery-javascript-li&lt;br &gt;&lt;/a&gt; brary/15/">Edit in Place with Ajax using jQuery</a>.<br />
<a href="http://davehauenstein.com/blog/archives/28">jQuery Plugin &#8211; Another In-Place Editor</a>.<br />
<a href="http://dev.iceburg.net/jquery/tableEditor/demo.php">TableEditor</a>.<br />
<a href="http://joshhundley.com/teditable-in-place-editing-for-tables/">tEditable &#8211; in place table editing for jQuery</a>.</p>
<h2>多媒体、视频、Flash等(Audio, Video, Flash, SVG, etc)</h2>
<p><a href="http://www.contentwithstructure.com/extras/jmedia">jMedia &#8211; accessible multi-media embedding</a>.<br />
<a href="http://sourceforge.net/projects/jbedit/">JBEdit &#8211; Ajax online Video Editor</a>.<br />
<a href="http://www.sean-o.com/jquery/jmp3/">jQuery MP3 Plugin</a>.<br />
<a href="http://malsup.com/jquery/media/">jQuery Media Plugin</a>.<br />
<a href="http://jquery.lukelutman.com/plugins/flash/index.html">jQuery Flash Plugin</a>.<br />
<a href="http://www.solitude.dk/archives/embedquicktime/">Embed QuickTime</a>.<br />
<a href="http://keith-wood.name/svg.html">SVG Integration</a>.</p>
<h2>图片(Photos/Images/Galleries)</h2>
<p><a href="http://jquery.com/demo/thickbox/">ThickBox</a>.<br />
<a href="http://leandrovieira.com/projects/jquery/lightbox/">jQuery lightBox plugin</a>.<br />
<a href="http://blog.joshuaeichorn.com/archives/2007/01/11/jquery-image-strip/">jQuery Image Strip</a>.<br />
<a href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html">jQuery slideViewer</a>.<br />
<a href="http://benjaminsterling.com/2007/09/09/jquery-jqgalscroll-photo-gallery/">jQuery jqGalScroll 2.0</a>.<br />
<a href="http://benjaminsterling.com/2007/10/02/jquery-jqgalviewii-photo-gallery/">jQuery &#8211; jqGalViewII</a>.<br />
<a href="http://benjaminsterling.com/2007/10/21/jqgalviewiii-proof-of-concept/">jQuery &#8211; jqGalViewIII</a>.<br />
<a href="http://opiefoto.com/articles/photoslider">jQuery Photo Slider</a>.<br />
<a href="http://joanpiedra.com/jquery/thumbs/">jQuery Thumbs &#8211; easily create thumbnails</a>.<br />
<a href="http://www.texotela.co.uk/code/jquery/jQIR/">jQuery jQIR Image Replacement</a>.<br />
<a href="http://www.gmarwaha.com/jquery/jcarousellite/index.php#what">jCarousel Lite</a>.<br />
<a href="http://projects.sevir.org/storage/jpanview/index.html">jQPanView</a>.<br />
<a href="http://sorgalla.com/projects/jcarousel/#Examples">jCarousel</a>.<br />
<a href="http://www.intelliance.fr/jquery/imagebox/">Interface Imagebox</a>.<br />
<a href="http://www.getintothis.com/blog/2006/10/12/image-gallery-using-jquery-interface-reflections/">Image Gallery using jQuery, Interface &amp; Reflactions</a>.<br />
<a href="http://realazy.org/lab/jquery/j-gallery/">simple jQuery Gallery</a>.<br />
<a href="http://chicagosocial.com/gallery/">jQuery Gallery Module</a>.<br />
<a href="http://www.eogallery.com/">EO Gallery</a>.<br />
<a href="http://flesler.blogspot.com/search/label/jQuery.ScrollShow">jQuery ScrollShow</a>.<br />
<a href="http://www.malsup.com/jquery/cycle/">jQuery Cycle Plugin</a>.<br />
<a href="http://www.projectatomic.com/en/flickr.htm">jQuery Flickr</a>.<br />
<a href="http://www.appelsiini.net/2007/9/lazy-load-images-jquery-plugin">jQuery Lazy Load Images Plugin</a>.<br />
<a href="http://www.sunsean.com/zoomi/">Zoomi &#8211; Zoomable Thumbnails</a>.<br />
<a href="http://remysharp.com/2007/03/19/a-few-more-jquery-plugins-crop-labelover-and-pluck/#crop">jQuery Crop &#8211; crop any image on the fly</a>.<br />
<a href="http://jquery.com/plugins/project/reflection">Image Reflection</a>.</p>
<h2>Google地图（Google Map）</h2>
<p><a href="http://www.dyve.net/jquery/?googlemaps">jQuery Plugin googlemaps</a>.<br />
<a href="http://code.google.com/p/jmaps/">jMaps jQuery Maps Framework</a>.<br />
<a href="http://projects.sevir.org/storage/jqmaps/index.html">jQmaps</a>.<br />
<a href="http://olbertz.de/jquery/googlemap.html#">jQuery &amp; Google Maps</a>.<br />
<a href="http://snippets.dzone.com/posts/show/4361">jQuery Maps Interface forr Google and Yahoo maps</a>.<br />
<a href="http://webrocket.ulmb.com/jmaps/">jQuery J Maps &#8211; by Tane Piper</a>.</p>
<h2>游戏(Games)</h2>
<p><a href="http://fmarcia.info/jquery/tetris/tetris.html">Tetris with jQuery</a>.<br />
<a href="http://64squar.es/">jQuery Chess</a>.<br />
<a href="http://www.bennadel.com/blog/623-jQuery-Demo-Mad-Libs-Word-Game.htm">Mad Libs Word Game</a>.<br />
<a href="http://www.alexatnet.com/node/68">jQuery Puzzle</a>.<br />
<a href="http://www.willjessup.com/sandbox/jquery/solar_system/rotator.html">jQuery Solar System (not a game but awesome jQuery Stuff)</a>.</p>
<h2>表格等(Tables, Grids etc.)</h2>
<p><a href="http://docs.jquery.com/Plugins/Tablesorter">UI/Tablesorter</a>.<br />
<a href="http://www.reconstrukt.com/ingrid/">jQuery ingrid</a>.<br />
<a href="http://www.trirand.com/blog/?p=13">jQuery Grid Plugin</a>.<br />
<a href="http://ideamill.synaptrixgroup.com/jquery/tablefilter/tabletest.htm">Table Filter &#8211; awesome!</a>.<br />
<a href="http://dev.iceburg.net/jquery/tableEditor/demo.php">TableEditor</a>.<br />
<a href="http://www.hanpau.com/jquery/unobtrusivetreetable.php">jQuery Tree Tables</a>.<br />
<a href="http://www.javascripttoolbox.com/jquery/#expandablerows">Expandable “Detail” Table Rows</a>.<br />
<a href="http://www.remotesynthesis.com/blog/index.cfm/2007/9/25/Sortable-Table-ColdFusion-Custom-Tag-with-jQueryUI">Sortable Table ColdFusion Costum Tag with jQuery UI</a>.<br />
<a href="http://flesler.blogspot.com/2007/10/jquerybubble.html">jQuery Bubble</a>.<br />
<a href="http://tablesorter.com/docs/">TableSorter</a>.<br />
<a href="http://www.webtoolkit.info/demo/jquery/scrollable/demo.html">Scrollable HTML Table</a>.<br />
<a href="http://p.sohei.org/stuff/jquery/columnmanager/demo/demo.html">jQuery column Manager Plugin</a>.<br />
<a href="http://p.sohei.org/stuff/jquery/tablehover/demo/demo.html">jQuery tableHover Plugin</a>.<br />
<a href="http://p.sohei.org/stuff/jquery/columnhover/demo/demo.html">jQuery columnHover Plugin</a>.<br />
<a href="http://makoomba.altervista.org/grid/">jQuery Grid</a>.<br />
<a href="http://motherrussia.polyester.se/jquery-plugins/tablesorter/">TableSorter plugin for jQuery</a>.<br />
<a href="http://joshhundley.com/teditable-in-place-editing-for-tables/">tEditable &#8211; in place table editing for jQuery</a>.<br />
<a href="http://www.hovinne.com/dev/jquery/chartotable/">jQuery charToTable Plugin</a>.<br />
<a href="http://www.ita.es/jquery/jquery.grid.columnSizing.htm">jQuery Grid Column Sizing</a>.<br />
<a href="http://www.ita.es/jquery/jquery.grid.rowSizing.htm">jQuery Grid Row Sizing</a>.</p>
<h2>统计图(Charts, Presentation etc.)</h2>
<p><a href="http://worcesterwideweb.com/2007/06/04/jquery-wizard-plugin/">jQuery Wizard Plugin </a>.<br />
<a href="http://www.reach1to1.com/sandbox/jquery/jqchart/">jQuery Chart Plugin</a>.<br />
<a href="http://ejohn.org/apps/speed/">Bar Chart</a>.</p>
<h2>边框、圆角、背景(Border, Corners, Background)</h2>
<p><a href="http://www.malsup.com/jquery/corner/">jQuery Corner</a>.<br />
<a href="http://blue-anvil.com/archives/anti-aliased-rounded-corners-with-jquery">jQuery Curvy Corner</a>.<br />
<a href="http://dev.jquery.com/%7Epaul/plugins/nifty/example.html">Nifty jQuery Corner</a>.<br />
<a href="http://illandril.net/jQuery/transparentCorners/">Transparent Corners</a>.<br />
<a href="http://www.methvin.com/jquery/jq-corner.html">jQuery Corner Gallery</a>.<br />
<a href="http://blog.brandonaaron.net/my-jquery-plugins/gradient/">Gradient Plugin</a>.</p>
<h2>文字和超链接(Text and Links)</h2>
<p><a href="http://wanderinghorse.net/computing/javascript/jquery/spoilers/demo.html">jQuery Spoiler plugin</a>.<br />
<a href="http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html">Text Highlighting</a>.<br />
<a href="http://www.jdempster.com/category/jquery/disableTextSelect/">Disable Text Select Plugin</a>.<br />
<a href="http://www.texotela.co.uk/code/jquery/newsticker/">jQuery Newsticker</a>.<br />
<a href="http://www.ollicle.com/2007/jun/03/jquery_lineheight_flexible.html">Auto line-height Plugin</a>.<br />
<a href="http://agencenp.net/textgrad/textgrad.html">Textgrad &#8211; a text gradient plugin</a>.<br />
<a href="http://kawika.org/jquery/l&lt;br &gt;&lt;/a&gt; inklook/">LinkLook &#8211; a link thumbnail preview</a>.<br />
<a href="http://rikrikrik.com/jquery/pager/#examples">pager jQuery Plugin</a>.<br />
<a href="http://rikrikrik.com/jquery/shortkeys/">shortKeys jQuery Plugin</a>.<br />
<a href="http://www.ollicle.com/eg/jquery/biggerlink">jQuery Biggerlink</a>.<br />
<a href="http://troy.dyle.net/linkchecker/">jQuery Ajax Link Checker</a>.</p>
<h2>鼠标提示（Tooltips）</h2>
<p><a href="http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/">jQuery Plugin &#8211; Tooltip</a>.<br />
<a href="http://www.codylindley.com/blogstuff/js/jtip/">jTip &#8211; The jQuery Tool Tip</a>.<br />
<a href="http://examples.learningjquery.com/62/demo/index.html#examplesection">clueTip</a>.<br />
<a href="http://edgarverle.com/BetterTip/default.cfm">BetterTip</a>.<br />
<a href="http://ioreader.com/2007/05/15/flash-tooltips-using-jquery/">Flash Tooltips using jQuery</a>.<br />
<a href="http://www.texotela.co.uk/code/jquery/tooltipdemo/">ToolTip</a>.</p>
<h2>菜单和导航(Menus, Navigations)</h2>
<p><a href="http://stilbuero.de/jquery/tabs_3/">jQuery Tabs Plugin &#8211; awesome! </a>. [<a href="http://stilbuero.de/jquery/tabs_3/nested.html">demo nested tabs</a>.]<br />
<a href="http://blog.cutterscrossing.com/index.cfm/2007/6/15/Updated-JQuery-Nested-Tab-Set-with-Demo">another jQuery nested Tab Set example (based on jQuery Tabs Plugin)</a>.<br />
<a href="http://www.sunsean.com/idTabs/">jQuery idTabs</a>.<br />
<a href="http://jdsharp.us/jQuery/plugins/jdMenu/">jdMenu &#8211; Hierarchical Menu Plugin for jQuery</a>.<br />
<a href="http://be.twixt.us/jquery/suckerFish.php">jQuery SuckerFish Style</a>.<br />
<a href="http://bassistance.de/jquery-plugins/jquery-plugin-treeview/">jQuery Plugin Treeview</a>.<br />
<a href="http://be.twixt.us/jquery/treeView.php">treeView Basic</a>.<br />
<a href="http://labs.activespotlight.net/jQuery/menu_demo.html">FastFind Menu</a>.<br />
<a href="http://www.getintothis.com/blog/2006/09/26/my-first-jquery-plugin-a-sliding-menu/">Sliding Menu</a>.<br />
<a href="http://gmarwaha.com/blog/?p=7">Lava Lamp jQuery Menu</a>.<br />
<a href="http://icon.cat/wiki/IconDock_En#iconDock_jQuery_Plugin">jQuery iconDock</a>.<br />
<a href="http://cherne.net/brian/resources/jquery.variations.html">jVariations Control Panel</a>.<br />
<a href="http://www.trendskitchens.co.nz/jquery/contextmenu/">ContextMenu plugin</a>.<br />
<a href="http://p.sohei.org/jquery-plugins/clickmenu/">clickMenu</a>.<br />
<a href="http://www.ndesign-studio.com/blog/mac/css-dock-menu">CSS Dock Menu</a>.<br />
<a href="http://webexpose.org/2006/12/28/jquery-pop-up-menu-tutorial/">jQuery Pop-up Menu Tutorial</a>.<br />
<a href="http://www.getintothis.com/blog/2006/09/26/my-first-jquery-plugin-a-sliding-menu/">Sliding Menu</a>.</p>
<p><a title="http://stilbuero.de/jquery/tabs_3/" href="http://stilbuero.de/jquery/tabs_3/">http://stilbuero.de/jquery/tabs_3/</a></p>
<h2>幻灯、翻转等(Accordions, Slide and Toggle stuff)</h2>
<p><a href="http://bassistance.de/jquery-plugins/jquery-plugin-accordion/">jQuery Plugin Accordion</a>.<br />
<a href="http://fmarcia.info/jquery/accordion.html">jQuery Accordion Plugin Horizontal Way</a>.<br />
<a href="http://letmehaveblog.blogspot.com/2007/10/haccordion-simple-horizontal-accordion.html">haccordion &#8211; a simple horizontal accordion plugin for jQuery</a>.<br />
<a href="http://dev.portalzine.de/index?/Horizontal_Accordion--print">Horizontal Accordion by portalzine.de</a>.<br />
<a href="http://berndmatzner.de/jquery/hoveraccordion/">HoverAccordion</a>.<br />
<a href="http://fmarcia.info/jquery/accordion.html">Accordion Example from fmarcia.info</a>.<br />
<a href="http://blog.evaria.com/wp-content/themes/blogvaria/jquery/index.php">jQuery Accordion Example</a>.<br />
<a href="http://jquery.com/files/demo/dl-done.html">jQuery Demo &#8211; Expandable Sidebar Menu</a>.<br />
<a href="http://www.andreacfm.com/examples/jQpanels/">Sliding Panels for jQuery</a>.<br />
<a href="http://jquery.andreaseberhard.de/toggleElements/">jQuery ToggleElements</a>.<br />
<a href="http://www.ndoherty.com/demos/coda-slider/">Coda Slider</a>.<br />
<a href="http://sorgalla.com/projects/jcarousel/#Examples">jCarousel</a>.<br />
<a href="http://www.reindel.com/accessible_news_slider/">Accesible News Slider Plugin</a>.<br />
<a href="http://icant.co.uk/sandbox/jquerycodeview/">Showing and Hiding code Examples</a>.<br />
<a href="http://gsgd.co.uk/sandbox/jquery/easing/">jQuery Easing Plugin</a>.<br />
<a href="http://sonspring.com/journal/jquery-portlets">jQuery Portlets</a>.<br />
<a href="http://jdsharp.us/jQuery/plugins/AutoScroll/">AutoScroll</a>.<br />
<a href="http://medienfreunde.com/lab/innerfade/">Innerfade</a>.</p>
<h2>拖放插件(Drag and Drop)</h2>
<p><a href="http://docs.jquery.com/UI/Draggables">UI/Draggables</a>.<br />
<a href="http://fromvega.com/wordpress/2007/07/14/easydrag-jquery-plugin/">EasyDrag jQuery Plugin</a>.<br />
<a href="http://sonspring.com/journal/jquery-portlets">jQuery Portlets</a>.<br />
<a href="http://dev.iceburg.net/jquery/jqDnR/">jqDnR &#8211; drag, drop resize</a>.<br />
<a href="http://interface.eyecon.ro/demos/drag.html">Drag Demos</a>.</p>
<h2>XML XSL JSON Feeds</h2>
<p><a href="http://www.jongma.org/webtools/jquery/xslt/">XSLT Plugin</a>.<br />
<a href="http://cgaskell.wordpress.com/2006/11/02/jquery-ajax-call-and-result-xml-parsing/">jQuery Ajax call and result XML parsing</a>.<br />
<a href="http://jquery.com/plugins/project/xmlObjectifier">xmlObjectifier &#8211; Converts XML DOM to JSON</a>.<br />
<a href="http://jquery.glyphix.com/">jQuery XSL Transform</a>.<br />
<a href="http://malsup.com/jquery/taconite/">jQuery Taconite &#8211; multiple Dom updates</a>.<br />
<a href="http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin">RSS/ATOM Feed Parser Plugin</a>.<br />
<a href="http://www.malsup.com/jquery/gfeed/">jQuery Google Feed Plugin</a>.</p>
<h2>浏览器(Browserstuff)</h2>
<p><a href="http://noteslog.com/post/how-to-fix-the-resize-event-in-ie/">Wresize &#8211; IE Resize event Fix Plugin</a>.<br />
<a href="http://jquery.khurshid.com/ifixpng.php">jQuery ifixpng</a>.<br />
<a href="http://jquery.andreaseberhard.de/pngFix/">jQuery pngFix</a>.<br />
<a href="http://www.crismancich.de/jquery/plugins/linkscrubber/">Link Scrubber &#8211; removes the dotted line onfocus from links</a>.<br />
<a href="http://www.matthewjrichards.co.uk/articles/2007/06/25/jquery-perciformes-the-entire-suckerfish-familly-under-one-roof">jQuery Perciformes &#8211; the entire suckerfish familly under one roof</a>.<br />
<a href="http://blog.brandonaaron.net/my-jquery-plugins/background-iframe/">Background Iframe</a>.<br />
<a href="http://jquery.com/plugins/project/QinIE">QinIE &#8211; for proper display of Q tags in IE</a>.<br />
<a href="http://webrocket.ulmb.com/ability/">jQuery Accessibility Plugin</a>.<br />
<a href="http://www.ogonek.net/mousewheel/jquery-demo.html">jQuery MouseWheel Plugin</a>.</p>
<h2>对话框、确认窗口(Alert, Prompt, Confirm Windows)</h2>
<p><a href="http://trentrichardson.com/Impromptu/">jQuery Impromptu</a>.<br />
<a href="http://nadiaspot.com/jquery/confirm">jQuery Confirm Plugin</a>.<br />
<a href="http://dev.iceburg.net/jquery/jqModal/">jqModal</a>.<br />
<a href="http://www.ericmmartin.com/projects/simplemodal/">SimpleModal</a>.</p>
<h2>CSS</h2>
<p><a href="http://www.kelvinluck.com/article/switch-stylesheets-with-jquery">jQuery Style Switcher</a>.<br />
<a href="http://andykent.bingodisk.com/bingo/public/jss/">JSS &#8211; Javascript StyleSheets</a>.<br />
<a href="http://flesler.blogspot.com/2007/11/jqueryrule.html">jQuery Rule &#8211; creation/manipulation of CSS Rules</a>.<br />
<a href="http://www.designerkamal.com/jPrintArea/">jPrintArea</a>.</p>
<h2>DOM、AJAX和其它JQuery插件（DOM, Ajax and other jQuery plugins）</h2>
<p><a href="http://flydom.socianet.com/">FlyDOM</a>.<br />
<a href="http://brandonaaron.net/docs/dimensions/#getting-started">jQuery Dimenion Plugin</a>.<br />
<a href="http://happygiraffe.net/blog/articles/2007/09/26/jquery-logging">jQuery Loggin</a>.<br />
<a href="http://jquery.com/plugins/project/metadata">Metadata &#8211; extract metadata from classes, attributes, elements</a>.<br />
<a href="http://johannburkard.de/blog/programming/javascript/inc-a-supe&lt;br &gt;&lt;/a&gt; r-tiny-client-side-include-javascript-jquery-plugin.html">Super-tiny Client-Side Include Javascript jQuery Plugin</a>.<br />
<a href="http://humanized.com/weblog/2007/09/14/undo-made-easy-with-ajax-part-1/">Undo Made Easy with Ajax</a>.<br />
<a href="http://www.jasons-toolbox.com/JHeartbeat/">JHeartbeat &#8211; periodically poll the server</a>.<br />
<a href="http://www.appelsiini.net/projects/lazyload">Lazy Load Plugin</a>.<br />
<a href="http://blog.brandonaaron.net/2007/08/19/new-plugin-live-query/">Live Query</a>.<br />
<a href="http://jquery.offput.ca/every/">jQuery Timers</a>.<br />
<a href="http://www.joanpiedra.com/jquery/shareit/">jQuery Share it &#8211; display social bookmarking icons</a>.<br />
<a href="http://www.jdempster.com/category/code/jquery/cookiejar/">jQuery serverCookieJar</a>.<br />
<a href="http://ideamill.synaptrixgroup.com/?p=3">jQuery autoSave</a>.<br />
<a href="http://www.semicomplete.com/blog/geekery/jquery-interface-puffer.html">jQuery Puffer</a>.<br />
<a href="http://33rockers.com/jquery/iframe-demo/">jQuery iFrame Plugin</a>.<br />
<a href="http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/">Cookie Plugin for jQuery</a>.<br />
<a href="http://leftlogic.com/lounge/articles/jquery_spy2">jQuery Spy &#8211; awesome plugin</a>.<br />
<a href="http://www.learningjquery.com/2007/01/effect-delay-trick">Effect Delay Trick</a>.<br />
<a href="http://jquick.sullof.com/jquick/">jQuick &#8211; a quick tag creator for jQuery</a>.<a href="http://noteslog.com/post/metaobjects-11-released-today/"><br />
Metaobjects</a>.<br />
<a href="http://www.thunderguy.com/semicolon/2007/08/14/elementready-jquery-plugin/">elementReady</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/jquery-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于鼠标和键盘的全局获取(hook keyboard or mouse)的一个类</title>
		<link>http://www.2astudio.com/post/%e5%85%b3%e4%ba%8e%e9%bc%a0%e6%a0%87%e5%92%8c%e9%94%ae%e7%9b%98%e7%9a%84%e5%85%a8%e5%b1%80%e8%8e%b7%e5%8f%96hook-keyboard-or-mouse%e7%9a%84%e4%b8%80%e4%b8%aa%e7%b1%bb.html</link>
		<comments>http://www.2astudio.com/post/%e5%85%b3%e4%ba%8e%e9%bc%a0%e6%a0%87%e5%92%8c%e9%94%ae%e7%9b%98%e7%9a%84%e5%85%a8%e5%b1%80%e8%8e%b7%e5%8f%96hook-keyboard-or-mouse%e7%9a%84%e4%b8%80%e4%b8%aa%e7%b1%bb.html#comments</comments>
		<pubDate>Sat, 25 Sep 2010 09:54:44 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[程序人生]]></category>
		<category><![CDATA[hook]]></category>
		<category><![CDATA[hook keyboard]]></category>
		<category><![CDATA[hook mouse]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=886</guid>
		<description><![CDATA[<p>直接贴code了，调用相应的Windows API hook鼠标和键盘事件。</p><p>//////////////////////////////////////////////////////////////////////////////////////////////////////////////<br />//关于鼠标和键盘的全局获取的一个类<br />得到鼠标的消息的类：<br />using System;<br />using System.Runtime.InteropServices;<br />...</p>
]]></description>
			<content:encoded><![CDATA[<p>直接贴code了，调用相应的Windows API hook鼠标和键盘事件。</p>
<p>//////////////////////////////////////////////////////////////////////////////////////////////////////////////<br />
<strong>得到鼠标的消息的类：</strong></p>
<p class="code"><code>using System;<br />
using System.Runtime.InteropServices;<br />
using System.Reflection;<br />
using System.Threading;<br />
using System.Windows.Forms;<br />
<span id="more-886"></span><br />
namespace HookGlobal<br />
{<br />
/// &lt;summary&gt;<br />
/// 这个类可以让你得到一个在运行中程序的所有鼠标事件<br />
/// 并且引发一个带MouseEventArgs参数的.NET鼠标事件以便你很容易使用这些信息<br />
/// &lt;/summary&gt;<br />
/// &lt;remarks&gt;<br />
/// &lt;/remarks&gt;<br />
public class MouseHook<br />
{<br />
private const int WM_MOUSEMOVE = 0x200;<br />
private const int WM_LBUTTONDOWN = 0x201;<br />
private const int WM_RBUTTONDOWN = 0x204;<br />
private const int WM_MBUTTONDOWN = 0x207;<br />
private const int WM_LBUTTONUP = 0x202;<br />
private const int WM_RBUTTONUP = 0x205;<br />
private const int WM_MBUTTONUP = 0x208;<br />
private const int WM_LBUTTONDBLCLK = 0x203;<br />
private const int WM_RBUTTONDBLCLK = 0x206;<br />
private const int WM_MBUTTONDBLCLK = 0x209;<br />
//全局的事件</p>
<p>public event MouseEventHandler OnMouseActivity;<br />
static int hMouseHook = 0; //鼠标钩子句柄<br />
//鼠标常量<br />
public const int WH_MOUSE_LL = 14; //mouse hook constant<br />
HookProc MouseHookProcedure; //声明鼠标钩子事件类型.<br />
//声明一个Point的封送类型<br />
[StructLayout(LayoutKind.Sequential)]<br />
public class POINT<br />
{<br />
public int x;<br />
public int y;<br />
}</p>
<p>//声明鼠标钩子的封送结构类型<br />
[StructLayout(LayoutKind.Sequential)]</p>
<p>public class MouseHookStruct<br />
{<br />
public POINT pt;<br />
public int hWnd;<br />
public int wHitTestCode;<br />
public int dwExtraInfo;<br />
}</p>
<p>//装置钩子的函数<br />
[DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)]<br />
public static extern int SetWindowsHookEx(int idHook, HookProc lpfn, IntPtr hInstance, int threadId);</p>
<p>//卸下钩子的函数<br />
[DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)]<br />
public static extern bool UnhookWindowsHookEx(int idHook);</p>
<p>//下一个钩挂的函数<br />
[DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)]<br />
public static extern int CallNextHookEx(int idHook, int nCode, Int32 wParam, IntPtr lParam);<br />
public delegate int HookProc(int nCode, Int32 wParam, IntPtr lParam);</p>
<p>/// &lt;summary&gt;<br />
/// 墨认的构造函数构造当前类的实例.<br />
/// &lt;/summary&gt;</p>
<p>public MouseHook()<br />
{<br />
//Start();<br />
}<br />
//析构函数.<br />
~MouseHook()<br />
{<br />
Stop();<br />
}<br />
public void Start()<br />
{<br />
//安装鼠标钩子<br />
if(hMouseHook == 0)<br />
{<br />
//生成一个HookProc的实例.<br />
MouseHookProcedure = new HookProc(MouseHookProc);</p>
<p>hMouseHook = SetWindowsHookEx( WH_MOUSE_LL, MouseHookProcedure, Marshal.GetHINSTANCE            (Assembly.GetExecutingAssembly().GetModules()[0]), 0);</p>
<p>//如果装置失败停止钩子<br />
if(hMouseHook == 0 )<br />
{<br />
Stop();<br />
throw new Exception("SetWindowsHookEx failed.");<br />
}</p>
<p>}</p>
<p>}<br />
public void Stop()<br />
{<br />
bool retMouse =true;<br />
if(hMouseHook != 0)<br />
{<br />
retMouse = UnhookWindowsHookEx(hMouseHook);<br />
hMouseHook = 0;<br />
}</p>
<p>//如果卸下钩子失败<br />
if (!(retMouse))<br />
throw new Exception("UnhookWindowsHookEx failed.");<br />
}</p>
<p>private int MouseHookProc(int nCode, Int32 wParam, IntPtr lParam)<br />
{</p>
<p>//如果正常运行并且用户要监听鼠标的消息<br />
if ((nCode &gt;= 0) &amp;&amp; (OnMouseActivity!=null))<br />
{<br />
MouseButtons button=MouseButtons.None;<br />
int clickCount=0;<br />
switch (wParam)<br />
{<br />
case WM_LBUTTONDOWN:<br />
button=MouseButtons.L<br />
eft;<br />
clickCount=1;<br />
break;<br />
case WM_LBUTTONUP:<br />
button=MouseButtons.Left;<br />
clickCount=1;<br />
break;<br />
case WM_LBUTTONDBLCLK:<br />
button=MouseButtons.Left;<br />
clickCount=2;<br />
break;<br />
case WM_RBUTTONDOWN:<br />
button=MouseButtons.Right;<br />
clickCount=1;<br />
break;<br />
case WM_RBUTTONUP:<br />
button=MouseButtons.Right;<br />
clickCount=1;<br />
break;<br />
case WM_RBUTTONDBLCLK:<br />
button=MouseButtons.Right;<br />
clickCount=2;<br />
break;<br />
}<br />
//从回调函数中得到鼠标的信息<br />
MouseHookStruct MyMouseHookStruct = (MouseHookStruct) Marshal.PtrToStructure(lParam,<br />
typeof(MouseHookStruct));<br />
MouseEventArgs e=new MouseEventArgs(button, clickCount, MyMouseHookStruct.pt.x,                   MyMouseHookStruct.pt.y, 0 );<br />
OnMouseActivity(this, e);<br />
}<br />
return CallNextHookEx(hMouseHook, nCode, wParam, lParam);<br />
}<br />
}<br />
}<br />
</code></p>
<p>得到键盘消息的类：</p>
<p class="code"><code>using System;<br />
using System.Runtime.InteropServices;<br />
using System.Reflection;<br />
using System.Threading;<br />
using System.Windows.Forms;<br />
namespace HookGlobal<br />
{<br />
/// &lt;summary&gt;<br />
/// 这个类可以让你得到一个在运行中程序的所有键盘或鼠标事件<br />
/// 并且引发一个带KeyEventArgs和MouseEventArgs参数的.NET事件以便你很容易使用这些信息<br />
/// &lt;/summary&gt;<br />
/// &lt;remarks&gt;<br />
/// 修改:lihx<br />
/// 修改时间:04.11.8<br />
/// &lt;/remarks&gt;<br />
public class KeyBordHook<br />
{<br />
private const int WM_KEYDOWN = 0x100;<br />
private const int WM_KEYUP = 0x101;<br />
private const int WM_SYSKEYDOWN = 0x104;<br />
private const int WM_SYSKEYUP = 0x105;<br />
//全局的事件<br />
public event KeyEventHandler OnKeyDownEvent;<br />
public event KeyEventHandler OnKeyUpEvent;<br />
public event KeyPressEventHandler OnKeyPressEvent;<br />
static int hKeyboardHook = 0; //键盘钩子句柄<br />
//鼠标常量<br />
public const int WH_KEYBOARD_LL = 13; //keyboard hook constant<br />
HookProc KeyboardHookProcedure; //声明键盘钩子事件类型.<br />
//声明键盘钩子的封送结构类型<br />
[StructLayout(LayoutKind.Sequential)]<br />
public class KeyboardHookStruct<br />
{<br />
public int vkCode; //表示一个在1到254间的虚似键盘码<br />
public int scanCode; //表示硬件扫描码<br />
public int flags;<br />
public int time;<br />
public int dwExtraInfo;<br />
}<br />
//装置钩子的函数<br />
[DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)]<br />
public static extern int SetWindowsHookEx(int idHook, HookProc lpfn, IntPtr hInstance, int threadId);</p>
<p>//卸下钩子的函数<br />
[DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)]<br />
public static extern bool UnhookWindowsHookEx(int idHook);</p>
<p>//下一个钩挂的函数<br />
[DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)]<br />
public static extern int CallNextHookEx(int idHook, int nCode, Int32 wParam, IntPtr lParam);<br />
[DllImport("user32")]<br />
public static extern int ToAscii(int uVirtKey, int uScanCode, byte[] lpbKeyState,byte[] lpwTransKey,<br />
int fuState);<br />
[DllImport("user32")]<br />
public static extern int GetKeyboardState(byte[] pbKeyState);<br />
public delegate int HookProc(int nCode, Int32 wParam, IntPtr lParam);<br />
/// &lt;summary&gt;<br />
/// 墨认的构造函数构造当前类的实例并自动的运行起来.<br />
/// &lt;/summary&gt;<br />
public KeyBordHook()<br />
{<br />
Start();<br />
}</p>
<p>//析构函数.<br />
~KeyBordHook()<br />
{<br />
Stop();<br />
}</p>
<p>public void Start()<br />
{<br />
//安装键盘钩子<br />
&amp;nbsp<br />
;  if(hKeyboardHook == 0)<br />
{<br />
KeyboardHookProcedure = new HookProc(KeyboardHookProc);<br />
hKeyboardHook = SetWindowsHookEx( WH_KEYBOARD_LL, KeyboardHookProcedure,                 Marshal.GetHINSTANCE(Assembly.GetExecutingAssembly().GetModules()[0]), 0);<br />
if(hKeyboardHook == 0 )<br />
{<br />
Stop();<br />
throw new Exception("SetWindowsHookEx ist failed.");<br />
}<br />
}<br />
}</p>
<p>public void Stop()<br />
{<br />
bool retKeyboard = true;<br />
if(hKeyboardHook != 0)<br />
{<br />
retKeyboard = UnhookWindowsHookEx(hKeyboardHook);<br />
hKeyboardHook = 0;<br />
}<br />
//如果卸下钩子失败<br />
if (!(retKeyboard))<br />
throw new Exception("UnhookWindowsHookEx failed.");<br />
}</p>
<p>private int KeyboardHookProc(int nCode, Int32 wParam, IntPtr lParam)<br />
{<br />
if((nCode &gt;= 0) &amp;&amp; (OnKeyDownEvent!=null || OnKeyUpEvent!=null || OnKeyPressEvent!=null))<br />
{<br />
KeyboardHookStruct MyKeyboardHookStruct = (KeyboardHookStruct) Marshal.PtrToStructure(lParam,                     typeof(KeyboardHookStruct));<br />
//引发OnKeyDownEvent<br />
if( OnKeyDownEvent!=null &amp;&amp; ( wParam ==WM_KEYDOWN || wParam==WM_SYSKEYDOWN ))<br />
{<br />
Keys keyData=(Keys)MyKeyboardHookStruct.vkCode;<br />
KeyEventArgs e = new KeyEventArgs(keyData);<br />
OnKeyDownEvent(this, e);<br />
}<br />
//引发OnKeyPressEvent<br />
if( OnKeyPressEvent!=null &amp;&amp; wParam ==WM_KEYDOWN )<br />
{<br />
byte[] keyState = new byte[256];<br />
GetKeyboardState(keyState);<br />
byte[] inBuffer= new byte[2];<br />
if (ToAsci(MyKeyboardHookStruct.vkCode,MyKeyboardHookStruct.scanCode,keyState,<br />
inBuffer,MyKeyboardHookStruct.flags)==1)<br />
{<br />
KeyPressEventArgs e = new KeyPressEventArgs((char)inBuffer[0]);<br />
OnKeyPressEvent(this, e);<br />
}<br />
}<br />
//引发OnKeyUpEvent<br />
if ( OnKeyUpEvent!=null &amp;&amp; ( wParam ==WM_KEYUP || wParam==WM_SYSKEYUP ))<br />
{<br />
Keys keyData=(Keys)MyKeyboardHookStruct.vkCode;<br />
KeyEventArgs e = new KeyEventArgs(keyData);<br />
OnKeyUpEvent(this, e);<br />
}<br />
}<br />
return CallNextHookEx(hKeyboardHook, nCode, wParam, lParam);<br />
}<br />
}<br />
}<br />
</code></p>
<p>////////////////////////////////////////////////////////////////////////////////////////////////////////////////</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/%e5%85%b3%e4%ba%8e%e9%bc%a0%e6%a0%87%e5%92%8c%e9%94%ae%e7%9b%98%e7%9a%84%e5%85%a8%e5%b1%80%e8%8e%b7%e5%8f%96hook-keyboard-or-mouse%e7%9a%84%e4%b8%80%e4%b8%aa%e7%b1%bb.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/bin/sh^M: bad interpreter: No such file or directory 异常</title>
		<link>http://www.2astudio.com/post/binshm-bad-interpreter-no-such-file-or-directory-%e5%bc%82%e5%b8%b8.html</link>
		<comments>http://www.2astudio.com/post/binshm-bad-interpreter-no-such-file-or-directory-%e5%bc%82%e5%b8%b8.html#comments</comments>
		<pubDate>Thu, 09 Sep 2010 07:14:00 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[程序人生]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=885</guid>
		<description><![CDATA[<p>在linux下运行shell脚本，报上面的错误。<br /><br />google了一下发现时编码问题，运行一下 dos2unix 文件即可<br /><br />原因是windows下的文件格式在linux下不兼容<br /><br /><br />转载写的挺好的一个篇文章</p>...
]]></description>
			<content:encoded><![CDATA[<p>在linux下运行shell脚本，报上面的错误。</p>
<p>google了一下发现时编码问题，运行一下 dos2unix 文件即可</p>
<p>原因是windows下的文件格式在linux下不兼容</p>
<p>转载写的挺好的一个篇文章</p>
<div>
<p><!-- div.section1 { page: section1; } --><span style="font-family: 宋体;">在</span>Linux<span style="font-family: 宋体;">中执行</span>.sh<span style="font-family: 宋体;">脚本，异常</span>/bin/sh^M: bad interpreter: No such file or directory<span style="font-family: 宋体;">。<span id="more-885"></span></span></p>
<p><span style="font-family: 宋体;">分析：这是不同系统编码格式引起的：在</span>windows<span style="font-family: 宋体;">系统中编辑的</span>.sh<span style="font-family: 宋体;">文件可能有不可见字符，所以在</span>Linux<span style="font-family: 宋体;">系统下执行会报以上异常信息。</span><span><br />
</span><span style="font-family: 宋体;">解决：</span>1<span style="font-family: 宋体;">）在</span>windows<span style="font-family: 宋体;">下转换：</span><span><br />
</span><span style="font-family: 宋体;">利用一些编辑器如</span>UltraEdit<span style="font-family: 宋体;">或</span>EditPlus<span style="font-family: 宋体;">等工具先将脚本编码转换，再放到</span>Linux<span style="font-family: 宋体;">中执行。转换方式如下（</span>UltraEdit<span style="font-family: 宋体;">）：</span>File&#8211;&gt;Conversions&#8211;&gt;DOS-&gt;UNIX<span style="font-family: 宋体;">即可。</span><span><br />
2</span><span style="font-family: 宋体;">）也可在</span>Linux<span style="font-family: 宋体;">中转换：</span><span><br />
</span><span style="font-family: 宋体;">首先要确保文件有可执行权限</span><span><br />
#sh&gt;chmod a+x filename </span></p>
<p><span style="font-family: 宋体;">然后修改文件格式</span><span><br />
#sh&gt;vi filename </span></p>
<p><span style="font-family: 宋体;">利用如下命令查看文件格式</span><span><br />
:set ff </span><span style="font-family: 宋体;">或</span><span> :set fileformat </span></p>
<p><span style="font-family: 宋体;">可以看到如下信息</span><span><br />
fileformat=dos </span><span style="font-family: 宋体;">或</span><span> fileformat=unix </span></p>
<p><span style="font-family: 宋体;">利用如下命令修改文件格式</span><span><br />
:set ff=unix </span><span style="font-family: 宋体;">或</span><span> :set fileformat=unix </span></p>
<p>:wq (<span style="font-family: 宋体;">存盘退出</span><span>) </span></p>
<p><span style="font-family: 宋体;">最后再执行文件</span><span><br />
#sh&gt;./filename</span></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/binshm-bad-interpreter-no-such-file-or-directory-%e5%bc%82%e5%b8%b8.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[转]数码单反相机摄影知识与技巧</title>
		<link>http://www.2astudio.com/post/%e8%bd%ac%e6%95%b0%e7%a0%81%e5%8d%95%e5%8f%8d%e7%9b%b8%e6%9c%ba%e6%91%84%e5%bd%b1%e7%9f%a5%e8%af%86%e4%b8%8e%e6%8a%80%e5%b7%a7.html</link>
		<comments>http://www.2astudio.com/post/%e8%bd%ac%e6%95%b0%e7%a0%81%e5%8d%95%e5%8f%8d%e7%9b%b8%e6%9c%ba%e6%91%84%e5%bd%b1%e7%9f%a5%e8%af%86%e4%b8%8e%e6%8a%80%e5%b7%a7.html#comments</comments>
		<pubDate>Sat, 04 Sep 2010 16:07:47 +0000</pubDate>
		<dc:creator>Aviva</dc:creator>
				<category><![CDATA[艺术作品]]></category>
		<category><![CDATA[摄影知识与技巧]]></category>
		<category><![CDATA[数码单反相机]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=884</guid>
		<description><![CDATA[<p>一、装卸镜头方法 <br /><br />单反相机镜头和机身之间的连接是通过一个叫卡口的东西来实现的，一般都是内三刀或者外三刀式，为了防止镜头从机身上脱落，都设有锁定卡榫。不 同厂家生产的相机不同，锁定装置的位置及操作方法也略有不同，使镜头的装卸存在差异，例如尼康的F卡口是内三刀，逆时针旋转安装，而佳能的EF卡口则是内 三刀顺时针旋转安装，而且镜头插入时定位点的初始位置也是有区别的。 <br />为什么要使用旋转卡口。最初的可更换镜头的相机镜头与机身的连接是采用螺口的方式，就像螺丝拧进螺母一样（例如影响范围巨大的M42螺口）， 随着时间的推移，螺口变得不适应新的用户需求了，比如螺口基本无法实现全开光圈测光，收缩光圈拍摄的需求，而这是卡口单反相机最基本的功能，于是，卡口就 应运而生了。 <br />...</p>
]]></description>
			<content:encoded><![CDATA[<p>一、装卸镜头方法</p>
<p>单反相机镜头和机身之间的连接是通过一个叫卡口的东西来实现的，一般都是内三刀或者外三刀式，为了防止镜头从机身上脱落，都设有锁定卡榫。不 同厂家生产的相机不同，锁定装置的位置及操作方法也略有不同，使镜头的装卸存在差异，例如尼康的F卡口是内三刀，逆时针旋转安装，而佳能的EF卡口则是内 三刀顺时针旋转安装，而且镜头插入时定位点的初始位置也是有区别的。<br />
为什么要使用旋转卡口。最初的可更换镜头的相机镜头与机身的连接是采用螺口的方式，就像螺丝拧进螺母一样（例如影响范围巨大的M42螺口）， 随着时间的推移，螺口变得不适应新的用户需求了，比如螺口基本无法实现全开光圈测光，收缩光圈拍摄的需求，而这是卡口单反相机最基本的功能，于是，卡口就 应运而生了。<br />
安装镜头的时候要细心操作，在卸下镜头的过程中更要小心，向外拔出镜头时一定要垂直，否则不仅不易拔出，也易损伤镜筒或机身卡口。旋转镜头时 手应握持镜头的镜筒部位，不宜握持光圈环或调焦环、变焦环。装镜头应将镜头上的红点和机身上的红点对准后插入，按要求的方向旋转到底，并听到锁定的“咔 嗒”声为止。<br />
在风沙和灰尘较大的环境下，尽可能不要更换镜头，以免沙尘进入反光镜箱，既有可能沾到CCD上，也有可能进入活动部件中导致磨损加剧甚至故 障。如果一定要在恶劣环境中换镜头，那么把机身翻过来，卡口对着下方装卸可以最大限度的避免沙尘的进入，换下来的镜头应当尽快盖好前后盖放如包内或者镜头 筒中。<span id="more-884"></span></p>
<p>二、用好感光度ISO</p>
<p>ISO，俗称感光度，在传统相机使用的胶卷包装上都能明确看出ISO值，如ISO 100、ISO 200、ISO 400等等。通过调节 ISO值，可以使数码相机的感光敏感度改变。在同一条件下（曝光量一定），ISO越高，感光速度越快，曝光需要的时间越短。也就是说在相同环境，相同快门 光圈的拍摄情况下，如果ISO值设定得越高，那么拍摄出的数码照片亮度也越大。</p>
<p><img src="/wp-content/uploads/201009050015032235.jpg" alt="" /></p>
<p>调节ISO<br />
选购好了一款数码相机，现在就可以开始进行拍摄了。想要拍摄出精美的数码照片，那么就需要根据场景的需要，选择不同的拍摄模式，还需要注意感光度的大小、白平衡的选择、控制虚化背景、构图的框架、光线的方向、侧光点的选择。接下来我们就来看看该如何拍摄照片。<br />
1.高感光度的作用<br />
既然ISO的提高可以有效减少CCD感光时间，那么这就为我们在弱光下的拍摄提供了方便。因为通常在弱光或夜晚拍摄时会需要较长的曝光时间。 一旦曝光时间过长，手的抖动就容易对拍摄清晰度产生影响，唯一的办法就是使用三角架来固定相机。但毕竟对于大部分用户来说，随时携带一个三角架出去娱乐可 不是一件方便的事。另外有时是一些发生在夜晚的突发事件，要想获得较亮的拍摄效果，最直接的办法就是采用高ISO值，这样拍摄效果就会更好。高ISO值适 用的场景包括有夜景、弱光环境和快速抓拍等。<br />
2.低感光度的作用<br />
但是并不是感光度越高就越好，因为虽然ISO值小的照片亮度最弱，但是它的画质细腻度是最好的。而ISO过高的照片颗粒感最明显，噪点更多。因此ISO较高的设定不适用于要求品质较高的数码照片，尤其是人像拍摄、静物拍摄以及特写之类。</p>
<p>三、选择适当的曝光模式<br />
<img src="/wp-content/uploads/201009050015044710.jpg" alt="" /><br />
曝光模式转盘</p>
<p>曝光是摄影中一个常用的名词，是拍摄过程中自然光源进入相机的量。如果进光量过大，那么照片就显得非常亮，称为曝光过度；如果进光量过小，那么照片就显得非常暗，称为曝光不足。把握好曝光的强度，对于一张照片的好坏有着非常重要的作用。曝光模式又分为：<br />
1.自动曝光<br />
自动曝光是数码相机根据光线情况，自动分析并选择曝光强度的一种曝光方式，也就是人们所说的傻瓜式操作。这种方式没有任何技术性可言，一切都 依靠数码相机自动识别。根据拍摄现场光线的具体情况自动设置所使用的光圈和快门速度。当光线不足时，相机将自动打开机内闪光灯。在一些新闻报道和突发事件 中为了抢时间，一般都采用自动曝光。<br />
2.快门优先<br />
快门优先是在手动定义快门速度的情况下通过相机测光自动获取光圈值。在拍摄运动物体时我们时常发现拍摄出来的主体是模糊的，这多半就是因为快 门的速度不够快。在这种情况下你可以使用快门优先模式，大概确定一个快门值，然后进行拍摄。当快门速度低于1/60秒时建议使用三脚架进行拍摄，以免因为 手抖动而影响照片清晰度。快门越快，进光量越少；快门越慢，进光量越大。快门优先多用于拍摄运动的物体上，特别是在体育运动拍摄中最常用。高速快门可以用 于凝固物体瞬间的状态，而慢速快门可以实现运动物体的虚化。<br />
3.光圈优先<br />
光圈优先是由拍摄者首先选择拍摄所需要的光圈，然后由相机根据现场光线情况确定所需的快门速度。光圈越大，进光量越大，背景虚化的效果越明 显，被拍摄的主体越突出；光圈越小，进光量越小，焦点前后的景深越大。一般来说，进行微距拍摄常常运用较大光圈来达到虚化杂乱背景的目的和效果。风景拍摄 时为了取得前后清晰，细节丰富的图象，常常采用较小的光圈进行拍摄。大光圈适合微距拍摄，而小光圈适合风景拍摄。<br />
4.手动曝光模式<br />
手动曝光模式完全由用户确定拍摄时所需要的光圈和快门速度。用户能够根据自己的艺术创作意图和预计的拍摄效果进行光圈和快门速度的设置，为用 户提供了极大的自由度。当设定超过感光度后，相机会通过声音或闪烁的灯光予以提示。对于经验不足的新手来说，手动曝光模式有一定难度，而且操作稍显复杂， 难以用于抓拍瞬息即逝的景象。<br />
5.曝光补偿调节<br />
曝光补偿调节<br />
在复杂的光线及强对比高反差德环境下中，利用自动曝光或者快门、光圈优先模式，有时很难照顾全面，无法突出主题，达到预期的效果，这时就需要 拍摄者手工对设备进行相应的曝光参数调整，这就是曝光补偿（expose value），也称±EV。对于初学者来讲,曝光补偿一般用于静物、景物拍摄的 场合。这个场合适合从容进行参数调整，用不同的补偿方案拍摄多张照片以供挑选。不过在存在反差极大的画面中，曝光补偿很难照顾全面，容易顾此失彼。<br />
一般曝光补偿都是用在自动或者半自动曝光模式中的，如果是全手动曝光模式，很少采用曝光补偿，因为依靠快门和光圈的调节，也可以改变进光量了。</p>
<p>四、合理曝光，看懂直方图</p>
<p>直方图是通过在LCD上显示出来的波形参数以确定照片曝光精度的工具，现在许多数码相机在取景的时候就能够看见实时直方图，这样我们就可以清楚地判断拍摄的照片或者正在取景的照片曝光的情况。</p>
<p><img src="/wp-content/uploads/201009050015042200.jpg" alt="" /><br />
直方图<br />
直方图的横轴从左到右代表照片中从黑(暗部)到白(亮部)的像素数量。下面来看两个例子：<br />
<img src="http://localhost/u&lt;br /&gt;<br />
pload/201009050015045646.jpg" alt="" /><br />
直方图显示的波纹偏左，说明画面整体偏暗，可能曝光不足<br />
<img src="/wp-content/uploads/201009050015044711.jpg" alt="" /><br />
波纹贯穿横轴，没有峰值，同时明暗两端又溢出，照片可能明暗细节损失严重</p>
<p>五、用好白平衡</p>
<p>很多人可能都有这样的同感：本来在正常光线下看起来是白颜色的东西，在较暗的光线下看起来可能就不是白色，另外在一些特殊光源下（如荧光灯）的白色看上去也不是白色。<br />
一般来说，CCD并没有办法像人眼一样会自动修正光线的改变，而只能以不同场合下默认的“白色”平衡其他颜色在有色光线下的色调。如果数码照 片会有偏色的现象，就是因为没有正确调整白平衡。白平衡有多种模式，适应不同的场景拍摄，如：自动白平衡、钨光白平衡、荧光白平衡、室内白平衡、手动白平 衡。<br />
自动白平衡通常为数码相机的默认设置，这种自动白平衡在光线接近正常时的准确率是很高的，如果在室外拍，就可以用它，但在有色光线下拍摄时效果却较差。另外对于大气中的漫射光也无法纠正，在多云天气下许多自动白平衡系统的效果极差，它可能会导致照片偏蓝。<br />
钨光白平衡就是灯泡（白炽灯）光线下的白平衡，这个容易理解；荧光白平衡因为荧光灯类型有很多种（如冷白和暖白）而最难处理，需要试拍决定； 室内白平衡也叫多云、阴天白平衡，适合把昏暗处的光线调至原色状态。手动白平衡是对准拍摄现场光线中的白色（如白纸）取样设置的，理论上手动白平衡是最准 确的，除非取样用的白色不够白。<br />
在某些场合下往往偏色也是很奇特的效果，不信你在拍夜景时选用日光效果试一下，其实也很好看。当然，初学者还是循序渐进比较好，但也不必为白平衡有太多困扰，如果发生偏色，多数情况下可以用后期PS色彩平衡校正。</p>
<p>六、侧光拍摄技巧</p>
<p>侧光是指从被摄物体侧面照射过来的光线，它能使被摄体表面由于凹凸不平而呈现出部分阴影，使物体受光面与明暗面各自有明显的表现，既能勾勒出 被摄体的轮廓，又能体现立体感，这种光线的表现力最强，因此侧光是摄影用光时最为常用的光线。但在运用时，要注意受光面与暗面在画面造型中所占比例。通常 斜射光的角度是最好的，当光线的方向与景物平面呈45度左右的角度时，这种角度的光线使被摄物体受光面与阴暗面的比例大致相当，比较符合人们日常生活中的 视觉习惯。</p>
<p><img src="/wp-content/uploads/201009050015042700.jpg" alt="" /><br />
侧面光会使物体产生阴影，便加强了立体感</p>
<p>七、逆光拍摄技巧</p>
<p>逆光是指从被摄体背后照射过来的光线。逆光拍摄时很容易使被摄物体变成剪影，因此对于曝光的把握相对困难一些，对于初学者往往不推荐逆光摄 影。但是逆光的艺术效果也是独特的——逆光能给被摄物体外缘镶上一条动人的轮廓光边（如果是阳光，就是金边）。如果处理适当，便可创作出独特的美感，拍出 艺术味十足的光影感觉。<br />
在拍摄逆光照片时需要注意的是，逆光时前景与背景的光比过大，往往会造成背景曝光过度或者前景曝光不足，为了缩小光比，一定要注意为前景补 光，可以用反光板或是闪光灯——如果你看到谁逆着阳光拍摄时用了闪光灯，你要对他充满敬意，因为那是一个行家，他在缩小前景与背景的光比。</p>
<p><img src="/wp-content/uploads/201009050015041288.jpg" alt="" /><br />
逆光人像会照亮人物轮廓，但要注意正面补光，避免曝光不足</p>
<p>八、照片构图技巧</p>
<p>一张好的照片，除了要运用好光线以外，框架的搭建也相当重要。而这种框架就是照片的构图。摄影照片的构图其实并不需要太过局限于某种框架，主 要是要发挥自己的想象能力。不过对于一些欠缺经验的初学者来说，要想立刻达到这个地步还是比较困难，因此现在就给大家介绍一些照片构图的基本规则。不过需 要注意的是规则也并不总是一成不变的，虽然摄影构图中有一些应当遵循的要点，但这仅仅是为避免一些典型的弊病。<br />
1.构图的几种方式<br />
构图的方式上主要分成以下几种：<br />
（1）井字形构图<br />
这种构图形式，是假设把画面的长宽各分为三等分，把相交的各点用直线连接，形成“井”字形。被摄主体不是位于画面的正中，而是被安置在组成井字的纵横线条的交叉点上，整幅画面显得既庄重，又不拘谨，而且主体形象格外醒目。<br />
（2）正三角形构图<br />
构图中三角形一向是比较稳重的形式，而采用正三角形构图，除了画面上给人以坚强、镇静的感觉外，在表现力上也具有很好的烘托效果。对于需要表现一定气氛的画面，正三角形构图可以说是最恰当的形式之一。<br />
（3）倒三角形构图<br />
和正三角形构图的稳重相反，倒三角这种构图方式具有一种动态的活力。给人一种明快、动态的感觉。但是需要注意的是在构图时，一定要注意它的左右两边最好要有些不同的变化或者比较，这样才能打破两边的绝对平衡，使画面更活泼。<br />
（4）斜三角形构图<br />
斜三角形是介于正三角形和倒三角形之间的一种构图方式，其表现力也介于正三角形和倒三角形构图之间，可以使主体和辅助背景对比更加鲜明，属于一种比较常用的构图方式。<br />
（5）垂直式构图<br />
垂直式构图主要是用在高山、建筑物、瀑布等景物的拍摄上。它的整个画面主要由垂直线条组成，能将被摄景物表现得巍峨高大和富有气势。<br />
（6）斜线式构图<br />
斜线式构图可以表示物体运动、变化的动态感，能使画面产生动感。其动感的程度与角度有关，角度越大，其前进的动感越强烈，但角度不能大于45度，否则会产生下倾感。<br />
（7）水平式构图<br />
采用这种构图，常能给人以一种平静、舒坦的感觉，用于表现自然风光，则更能使景色显得辽阔、浩瀚。水平构图照片中的景物显得安静而稳重，突出一种平静的感觉。<br />
（8）曲线式构图<br />
和其它构图方式相比，曲线式构图的线条最美，感染力最强，用曲线式构图可以渲染被摄景物，使其更加美丽动人。<br />
（9）渐进式构图<br />
渐进式构图主要是用在道路等场景中，它利用逐渐过度的手法，表现出更强的视觉效果。渐进式构图中经常使用的就是以一条蜿蜒的小道是为引导，产生不错的视觉效果。<br />
2.构图技巧<br />
看了这么多构图方式，我们还需要根据不同的环境，采用不同的构图才能达到最佳的效果。而在使用不同的构图方式时，我们还需要使用技巧。接下来就给大家介绍在构图时常使用的技巧。<br />
（1）地平线和三分法技巧<br />
地平线和三分法常常是和井字形构图方式结合起来使用的。在风景类的照片中，尽量将地平线置于井字形构图中两条横线之一的位置上，可以造成一种 和谐的构图。另外还需要注意不要把地平线放在画面中间的位置，因为这样会把画面切割为二。如果天空景致特别迷人，就给它大部分画面，如果不是这样，就把地 平线移到上方，以避免平淡无味的天空占有更多的画面。<br />
（2）被摄物位置技</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/%e8%bd%ac%e6%95%b0%e7%a0%81%e5%8d%95%e5%8f%8d%e7%9b%b8%e6%9c%ba%e6%91%84%e5%bd%b1%e7%9f%a5%e8%af%86%e4%b8%8e%e6%8a%80%e5%b7%a7.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex SDK 4(Gumbo)命名空间（NameSpace）概述</title>
		<link>http://www.2astudio.com/post/flex-sdk-4gumbo%e5%91%bd%e5%90%8d%e7%a9%ba%e9%97%b4%ef%bc%88namespace%ef%bc%89%e6%a6%82%e8%bf%b0.html</link>
		<comments>http://www.2astudio.com/post/flex-sdk-4gumbo%e5%91%bd%e5%90%8d%e7%a9%ba%e9%97%b4%ef%bc%88namespace%ef%bc%89%e6%a6%82%e8%bf%b0.html#comments</comments>
		<pubDate>Thu, 02 Sep 2010 02:14:36 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[程序人生]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Flex SDK]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=883</guid>
		<description><![CDATA[<p>本篇文章是《Flash Builder 4 beta&#160;(Gumbo) UI、功能的新体验》第三篇文章，着重介绍的Flex SDK 4(Gumbo)新增加的命名空间（NameSpace）。众所周知，Flex SDK 4(Gumbo)增加了一些命名空间，请看如下：xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;xmlns:mx=&#34;</p>
]]></description>
			<content:encoded><![CDATA[<div class="post_body">
<p><span class="Apple-style-span"><span class="Apple-style-span" style="font-size: 13px; color: #808080; line-height: 22px; font-family: 'Lucida Grande';"><span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">本篇文章是《<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flash+Builder">Flash Builder 4 beta</a><span class="Apple-converted-space"> </span>(<span class="Apple-style-span" style="margin: 0px; font-family: Arial; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=gumbo">Gumbo</a></span>) UI、<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=FB4%E6%96%B0%E4%BD%93%E9%AA%8C">功能的新体验</a>》第三篇文章，着重介绍的<span class="Apple-style-span" style="margin: 0px; font-family: Arial; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK 4</a>(<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=gumbo">Gumbo</a>)</span>新增加的命名空间（<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=NameSpace">NameSpace</a>）。<br style="margin: 0px; padding: 0px;" />众所周知，<span class="Apple-style-span" style="margin: 0px; font-family: Arial; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK 4</a>(<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=gumbo">Gumbo</a>)</span>增加了一些命名空间，请看如下：<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" />xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=fx">fx</a>=”http://ns.adobe.com/mxml/2009&#8243;<br style="margin: 0px; padding: 0px;" />xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=mx">mx</a>=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=halo">halo</a>“<br style="margin: 0px; padding: 0px;" />xmlns:s=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=spark">spark</a>“<span id="more-883"></span><br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" /></span>1、<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=fx">fx</a>=”http://ns.adobe.com/mxml/2009&#8243;<br style="margin: 0px; padding: 0px;" /></span>定义了顶级的<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=ActionScript+3%2E0">ActionScript 3.0</a>一些顶级的方法、全局函数和全局常量等内容。<br style="margin: 0px; padding: 0px;" />例如我们常用的一些数据类型：Number、int、Boolean、Array、String等。<br style="margin: 0px; padding: 0px;" />在《Adobe Flex 4 Beta Language Reference》里面的这个链接中会有详细描述。<br style="margin: 0px; padding: 0px;" />关于这个命名空间的内容，全部定义在<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flash+Builder">Flash Builder</a>安装目录下面的sdks\4.0.0\frameworks\mxml-2009-manifest.xml里面。<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" />2、<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=mx">mx</a>=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=halo">halo</a>“<br style="margin: 0px; padding: 0px;" /></span>使用过<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK</a> 2 和 <a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK</a> 3的朋友就不会陌生了，这个命名空间（<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=NameSpace">NameSpace</a>）里面的内容是mx.*下面的全部内容，请注意一下，其中halo的名字就是<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK</a> 2 和 <a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK</a> 3里面默认的CSS样式。<br style="margin: 0px; padding: 0px;" />关于这个命名空间的内容，全部定义在<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flash+Builder">Flash Builder</a>安装目录下面的sdks\4.0.0\frameworks\halo-manifest.xml里面。<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" /><span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">3、xmlns:s=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=spark">spark</a>“<br style="margin: 0px; padding: 0px;" /></span>这是<span class="Apple-style-span" style="font-size: 13px; margin: 0px; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK 4</a>(<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; paddi&lt;br /&gt;<br />
ng: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=gumbo">Gumbo</a>)</span>里面新增加的组件库。包含了<span class="Apple-style-span" style="font-size: 13px; margin: 0px; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK 4</a>(<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=gumbo">Gumbo</a>)</span>里面全部的spark.* 和 flashx.* packages里面的部分内容（text framework class）<br style="margin: 0px; padding: 0px;" />关于这个命名空间的内容，全部定义在Flash Builder安装目录下面的sdks\4.0.0\frameworks\spark-manifest.xml里面。<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" /><strong style="margin: 0px; padding: 0px;">其中的一些我认为必要了解的内容：</strong><br style="margin: 0px; padding: 0px;" />1、<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=mx">mx</a>=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=halo">halo</a>“</span> 和 <span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:s=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=spark">spark</a>“</span>是平级的，而<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=fx">fx</a>=”http://ns.adobe.com/mxml/2009&#8243;</span>是<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=ActionScript+3%2E0">ActionScript 3.0</a>顶级的内容。也就是说，如果在某一个Project里面只使用halo的话，则可以在Application里面去掉<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=spark">spark</a></span>的定义。（反之亦然）<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" />2、<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=mx">mx</a>=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=halo">halo</a>“</span> 和 <span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:s=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=spark">spark</a>“</span>其中有一部分是公用的，这点请大家注意一下（关于为什么是公用的，我猜测是为了让<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK</a> 2 和 <a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK</a> 3迁移到<span class="Apple-style-span" style="font-size: 13px; margin: 0px; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK 4</a>(<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=gumbo">Gumbo</a>)</span>的过程更方便一些造成的。）<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" />3、<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=fx">fx</a>=”http://ns.adobe.com/mxml/2009&#8243;</span>保留<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK</a> 2 和 <a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Flex">Flex SDK</a> 3时代的一些顶级包以外，还新增加了一些标签，如：&lt;Declarations&gt;、&lt;DesignLayer&gt;&lt;Library&gt;&lt;Private&gt;&lt;Reparent&gt;<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" />4、当需要定义一个在<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=mx">mx</a>=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=halo">halo</a>“</span> 和 <span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">xmlns:s=”library://ns.adobe.com/flex/<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=spark">spark</a>“</span>都存在的组件或者意义相同的组件，<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Adobe">Adobe</a>建议使用<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=spark">spark</a></span>，而不是原来的<span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;"><a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=halo">halo</a></span>。<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" />PS：本篇文章部分内容来自Using ADOBE® FLEX® 4 和 ADOBE FLEX  Gumbo<br />
Preview Release Features and Migration Guide 这两篇<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://www.k-zone.cn/zblog/catalog.asp?tags=Adobe">Adobe</a>的文档。<br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" /><strong style="margin: 0px; padding: 0px;">附录：</strong><br style="margin: 0px; padding: 0px;" />《Using ADOBE® FLEX® 4》下载地址：<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://bit.ly/9u5D5">http://bit.ly/9u5D5</a><br style="margin: 0px; padding: 0px;" />《ADOBE FLEX  Gumbo Preview Release Features and Migration Guide》下载地址：<a style="margin: 0px; color: #598d32; border-bottom: 1px dashed #598d32; text-decoration: none; padding: 0px;" href="http://bit.ly/180oH9">http://bit.ly/180oH9</a></span></span></p>
</div>
<p><span class="Apple-style-span"><span class="Apple-style-span" style="font-size: 13px; color: #808080; line-height: 22px; font-family: 'Lucida Grande';"><span class="Apple-style-span" style="font-size: 13px; margin: 0px; font-family: Verdana; padding: 0px;">转载自：<a href="http://www.k-zone.cn/zblog/post/flash-builder-gumbo-namespace-spark-halo.html">http://www.k-zone.cn/zblog/post/flash-builder-gumbo-namespace-spark-halo.html</a></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/flex-sdk-4gumbo%e5%91%bd%e5%90%8d%e7%a9%ba%e9%97%b4%ef%bc%88namespace%ef%bc%89%e6%a6%82%e8%bf%b0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Action script 中英文对照表</title>
		<link>http://www.2astudio.com/post/action-script-command.html</link>
		<comments>http://www.2astudio.com/post/action-script-command.html#comments</comments>
		<pubDate>Sun, 22 Aug 2010 13:05:56 +0000</pubDate>
		<dc:creator>Aviva</dc:creator>
				<category><![CDATA[程序人生]]></category>
		<category><![CDATA[action script]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=882</guid>
		<description><![CDATA[<p>Action script 中英文对照表（基础篇-flash5）</p><p>&#160;</p><p>　　 + Basic Actions　能加入到程序中的基本Action <br />- Go to　跳转到指定的帧 <br />- Play　播放 <br />- Stop　停止 <br />- Toggle High Quality　在高画质和低画质间切换 <br />- Stop All Sounds　停止所有声音的播放 <br />- Get URL　使浏览器浏览指定页面 <br />...</p>
]]></description>
			<content:encoded><![CDATA[<p>Action script 中英文对照表（基础篇-flash5）</p>
<p>+ Basic Actions　能加入到程序中的基本Action<br />
- Go to　跳转到指定的帧<br />
- Play　播放<br />
- Stop　停止<br />
- Toggle High Quality　在高画质和低画质间切换<br />
- Stop All Sounds　停止所有声音的播放<br />
- Get URL　使浏览器浏览指定页面<br />
- FSCommand　发送FSCommand命令<br />
- Load Movie　引入影片<br />
- Unload Movie　卸载影片<span id="more-882"></span><br />
- Tell Target　指定Action命令生效的目标<br />
- If Frame Is Loaded　..帧是否被载入<br />
- On Mouse Event　鼠标事件<br />
+ Actions　所有的Action<br />
- break　跳出循环<br />
- call　调用指定帧<br />
- comment　注释<br />
- continue　继续循环<br />
- delete　删除一个物件(Object)中的变量<br />
- do while　do while循环<br />
- duplicateMovieClip　复制MC<br />
- else　否则(与if联用)<br />
- else if　否则如果(与if联用)<br />
- evaluate　调用自己写的函数(Function)<br />
- for　for循环<br />
- for .. in　列举物件(Object)中的子体(Child)<br />
- FSCommand　发送FSCommand命令<br />
- function　声明自定义函数<br />
- getURL　使浏览器浏览指定页面<br />
- goto　跳转到指定的帧<br />
- if　如果<br />
- ifFrameLoaded　..帧是否被载入<br />
- include　读入外部的ActionScript程序文件(.as)<br />
- loadMovie　引入MC<br />
- loadVariables　引入外部文件中的变量值<br />
- on　鼠标事件的触发条件<br />
- onClipEvent　MC的事件触发程序<br />
- play　播放<br />
- print　输出到打印机<br />
- removeMovieClip　删除MC<br />
- return　在函数(function)中返回一个值<br />
- set variable　设定变量值<br />
- setProperty　设定属性<br />
- startDrag　开始拖动<br />
- stop　停止<br />
- stopAllSounds　停止所有声音的播放<br />
- stopDrag　停止拖动<br />
- swapDepths　交换两个MC的深度<br />
- tellTarget　指定Action命令生效的目标<br />
- toggleHighQuality　在高画质和低画质间切换<br />
- trace　跟踪调试<br />
- unloadMovie　卸载MC<br />
- var　声明局部变量<br />
- while　当..成立时..<br />
- with　对..物件(Object)做..<br />
+ Operators 操作符<br />
- !　逻辑非操作<br />
- !=　不等于<br />
- “”　字符串<br />
- %　取余数<br />
- &amp;&amp;　逻辑与操作<br />
- ()　括号<br />
- *　乘号<br />
-　　 + 加号<br />
-　　 + +　变量自加一<br />
- -　减号<br />
- &#8211;　变量自减一<br />
- /　除号<br />
- &lt;　小于<br />
- &lt;=　小于等于<br />
- &lt;&gt;　不等于<br />
- ==　相等<br />
- &gt;　大于<br />
- &gt;=　大于等于<br />
- and　逻辑与<br />
- not　逻辑非<br />
- or　逻辑或<br />
- typeof　返回变量类型<br />
- void　实体,无返回<br />
- | |　逻辑或操作<br />
+ Bitwise Operators　位操作符<br />
- &amp;　位与操作<br />
- &lt;&lt;　位左移<br />
- &gt;&gt;　位右移<br />
- &gt;&gt;&gt;　位右移(无符号)<br />
- ^　位异或操作<br />
- |　位或操作<br />
- ~　补位操作<br />
+ Compound Assign Operators　复合操作符<br />
- %=　A%=B 等效于 A=A%B<br />
- &amp;=　A&amp;=B 等效于 A=A&amp;B<br />
- *=　A*=B 等效于 A=A*B<br />
-　　 + =　A+=B 等效于 A=A+B<br />
- -=　A-=B 等效于 A=A-B<br />
- /=　A/=B 等效于 A=A/B<br />
- &lt;&lt;=　A&lt;&lt;=B 等效于 A=A&lt;　　　　- &gt;&gt;=　A&gt;&gt;=B 等效于 A=A&gt;&gt;B<br />
- &gt;&gt;&gt;=　A&gt;&gt;&gt;=B 等效于 A=A&gt;&gt;&gt;B<br />
- ^=　A^=B 等效于 A=A^B<br />
- |=　A|=B 等效于 A=A|B<br />
+ String Operators　字符串操作符<br />
- add　连接两个字符串<br />
- eq　A eq B 字符串A值与字符串值B相等<br />
- ge　A ge B 字符串A值大于等于字符串B值<br />
- gt　A gt B 字符串A值大于字符串B值<br />
- le　A le B 字符串A值小于等于字符串B值<br />
- lt　A lt B 字符串A值小于字符串B值<br />
- ne　A ne B 字符串A值不等于字符串B值<br />
+ Functions　函数<br />
- Boolean　取表达式的布尔值(True 或 False)<br />
- escape　除去URL串中的非法字符<br />
- eval　返回由表达式命名的变量得值<br />
- false　布尔非值(0)<br />
- getProperty　获取属性<br />
- getTimer　获取从电影开始播放到现在的总播放时间(毫秒数)<br />
- getVersion　获取浏览器的FLASHPlayer的版本号<br />
- globalToLocal　场景(Scene)中的坐标转换成MC中的坐标<br />
- hitTest　测试一个点或者MC是否同另一个交叉<br />
- int　把数值强制转换成整数<br />
- isFinite　测试数值是否为有限数<br />
- isNaN　测试是否为非数值<br />
- keycode　返回键盘按下键的键盘值<br />
- localToGlobal　MC中的坐标转换成场景(Scene)中的坐标<br />
- maxscroll　文本框的最大长度<br />
- newline　换行符<br />
- Number　将参数转换成数值<br />
- parseFloat　将字符串转换成浮点数<br />
- parseInt　将字符串转换成小数<br />
- random　产生0到指定数间的随机数<br />
- scroll　文本框中的当前行<br />
- String　将参数转换成字符串<br />
- targetPath　返回指定实体MC的路径字符串<br />
- true　布尔是值(1)<br />
- unescape　保留字符串中的%XX格式的十六进制字符<br />
+ String Functions　字符串函数<br />
- chr　将ASCII码转换成相应字符<br />
- length　返回字符串的长度<br />
- mbchr　将ASCII/S-JIS编码转换成相应的多字节字符<br />
- mblength　返回多字节字符串的长度<br />
- mbord　将多字节字符转换成相应的ASCII/S-JIS编码<br />
- mbsubstring　截取多字节字符串中的字串<br />
- ord　将字符转换成ASCII码<br />
- substring　截取字符串中的子串<br />
+ Properties　属性<br />
- _alpha　Alpha值(透明度值)<br />
- _currentframe　在MC中的当前帧数<br />
- _droptarget　正在拖动的MC是否播完<br />
- _focusrect　焦点矩形框的显示与否(True显示/Flase不显示)<br />
- _framesloaded　载入的影帧数<br />
- _height　MC的高度<br />
- _highquality　画质的高低(True高画质/False低画质)<br />
- _name　MC的实体名<br />
- _quality　当前画质(字符串值) LOW,MEDIUM,HIGH,BEST<br />
- _rotation　MC旋转的角度(单位:度)<br />
- _soundbuftime　声音的缓冲区大小(默认值5,单位:秒)<br />
- _target　MC的路径<br />
- _totalframes　总帧数<br />
- _url　电影被调用的URL地址<br />
- _visible　是否可视(True可视/False不可视)<br />
- _width　MC的宽度<br />
- _x　MC的x坐标<br />
- _xmouse　鼠标的x坐标<br />
- _xscale　MC的X轴向缩放度<br />
- _y　MC的y坐标<br />
- _ymouse　鼠标的y坐标<br />
- _yscale　MC的y轴向缩放度<br />
+ Objects　物件<br />
+ Array　数组<br />
- concat　合并多个数组<br />
- join　合并数组元素位字符串<br />
- length　返回数组长度<br />
- new Array　新建数组物件<br />
- pop　出栈 (FILO 先入后出)<br />
- push　入栈 (入队列)<br />
- reverse　反相(颠倒数组,及第一个元素和最后一个元素互换……)<br />
- shift　出队列 (FIFO 先入先出)<br />
- slice　截取数组中的子串生成新的数组<br />
- sort　数组元素的排序<br />
- splice　从数组中指定元素起删除指定个数的元素或者删除指定元素<br />
- unshift　从数组头部插入一个元素<br />
+ Boolean　布尔数<br />
- new Boolean　新建布尔型物件<br />
- toString　将布尔型物件的值转换成字符串值<br />
- valueOf　获取布尔型物件的值(返回值为布尔型)<br />
+ Color　颜色<br />
- getRGB　获取颜色值的RGB分量(返回值0xRRGGBB十六进制)<br />
- getTransform　获取颜色值的转换量(返回值 cxform 型)　[不太清楚]<br />
- new Color　新建一颜色物件<br />
- setRGB　设置颜色值的RGB分量(参数为0xRRGGBB十六进制)<br />
- setTransform　设置颜色值的转换量(参数为<br />
cxform 型)　[不太清楚]<br />
+ Date　时间和日期<br />
- getDate　获取当前日期(本月的几号)<br />
- getDay　获取今天是星期几(0-Sunday,1-Monday&#8230;)<br />
- getFullYear　获取当前年份(四位数字)<br />
- getHours　获取当前小时数(24小时制,0-23)<br />
- getMilliseconds　获取当前毫秒数<br />
- getMinutes　获取当前分钟数<br />
- getMonth　获取当前月份(注意从0开始:0-Jan,1-Feb&#8230;)<br />
- getSeconds　获取当前秒数<br />
- getTime　获取UTC格式的从1970.1.1 0:00以来的秒数<br />
- getTimezoneOffset　获取当前时间和UTC格式的偏移值(以分钟为单位)<br />
- getUTCDate　获取UTC格式的当前日期(本月的几号)<br />
- getUTCDay　获取UTC格式的今天是星期几(0-Sunday,1-Monday&#8230;)<br />
- getUTCFullYear　获取UTC格式的当前年份(四位数字)<br />
- getUTCHours　获取UTC格式的当前小时数(24小时制,0-23)<br />
- getUTCMilliseconds　获取UTC格式的当前毫秒数<br />
- getUTCMinutes　获取UTC格式的当前分钟数<br />
- getUTCMonth　获取UTC格式的当前月份(注意从0开始:0-Jan,1-Feb&#8230;)<br />
- getUTCSeconds　获取UTC格式的当前秒数<br />
- getYear　获取当前缩写年份(当前年份减去1900)<br />
- new Date　新建日期时间物件<br />
- setDate　设置当前日期(本月的几号)<br />
- setFullYear　设置当前年份(四位数字)<br />
- setHours　设置当前小时数(24小时制,0-23)<br />
- setMilliseconds　设置当前毫秒数<br />
- setMinutes　设置当前分钟数<br />
- setMonth　设置当前月份(注意从0开始:0-Jan,1-Feb&#8230;)<br />
- setSeconds　设置当前秒数<br />
- setTime　设置UTC格式的从1970.1.1 0:00以来的秒数<br />
- setUTCDate　设置UTC格式的当前日期(本月的几号)<br />
- setUTCFullYear　设置UTC格式的当前年份(四位数字)<br />
- setUTCHours　设置UTC格式的当前小时数(24小时制,0-23)<br />
- setUTCMilliseconds　设置UTC格式的当前毫秒数<br />
- setUTCMinutes　设置UTC格式的当前分钟数<br />
- setUTCMonth　设置UTC格式的当前月份(注意从0开始:0-Jan,1-Feb&#8230;)<br />
- setUTCSeconds　设置UTC格式的当前秒数<br />
- setYear　设置当前缩写年份(当前年份减去1900)<br />
- toString　将日期时间值转换成”日期/时间”形式的字符串值<br />
- UTC　返回指定的UTC格式日期时间的固定时间值<br />
+ Key　键盘<br />
- BACKSPACE　Backspace(&lt;-)键<br />
- CAPSLOCK　CapsLock键<br />
- CONTROL　Ctrl键<br />
- DELETEKEY　Delete(Del)键<br />
- DOWN　方向下键<br />
- END　End键<br />
- ENTER　Enter(回车)键<br />
- ESCAPE　Esc键<br />
- getAscii　获取最后一个按下或松开的键的对应字符的Ascii码<br />
- getCode　获取最后一个被按下的键的键盘扫描码<br />
- HOME　Home键<br />
- INSERT　Insert(Ins)键<br />
- isDown　当指定键被按下时返回True值<br />
- isToggled　当指定键被锁定时返回True值<br />
- LEFT　方向左键<br />
- PGDN　PageDown(PGDN)键<br />
- PGUP　PageUp(PGUP)键<br />
- RIGHT　方向右键<br />
- SHIFT　Shift键<br />
- SPACE　空格键<br />
- TAB　Tab键<br />
- UP　方向上键<br />
+ Math　数学函数<br />
- abs　abs(n) 取n的绝对值<br />
- acos　acos(n) n的反余弦(返回值单位:弧度)<br />
- asin　asin(n) n的反正弦(返回值单位:弧度)<br />
- atan　atan(n) n的反正切(返回值单位:弧度)<br />
- atan2　atan2(x,y) 计算x/y的反正切<br />
- ceil　ceil(n) 取靠近n的上限的整数(向上取整)<br />
- cos　cos(n) 取n的余弦(n的单位:弧度)<br />
- E　Euler(欧拉)指数(约为2.718)<br />
- exp　指数<br />
- floor　floor(n) 取靠近n的下限的整数(向下取整)<br />
- LN10　ln10(约等于2.302)<br />
- LN2　ln2(约等于0.693)<br />
- log　取自然对数(e为底)<br />
- LOG10E　10为底取E的对数(约等于0.434)<br />
- LOG2E　2为底取E的对数(约等于1.443)<br />
- max　返回两参数中的最大值<br />
- min　返回两参数中的最小值<br />
- PI　圆周率(约等于3.14159)<br />
- pow　pow(x,y) x的y次方<br />
- random　产生0-1间的随机数<br />
- round　四舍五入取整<br />
- sin　sin(n) 取n的正弦(n的单位:弧度)<br />
- sqrt　开根号<br />
- SQRT1_2　0.5开根号(约等于0.707)<br />
- SQRT2　2开根号(约等于1.414)<br />
- tan　tan(n) 取n的正切(n的单位:弧度)<br />
+ MovieClip　电影剪辑<br />
- attachMovie　绑定一个电影,产生一个库中MC的实体<br />
- dupicateMovieClip　复制当前MC为新的MC<br />
- getURL　使浏览器浏览指定页面<br />
- gotoAndPlay　跳转到指定帧并播放<br />
- gotoAndStop　跳转到指定帧并停止播放<br />
- loadMovie　引入一个外部电影到指定层<br />
- loadVariables　引入外部文件中的变量值<br />
- nextFrame　下一帧<br />
- play　播放<br />
- prevFrame　前一帧<br />
- removeMovieClip　删除用duplicateMovieClip创建的MC<br />
- startDrag　开始拖动MC<br />
- stop　停止MC的播放<br />
- stopDrag　停止拖动MC<br />
- unloadMovie　卸载由loadMovie引入的Movie<br />
+ Mouse　鼠标<br />
- hide　隐藏鼠标指针<br />
- show　显示鼠标指针<br />
+ Number　数值<br />
- MAX_VALUE　FLASH5 所允许的最大数值1.79769313486231 e 308<br />
- MIN_VALUE　FLASH5 所允许的最小数值5 e -324<br />
- NaN　是否为非数值(Not a Number)<br />
- NEGATIVE_INFINITY　是否为负数<br />
- new Number　新建数值物件<br />
- POSITIVE_INFINITY　是否为正数<br />
- toString　将数值转换成字符串<br />
+ Object　物件<br />
- new Object　新建物件<br />
- toString　转换物件为字符串<br />
- valueOf　返回物件的值<br />
+ Selection　选择区<br />
- getBeginIndex　获取可编辑文本区的起始位置,-1表示无可编辑文本区<br />
- getCaretIndex　获取当前的编辑位置,-1表示没有可编辑文本区<br />
- getEndIndex　获取可编辑文本区的结束位置,-1表示无可编辑文本区<br />
- getFocus　获取当前的激活文本区的文本变量名<br />
- setFocus　设置当前的激活文本区<br />
- setSelection　设置可编辑文本的起始位置和终止位置<br />
+ Sound　声音<br />
- attachSound　绑定库中的一个声音<br />
- getPan　获取声音的混音值　[不太清楚]<br />
- getTransform　获取当前声音的变换量(返回值类型:sxform)　[不太清楚]<br />
- getVolume　获取当前声音的音量(百分比)<br />
- new Sound　新建声音物件<br />
- setPan　设置声音的混音值　[不太清楚]<br />
- setTransform　设置当前声音的变换量(参数类型:sxform)　[不太清楚]<br />
- setVloume　设置当前声音的音量(百分比)<br />
- start　开始播放当前声音<br />
- stop　停止播放当前声音<br />
+ String　字符串<br />
- charAt　在指定的索引表中返回一个字符<br />
- charCodeAt　在指定的索引表中返回一个字符的代码<br />
- concat　联结合并多个字符串<br />
- fromCharCode　从字符代码组构造出一个新的字符串<br />
- indexOf　在字符串中寻找子串,返回子串起始位置或-1(-1表示未找到)<br />
- lastIndexOf　在字符串中寻找子串,返回子串终止位置或-1(-1表示未找到)<br />
- length　返回字符串的长度<br />
- new String　新建字符串物件<br />
- slice 返回字符串中指定截取的子串<br />
- split　根据限定符将字符串转换成一个数组<br />
- substr　substr( start, length ) 返回从start开始，共length长的子串<br />
- substring　substring( indexA, indexB ) 返回indexA..indexB之间的子串<br />
- toLowerCase　将字符串中的大写字符全部转换成小写<br />
- toUpperCase　将字符串中的小写字符全部转换**写<br />
+ XML　可扩充性标记语言<br />
- appendChild　添加一个子结点到指定的XML元素<br />
- attributes　XML元素的属性数组<br />
- childNodes　一个XML元素的子结点数组<br />
- cloneNode　克隆(复制)当前结点 <strong><br />
r /&gt;- createElement　新建一个新的XML元素<br />
- createTextNode 新建一个新的XML文本结点<br />
- firstChild　返回当前XML结点的第一个子结点<br />
- hasChildNodes　当前XML结点是否有子结点(返回true有子结点/flash则无)<br />
- insertBefore　在一个指定的XML元素的子结点前插入一个新的子结点<br />
- lastChild　返回当前XML结点的最后一个子结点<br />
- load　从指定的URL把XML元素引入FLASH中<br />
- loaded　当XML元素引入或是发送同时引入FLASH中后,返回true值<br />
- new XML　新建一个XML物件<br />
- nextSibling　当前XML结点的下一个结点<br />
- nodeName　返回当前XML结点的名字<br />
- nodeType　返回当前XML结点的类型(1-元素,3-文本)<br />
- nodeValue　返回当前XML结点的值(text型返回文本)<br />
- onLoad　当引入或发送同时引入时触发事件<br />
- parentNode　返回当前XML结点的父结点<br />
- parseXML　将XML字符串转换成XML物件<br />
- previousSibling　当前XML结点的前一个结点<br />
- removeNode　从XML文本中删除结点<br />
- send　从FLASH中把一个XML元素发送到指定的URL地址<br />
- sendAndLoad　从FLASH中把一个XML元素发送到指定的URL地址同时引入XML结果<br />
- toString　把XML物件转换为XML字符串表达<br />
+ XMLSocket　XML套接口<br />
- close　关闭一个XML套接口<br />
- connect　连接一个XML套接口,指定URL,并定义其端口号<br />
- new XMLSocket　建立一个新的XML套接口<br />
- onClose　关闭XML套接口时触发事件<br />
- onConnect　连接XML套接口时触发事件<br />
- onXML　从服务器上获取XML时触发事件<br />
- send　发送XML给服务器</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/action-script-command.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【转】 大量Flash Builder 4教程资源汇集</title>
		<link>http://www.2astudio.com/post/%e3%80%90%e8%bd%ac%e3%80%91-%e5%a4%a7%e9%87%8fflash-builder-4%e6%95%99%e7%a8%8b%e8%b5%84%e6%ba%90%e6%b1%87%e9%9b%86.html</link>
		<comments>http://www.2astudio.com/post/%e3%80%90%e8%bd%ac%e3%80%91-%e5%a4%a7%e9%87%8fflash-builder-4%e6%95%99%e7%a8%8b%e8%b5%84%e6%ba%90%e6%b1%87%e9%9b%86.html#comments</comments>
		<pubDate>Sun, 22 Aug 2010 12:39:12 +0000</pubDate>
		<dc:creator>Aviva</dc:creator>
				<category><![CDATA[程序人生]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=881</guid>
		<description><![CDATA[<p>小技巧]<br />使用Flash Builder 4，Flex 4 SDK，Flash Catalyst，请确认你的编译版本是基于Flash Player 10.<br /><br />这里有一个非常好的学习Flash Builder 4的教程站点（英文，请别抱怨不是中文的，想成为顶尖的开发人员，无论什么技术都要第一时间看英文的）<br /><a href="http://sujitreddyg.wordpress.com/flash-builder-4/" target="_blank"><font color="#620091">http://sujitreddyg.wordpress.com/flash-builder-4/</font></a><br />...</p>
]]></description>
			<content:encoded><![CDATA[<p>小技巧]<br />
使用Flash Builder 4，Flex 4 SDK，Flash Catalyst，请确认你的编译版本是基于Flash Player 10.</p>
<p>这里有一个非常好的学习Flash Builder 4的教程站点（英文，请别抱怨不是中文的，想成为顶尖的开发人员，无论什么技术都要第一时间看英文的）<br />
<a href="http://sujitreddyg.wordpress.com/flash-builder-4/" target="_blank"><span style="color: #620091;">http://sujitreddyg.wordpress.com/flash-builder-4/</span></a></p>
<p>中文Flash Builder 4教程大家可以关注AIRIA的Flash Builder 4版块<br />
<a href="http://floger.javaeye.com/blog/" target="_blank"><span style="color: #620091;">http://bbs.airia.cn/Flash_Builder_4/list-1.aspx</span></a></p>
<p>另外，Adobe官方也推出了大量关于Flash Builder 4，Flex 4 SDK，Flash Catalyst的教程：</p>
<p>Getting started with Adobe Flash Catalyst beta<span id="more-881"></span><br />
<a href="http://www.adobe.com/devnet/flashcatalyst/articles/get_started_with_flash_catalyst.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flashcatalyst/articles/get_started_with_flash_catalyst.html</span></a></p>
<p>Building a data-centric application using Flash Catalyst beta and Flash Builder 4 beta<br />
<a href="http://www.adobe.com/devnet/flashcatalyst/articles/building_datacentric_app_flashcast_flashbuilder.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flashcatalyst/articles/building_datacentric_app_flashcast_flashbuilder.html</span></a></p>
<p>Differences between Flex 3 SDK and Flex 4 SDK beta<br />
<a href="http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html</span></a></p>
<p>What&#8217;s new in Flex 4 SDK beta<br />
<a href="http://www.adobe.com/devnet/flex/articles/flex4sdk_whatsnew.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/flex4sdk_whatsnew.html</span></a></p>
<p>What&#8217;s new in Flash Builder 4 beta<br />
<a href="http://www.adobe.com/devnet/flex/articles/flex4builder_whatsnew.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/flex4builder_whatsnew.html</span></a></p>
<p>Effects in Adobe Flex 4 SDK beta – Part 1: Basic effects<br />
<a href="http://www.adobe.com/devnet/flex/articles/flex4_effects_pt1.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/flex4_effects_pt1.html</span></a></p>
<p>Flash Builder 4 beta for ColdFusion developers<br />
<a href="http://www.adobe.com/devnet/flex/articles/fcf_flex_for_coldfusion_developers.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/fcf_flex_for_coldfusion_developers.html</span></a></p>
<p>Update Flex for ColdFusion developers mini learning guide<br />
<a href="http://www.adobe.com/devnet/flex/flex_cf.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/flex_cf.html</span></a></p>
<p>Getting started with ColdFusion and Flash Builder 4 beta<br />
<a href="http://www.adobe.com/devnet/flex/articles/fcf_getting_started_coldfusion_flex.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/fcf_getting_started_coldfusion_flex.html</span></a></p>
<p>Understanding the role of CFCs in Flex application development<br />
<a href="http://www.adobe.com/devnet/flex/articles/fcf_ataglance_flex_coldfusion.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/fcf_ataglance_flex_coldfusion.html</span></a></p>
<p>Binding ColdFusion data to Flex UI components with Adobe Flash Builder 4 beta<br />
<a href="http://www.adobe.com/devnet/flex/articles/fcf_binding_data.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/fcf_binding_data.html</span></a></p>
<p>Creating ColdFusion Master/Detail forms with Adobe Flash Builder 4 beta<br />
<a href="http://www.adobe.com/devnet/flex/articles/fcf_master_detail.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/fcf_master_detail.html</span></a></p>
<p>Managing ColdFusion data with Adobe Flash Builder 4 beta<br />
<a href="http://www.adobe.com/devnet/flex/articles/fcf_managing_data.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/fcf_managing_data.html</span></a></p>
<p>Generating ColdFusion forms with Adobe Flash Builder 4 beta<br />
<a href="http://www.adobe.com/devnet/flex/articles/fcf_generating_forms.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/fcf_generating_forms.html</span></a></p>
<p>Deploying a Flex application with ColdFusion URL variables<br />
<a href="http://www.adobe.com/devnet/flex/articles/fcf_deploying_flash.html" target="_blank"><span style="color: #620091;">http://www.adobe.com/devnet/flex/articles/fcf_deploying_flash.html</span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/%e3%80%90%e8%bd%ac%e3%80%91-%e5%a4%a7%e9%87%8fflash-builder-4%e6%95%99%e7%a8%8b%e8%b5%84%e6%ba%90%e6%b1%87%e9%9b%86.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>饭局里不可不学的规则细节, 礼仪</title>
		<link>http://www.2astudio.com/post/%e9%a5%ad%e5%b1%80%e9%87%8c%e4%b8%8d%e5%8f%af%e4%b8%8d%e5%ad%a6%e7%9a%84%e8%a7%84%e5%88%99%e7%bb%86%e8%8a%82-%e7%a4%bc%e4%bb%aa.html</link>
		<comments>http://www.2astudio.com/post/%e9%a5%ad%e5%b1%80%e9%87%8c%e4%b8%8d%e5%8f%af%e4%b8%8d%e5%ad%a6%e7%9a%84%e8%a7%84%e5%88%99%e7%bb%86%e8%8a%82-%e7%a4%bc%e4%bb%aa.html#comments</comments>
		<pubDate>Fri, 06 Aug 2010 07:54:19 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[生活碎片]]></category>
		<category><![CDATA[礼仪]]></category>
		<category><![CDATA[饭局礼仪]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=880</guid>
		<description><![CDATA[<p>在中国，办事吃饭是常事，但是这样的饭局往往是不好应付的，诸多的潜规则等待你去体味。为了不出丑，呵呵，还是提早学习下为好。<br /><br />注意细节：<br /><br /><strong>1&#8212;座次</strong><br /><br />总的来讲，座次是&#8220;尚左尊东&#8221;、&#8220;面朝大门为尊&#8221;。若是圆桌，则正对大门的为主客，主客左右手边的位置，则以离主客的距离来看，越靠近主客位置越尊，相同距离则左侧尊于右侧。若为八仙桌，如果有正对大门的座位，则正对大门一侧的右位为主客。如果不正对大门，则面东的一侧右席为首席。<br />...</p>
]]></description>
			<content:encoded><![CDATA[<p>在中国，办事吃饭是常事，但是这样的饭局往往是不好应付的，诸多的潜规则等待你去体味。为了不出丑，呵呵，还是提早学习下为好。</p>
<p>注意细节：</p>
<p><strong>1—座次</strong></p>
<p>总的来讲，座次是“尚左尊东”、“面朝大门为尊”。若是圆桌，则正对大门的为主客，主客左右手边的位置，则以离主客的距离来看，越靠近主客位置越尊，相同距离则左侧尊于右侧。若为八仙桌，如果有正对大门的座位，则正对大门一侧的右位为主客。如果不正对大门，则面东的一侧右席为首席。<span id="more-880"></span></p>
<p>如果为大宴，桌与桌间的排列讲究首席居前居中，左边依次2、4、6席，右边为3、5、7席，根据主客身份、地位，亲疏分坐。如果你是主人，你应该提前到达，然后在靠门位置等待，并为来宾引座。如果你是被邀请者，那么就应该听从东道主安排入座。一般来说，如果你的老板出席的话，你应该将老板引至主座，请客户最高级别的坐在主座左侧位置。除非这次招待对象的领导级别非常高。<br />
<strong><br />
2—点菜</strong></p>
<p>如果时间允许，你应该等大多数客人到齐之后，将菜单供客人传阅，并请他们来点菜。当然，作为公务宴请，你会担心预算的问题，因此，要控制预算，你最重要的是要多做饭前功课，选择合适档次的请客地点是比较重要的，这样客人也能大大领会你的预算。况且一般来说，如果是你来买单，客人也不太好意思点菜，都会让你来作主。如果你的老板也在酒席上，千万不要因为尊重他，或是认为他应酬经验丰富，酒席吃得多，而让他／她来点菜，除非是他／她主动要求。否则，他会觉得不够体面。如果你是赴宴者，你应该知道，你不该在点菜时太过主动，而是要让主人来点菜。</p>
<p>如果对方盛情要求，你可以点一个不太贵、又不是大家忌口的菜。记得征询一下桌上人的意见，特别是问一下“有没有哪些是不吃的？”或是“比较喜欢吃什么？”让大家感觉被照顾到了。点菜后，可以请示“我点了菜，不知道是否合几位的口味 ”，“要不要再来点其它的什么”等等。点菜时，一定要心中有数。点菜时，可根据以下三个规则：</p>
<p>一看人员组成。一般来说，人均一菜是比较通用的规则。如果是男士较多的餐会可适当加量。</p>
<p>二看菜肴组合。一般来说，一桌菜最好是有荤有素，有冷有热，尽量做到全面。如果桌上男士多，可多点些荤食，如果女士较多，则可多点几道清淡的蔬菜。</p>
<p>三看宴请的重要程度。若是普通的商务宴请，平均一道菜在50元到80元左右可以接受。如果这次宴请的对象是比较关键人物，那么则要点上几个够份量的菜，例如龙虾、刀鱼、鲥鱼，再要上规格一点，则是鲍鱼、翅粉等。</p>
<p>还有一点需要注意的是，点菜时不应该问服务员菜肴的价格，或是讨价还价，这样会让你公司在客户面前显得有点小家子气，而且客户也会觉得不自在。</p>
<p><strong>3—吃菜<br />
</strong><br />
中国人一般都很讲究吃，同时也很讲究吃相。随着职场礼仪越来越被重视，商务饭桌上的吃和吃相也更加讲究。以下以中餐为例，教你如何在餐桌上有礼有仪，得心应手。中餐宴席进餐伊始，服务员送上的第一道湿毛巾是擦手的，不要用它去擦脸。上龙虾、鸡、水果时，会送上一只小小水孟，其中飘着拧檬片或玫瑰花瓣，它不是饮料，而是洗手用的。洗手时，可两手轮流沾湿指头，轻轻涮洗，然后用小毛巾擦干。用餐时要注意文明礼貌。对外宾不要反复劝菜，可向对方介绍中国菜的特点，吃不吃由他。</p>
<p>有人喜欢向他人劝菜，甚至为对方夹菜。外宾没这个习惯，你要是一再客气，没准人家会反感：“说过不吃了，你非逼我干什么？”依此类推，参加外宾举行的宴会，也不要指望主人会反复给你让菜。你要是等别人给自己布菜，那就只好俄肚子。客人入席后，不要立即动手取食。而应待主人打招呼，由主人举杯示意开始时，客人才能开始；客人不能抢在主人前面。夹菜要文明，应等菜肴转到自已面前时，再动筷子，不要抢在邻座前面，一次夹菜也不宜过多。要细嚼慢咽，这不仅有利于消化，也是餐桌上的礼仪要求。</p>
<p>决不能大块往嘴里塞，狼吞虎咽，这样会给人留下贪婪的印象。不要挑食，不要只盯住自己喜欢的莱吃，或者急忙把喜欢的菜堆在自己的盘子里。用餐的动作要文雅，夹莱时不要碰到邻座，不要把盘里的菜拨到桌上，不要把汤泼翻。不要发出不必要的声音，如喝汤时“咕噜咕噜”，吃菜时嘴里“叭叭”作响，这都是粗俗的表现。不要一边吃东西，一边和人聊天。嘴里的骨头和鱼刺不要吐在桌子上，可用餐巾掩口，用筷子取出来放在碟子里。掉在桌子上的菜，不要再吃。进餐过程中不要玩弄碗筷，或用筷子直向别人。</p>
<p>不要用手去嘴里乱抠。用牙签剔牙时，应用手或餐巾掩住嘴。不要让餐具发出任何声响。用餐结束后，可以用餐巾、餐巾纸或服务员送来的小毛巾擦擦嘴，但不宜擦头颈或胸脯；餐后不要不加控制地打饱嗝或嗳气；在主人还没示意结束时，客人不能先离席。</p>
<p><strong>4—喝酒</strong></p>
<p>俗话说，酒是越喝越厚，但在酒桌上也有很多学问讲究，以下总结了一些酒桌上的你不得不注意的小细节。</p>
<p>细节一：领导相互喝完才轮到自己敬酒。敬酒一定要站起来，双手举杯。</p>
<p>细节二：可以多人敬一人，决不可一人敬多人，除非你是领导。</p>
<p>细节三：自己敬别人，如果不碰杯，自己喝多少可视乎情况而定，比如对方酒量，对方喝酒态度，切不可比对方喝得少，要知道是自己敬人。</p>
<p>细节四：自己敬别人，如果碰杯，一句，我喝完，你随意，方显大度。</p>
<p>细节五：记得多给领导或客户添酒，不要瞎给领导代酒，就是要代，也要在领导或客户确实想找人代，还要装作自己是因为想喝酒而不是为了给领导代酒而喝酒。比如领导甲不胜酒力，可以通过旁敲侧击把准备敬领导甲的人拦下。</p>
<p>细节六：端起酒杯(啤酒杯)，右手扼杯，左手垫杯底，记着自己的杯子永远低于别人。自己如果是领导，知趣点，不要放太低，不然怎么叫下面的做人？</p>
<p>细节七：如果没有特殊人物在场，碰酒最好按时针顺序，不要厚此薄彼。</p>
<p>细节八：碰杯，敬酒，要有说词，不然，我干吗要喝你的酒？</p>
<p>细节九：桌面上不谈生意，喝好了，生意也就差不多了，大家心里面了了然，不然人家也不会敞开了跟你喝酒。</p>
<p>细节十：假如，纯粹是假如，遇到酒不够的情况，酒瓶放在桌子中间，让人自己添，不要傻不垃圾的去一个一个倒酒，不然后面的人没酒怎么办？</p>
<p>关于敬酒 1、主人敬主宾。 2、陪客敬主宾。 3、主宾回敬。 4、陪客互敬。 记住：作客绝不能喧宾夺主乱敬酒，那样是很不礼貌，也是很不尊重主人的。</p>
<p><strong>5—离席</strong></p>
<p>一般酒会和茶会的时间很长，大约都有在两小时以上。也许逛了几圈，认得一些人后，你很快就想离开了。这时候，中途离席的一些技巧，你不能不了解。常见一场宴会进行得正<br />
热烈的时候，因为有人想离开，而引起众人一哄而散的结果，使主办人急得真跳脚。欲避免这种煞风景的后果，当你要中途离开时，千万别和谈话圈里的每一个人一一告别，只要悄悄地和身边的两、三个人打个招呼，然后离去便可。</p>
<p>中途离开酒会现场，一定要向邀请你来的主人说明、致歉，不可一溜烟便不见了。和主人打过招呼，应该马上就走，不要拉着主人在大门大聊个没完。因为当天对方要做的事很多，现场也还有许多客人等待他(她)去招呼，你占了主人太多时间，会造成他(她)在其他客人面前失礼。有些人参加酒会、茶会，当中途准备离去时，会一一问她所认识的每一个人要不要一块走。结果本来热热闹闹的场面，被她这么一鼓动，一下子便提前散场了。这种闹场的事，最难被宴会主人谅解，一个有风度的人，可千万不要犯下这钟错误。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/%e9%a5%ad%e5%b1%80%e9%87%8c%e4%b8%8d%e5%8f%af%e4%b8%8d%e5%ad%a6%e7%9a%84%e8%a7%84%e5%88%99%e7%bb%86%e8%8a%82-%e7%a4%bc%e4%bb%aa.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>哪怕是年薪$300,000的~换来的是还是杯具 （转）</title>
		<link>http://www.2astudio.com/post/%e5%93%aa%e6%80%95%e6%98%af%e5%b9%b4%e8%96%aa300000%e7%9a%84%e6%8d%a2%e6%9d%a5%e7%9a%84%e6%98%af%e8%bf%98%e6%98%af%e6%9d%af%e5%85%b7-%ef%bc%88%e8%bd%ac%ef%bc%89.html</link>
		<comments>http://www.2astudio.com/post/%e5%93%aa%e6%80%95%e6%98%af%e5%b9%b4%e8%96%aa300000%e7%9a%84%e6%8d%a2%e6%9d%a5%e7%9a%84%e6%98%af%e8%bf%98%e6%98%af%e6%9d%af%e5%85%b7-%ef%bc%88%e8%bd%ac%ef%bc%89.html#comments</comments>
		<pubDate>Mon, 02 Aug 2010 08:14:26 +0000</pubDate>
		<dc:creator>atk</dc:creator>
				<category><![CDATA[生活碎片]]></category>

		<guid isPermaLink="false">http://2astudio.com.fb6f.8-host.com/?p=879</guid>
		<description><![CDATA[最近我的一位弟兄刚刚离婚，常常跑到我家来聊天诉苦。这位弟兄算是大家羡慕的成功人士吧，他在华尔街任分析师，年薪在$300，000左右，开辆BMW。我和他是大学同学，又都住在NewJersey，现在已是无话不说。说来惭愧，我的年薪只有$70，000，还有在家带两个小孩不工作的老婆，买房子是根本不用想了，也总被一些同学认为没出息。本来老婆和我是准备帮助这位弟兄和他老婆和好的，但是我知道他们离婚的原因后....
]]></description>
			<content:encoded><![CDATA[<p>最近我的一位弟兄刚刚离婚，常常跑到我家来聊天诉苦。这位弟兄算是大家羡慕的成功人士吧，他在华尔街任分析师，年薪在$300，000左右，开辆BMW。我和他是大学同学，又都住在NewJersey，现在已是无话不说。说来惭愧，我的年薪只有$70，000，还有在家带两个小孩不工作的老婆，买房子是根本不用想了，也总被一些同学认为没出息。</p>
<p>本来老婆和我是准备帮助这位弟兄和他老婆和好的，但是我知道他们离婚的原因后，也觉得无话可说了。我一向羡慕这弟兄，那么有追求，事业那么成功，看我这土老冒，安逸享乐，这辈子算浪费了。可是在我知道这弟兄离婚的原因后，开始对生活有了新的认识。这弟兄和老婆是大学同学，青梅竹马，羡煞人。来美国后，两人都开始为学习生活努力，并且毕业后都找到好工作，更羡煞人。工作两年后，弟兄被哥大录取去读MBA，毕业后又到华尔街工作，而我这时刚在一个学校找到职位，老婆也生了个儿子，羡慕死人家了。<span id="more-879"></span></p>
<p>可是不要只是看到这弟兄光鲜的外表，他的婚姻却正在经历痛苦。刚开始两人一起工作时，他老婆问要不要小孩，他说还有好多事没有做完，没有精力。在念MBA时，每天早出晚归，连老婆也忽略了，老婆几次希望能亲密一下，他都已经睡着了。在华尔街工作后，老婆认为终于可以喘口气了，却不想他更是每天早出晚归，因为工作压力比念MBA还大。又过了两年，我都又有个女儿了，他的薪水加奖金也几乎是我薪水的3倍了，老婆却要和他离婚了。女人也有压力的，那就是生小孩，她的年龄已经太大，不生就晚了；而他却天天忙工作，回到家不是太晚就是太累，他们大概每年有一两次就不错。最近，他发现他自己阳萎了，试了几次都不行。老婆一气之下和他离婚了——不是因为他阳萎，而是因为他不爱她。</p>
<p>听完他的诉苦，我无话可说。一直被大家羡慕的夫妻生活竟是这样过的，BMW里装的竟全是痛苦。钱，钱，钱，现在的人为什么就好像是钻到了钱眼里，忽略了其他任何的一切。钱是身外之物，生不带来，死不带走，赚那么多却没有机会花岂不是很悲哀。我相信现在每年赚$300，000的他宁可花$230,000每年来买我的生活，我的老婆和小孩，可是为什么非要到太晚才觉悟呢？他现在正在找一个压力小薪水低的工作，可是谈何容易。除了其他华尔街公司要他做类似的职位外几乎没有其他公司愿意出那么高价来聘用他——他薪水的一半对于一般的公司都太高了。他开玩笑说是走上了不归路。</p>
<p>生活的真正意义是你在死前回过头来问自己是不是活的很快乐，是不是对得起家人，而不是一辈子赚了多少钱。我们的小孩也根本不在乎他们是不是有高级玩具，而是有没有爸爸陪他们玩最廉价的LEGO。有人说如果不趁年轻时赚钱将来怎么办。人不能活在将来里，因为你怎么知道你有将来？你甚至怎么知道你有明天？将来还有将来的将来，什么时候是你的今天？钱也是永远赚不完的。但是你一定确定你有现在，你可以把现在活好。而且有没有出息并不是用钱来衡量的。对于我来说，我的出息是可以每天早早回到家陪家人吃饭和陪小孩玩。我有出息。</p>
<p>刚刚收到一份EMAIL故事和大家分享：<br />
多年前我跟悉尼的一位同学谈话。那时他太太刚去世不久，他告诉我说，他在整理他太太的东西的时候，发现了一条丝质的围巾，那是他们去纽约旅游时，在一家名牌店买的，那是一条雅致、漂亮的名牌围巾，高昂的价格卷标还挂在上面，他太太一直舍不得用，她想等一个特殊的日子才用。</p>
<p>讲到这里，他停住了，我也没接话，好一会后他说：“再也不要把好东西留到特别的日子才用，你活着的每一天都是特别的日子!”</p>
<p>以后，每当我想起这几句话时，我常会把手边的杂事放下，找一本小说，打开音响，躺在沙发上，抓住一些自己的时间。我会从落地窗欣赏淡水河的景色，不去管玻璃上的灰尘，我会拉着太太到外面去吃饭，不管家里的菜饭该怎么处理。生活应当是我们珍惜的一种经验，而不是要捱过去的日子。</p>
<p>我曾经将这段谈话与一位女士分享，后来见面时，她告诉我她现在已不像从前那样，把美丽的瓷具放在酒柜里了。以前她也以为要留待特别的日子才拿出来用，后来发现那一天从未到来。“将来”，“总有一天”已经不存在她的字典里了。如果有什么值得高兴的事，有什么得意的事，她现在就要听到，就要看到。</p>
<p>我们常想跟老朋友聚一聚，但总是说“找机会”。我们常想拥抱一下已经长大的小孩，但总是等适当的时机。我们常想写封信给另外一半，表达一下浓郁的情意，或甚至想让他知道你很佩服他，但总是告诉自己不急。</p>
<p>其实每天早上我们睁开眼睛时，都要告诉自己这是特别的一天。每一天，每一分钟都是那么可贵。</p>
<p>有人说：你该尽情的跳舞，好象没有人在看你一样。<br />
你该尽情的爱人，好象从来不会受伤害一样。<br />
我也要尽情的跳舞，尽情的爱。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2astudio.com/post/%e5%93%aa%e6%80%95%e6%98%af%e5%b9%b4%e8%96%aa300000%e7%9a%84%e6%8d%a2%e6%9d%a5%e7%9a%84%e6%98%af%e8%bf%98%e6%98%af%e6%9d%af%e5%85%b7-%ef%bc%88%e8%bd%ac%ef%bc%89.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

