<?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>风羽博客 &#124; 专注网站前端设计</title>
	<atom:link href="http://www.phoyu.com/404.php/feed?404;http://www.phoyu.com:80/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phoyu.com</link>
	<description>朱茂华个人博客 &#124; 风羽博客</description>
	<lastBuildDate>Tue, 18 Oct 2011 11:17:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Web前端开发工具整理</title>
		<link>http://www.phoyu.com/design/webqianduankaifagongjuzhengli.html</link>
		<comments>http://www.phoyu.com/design/webqianduankaifagongjuzhengli.html#comments</comments>
		<pubDate>Mon, 17 Oct 2011 14:25:44 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[web前端技术]]></category>
		<category><![CDATA[前端工具]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=278</guid>
		<description><![CDATA[大名鼎鼎的Firebug
Firebug是firefox下的一个插件,能够调试所有网站语言,如Html,Css等……
微软的Fiddler
Fiddler是一个web调试代理。它能够记录所有客户端和服务器间的http请求……
FSCapture
FSCapture是一款抓屏工具

 <a href="http://www.phoyu.com/design/webqianduankaifagongjuzhengli.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>大名鼎鼎的Firebug</strong></p>
<p>Firebug是firefox下的一个插件,能够调试所有网站语言,如Html,Css等，但FireBug最吸引我的就是javascript调试功能，使用起来非常方便，而且在各种浏览器下都能使用（IE,Firefox,Opera, Safari）。除此之外，其他功能还很强大，比如html,css,dom的察看与调试，网站整体分析等等。总之就是一整套完整而强大的 WEB开发工具。再有就是其为开源的软件。</p>
<p><strong>微软的Fiddler</strong></p>
<p>Fiddler是一个web调试代理。它能够记录所有客户端和服务器间的http请求，允许你监视，设置断点，甚至修改输入输出数据，fiddler包含了一个强大的基于事件脚本的子系统，并且能够使用.net框架语言扩展。</p>
<p>微软的Fiddler 包含一个简单却功能强大的基于JScript .NET 事件脚本子系统，他非常灵活非常棒，可以支持众多的http调试任务。Fiddler 是用C#写出来的。它还是一个http调试代理，它能 够记录所有的你电脑和互联网之间的http通讯，Fiddler 可以也可以让你检查所有的http通讯，设置断点，以及Fiddle 所有的“进出”的数据（指cookie,html,js,css等文件，这些都可以让你胡乱修改的意思）。 Fiddler 要比其他的网络调试器要更加简单，因为它仅仅暴露http通讯还有提供一个用户友好的格式。</p>
<p><strong>FSCapture</strong></p>
<p><strong></strong>FSCapture是一款抓屏工具，附带的其他三个小功能：取色器、标尺和屏幕放大镜。对抓取的图像提供缩放、旋转、减切、颜色调整等功能。只要点点鼠标就能随心抓取屏幕上的任何东西，拖放支持可以直接从系统、浏览器或其他程序中导入图片。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/webqianduankaifagongjuzhengli.html/feed</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>A标签点击去除边框虚线</title>
		<link>http://www.phoyu.com/divcss/abiaoqiandianjiquchubiankuangxuxian.html</link>
		<comments>http://www.phoyu.com/divcss/abiaoqiandianjiquchubiankuangxuxian.html#comments</comments>
		<pubDate>Tue, 26 Jul 2011 04:51:05 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[web前端技术]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=275</guid>
		<description><![CDATA[a{outline:none;}
a:active{star:expression(this.onFocus=this.blur());}/*IE*/
a:focus{outline:none;}/*FF*/

a {outline: none;star:expression(this.onFocus=this.blur());}
直接写在A标签有些瑕疵，不完美，页面渲染想来可能会很卡，原因是写在A里，那么不管是鼠标放上，鼠标点击，还是默认，都会执行 star:expression(this.onFocus=this.blur());，

解决办法就是写成这样：
a:active {outline: none;star:expression(this.onFocus=this.blur());}
 <a href="http://www.phoyu.com/divcss/abiaoqiandianjiquchubiankuangxuxian.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>a{outline:none;}<br />
a:active{star:expression(this.onFocus=this.blur());}/*IE*/<br />
a:focus{outline:none;}/*FF*/</p>
<p>a {outline: none;star:expression(this.onFocus=this.blur());}<br />
直接写在A标签有些瑕疵，不完美，页面渲染想来可能会很卡，原因是写在A里，那么不管是鼠标放上，鼠标点击，还是默认，都会执行 star:expression(this.onFocus=this.blur());，</p>
<p>解决办法就是写成这样：<br />
a:active {outline: none;star:expression(this.onFocus=this.blur());}</p>
<p>实现的效果是要点击的时候没有虚线，所以就写在a:active里就可以了<br />
要同时兼容IE和火狐浏览器，样式直接写成以下就可以：<br />
a {outline: none;}a:active {star:expression(this.onFocus=this.blur());}</p>
<p>也可以单独写：<br />
===IE===<br />
为链接添加onFocus事件<br />
if(this.blur)this.blur()或者用IE的私有属性hideFocus=”hide”;</p>
<p>===Firefox===<br />
添加CSS<br />
:focus{outline:0}<br />
该CSS可以作为全局存在，即在样式表中单独存在一行该代码即可时全页面的链接不带有虚线框。</p>
<p>===Chrome, Safari===<br />
这两个浏览器在点击链接时本身没有虚线框</p>
<p>===Jquery框架===<br />
如果你使用Jquery框架的话，可以添加以下代码即可实现(raycross 提供)<br />
$(“a”).bind(“focus”,function() {<br />
if(this.blur) {this.blur()};<br />
});</p>
<p><strong>最终用法是在CSS文件直接加入：</strong><br />
a {outline: none;}<br />
a:active {star:expression(this.onFocus=this.blur());}<br />
:focus { outline:0; }</p>
<p>如果页面上只有一两个链接的话，直接加到里面也行，就像这样<br />
&lt; a href=””#”” onfocus=””this.blur()””&gt;&lt;img src=””logo.jpg”” border=”0&#8243; alt=”" /&gt;&lt;/a&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/abiaoqiandianjiquchubiankuangxuxian.html/feed</wfw:commentRss>
		<slash:comments>59</slash:comments>
		</item>
		<item>
		<title>收集了几款日期选择表单控件</title>
		<link>http://www.phoyu.com/divcss/shoujiliaojikuanriqixuanzebiaodankongjian.html</link>
		<comments>http://www.phoyu.com/divcss/shoujiliaojikuanriqixuanzebiaodankongjian.html#comments</comments>
		<pubDate>Sun, 08 May 2011 05:19:23 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[js效果]]></category>
		<category><![CDATA[web前端技术]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=273</guid>
		<description><![CDATA[<img class="alignnone" title="风羽博客日期选择控件" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/5/8/datepic.gif" alt="风羽博客日期选择控件" />

第一款较简洁，我作了小小的修改，改成中文日期形式；

&#160;

第二款是My97日期控件，功能相当强大，也非常方便使用和修改。 <a href="http://www.phoyu.com/divcss/shoujiliaojikuanriqixuanzebiaodankongjian.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="风羽博客日期选择控件" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/5/8/datepic.gif" alt="风羽博客日期选择控件" /></p>
<p>第一款较简洁，我作了小小的修改，改成中文日期形式；</p>
<p>代码：</p>
<div class="runcode">
<p><textarea name="runcode" style="height:200px;width:550px;font-size:12px" class="runcode_text" id="runcode_TQ6nzq">
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
&lt;html debug=&quot;true&quot;&gt;
&lt;head&gt;
  &lt;title&gt;jQuery Date Input&lt;/title&gt;
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.phoyu.com/myjs/jquery.date_input.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot;&gt;$($.date_input.initialize);&lt;/script&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;http://www.phoyu.com/css/date_input.css&quot; type=&quot;text/css&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h2&gt;This is a test&lt;/h2&gt;
&lt;p&gt;Please see the file TESTING for more information.&lt;/p&gt;
&lt;form action=&quot;#&quot;&gt;
  &lt;p&gt;
    &lt;input type=&quot;text&quot; name=&quot;date&quot; class=&quot;date_input&quot;&gt;
  &lt;/p&gt;
  &lt;p&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</textarea></p>
<p><input type="button" value="运行" class="runcode_button" onclick="runcode_open_new('runcode_TQ6nzq');"/> <input type="button" value="复制" class="runcode_button" onclick="runcode_copy('runcode_TQ6nzq');"/> <input type="button" value="另存代码" class="runcode_button" onclick="saveCode('runcode_TQ6nzq','runcode_TQ6nzq');"/> 提示：你可以先修改部分代码再运行。</p>
</div>
<p>&nbsp;</p>
<p>第二款是My97日期控件，功能相当强大，也非常方便使用和修改。</p>
<p>地址：<a title="http://jqueryui.com/demos/datepicker/" href="http://www.my97.net/dp/index.asp" target="_blank">http://www.my97.net/dp/index.asp</a></p>
<p>&nbsp;</p>
<p>第三款，下面这一款是多样式、多类型的一个日期选择插件。</p>
<p><a title="http://jqueryui.com/demos/datepicker/" href="http://jqueryui.com/demos/datepicker/" target="_blank">http://jqueryui.com/demos/datepicker/</a></p>
<p><img title="风羽博客日期选择控件" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/5/8/datepic2.gif" alt="风羽博客日期选择控件" /></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/shoujiliaojikuanriqixuanzebiaodankongjian.html/feed</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>细节让网页设计与众不同</title>
		<link>http://www.phoyu.com/design/xijierangwangyeshejiyuzhongbutong.html</link>
		<comments>http://www.phoyu.com/design/xijierangwangyeshejiyuzhongbutong.html#comments</comments>
		<pubDate>Tue, 29 Mar 2011 15:19:01 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[UI设计]]></category>
		<category><![CDATA[视觉设计]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=272</guid>
		<description><![CDATA[<img class="alignnone" title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt1.jpg" alt="细节让网页设计与众不同" />

细节使得这个世界从平凡变得不平凡。

一辆豪华汽车与传统汽车拥有同样数量的车轮、座位、门窗，但是使得它在竞争中脱颖而出的却是花费在细节上的时间。加热真皮座椅，一按即启动引擎，无钥车门开关，自动泊车系统，丰富的数字电台等等使得它成为一辆昂贵的新型车。 <a href="http://www.phoyu.com/design/xijierangwangyeshejiyuzhongbutong.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt1.jpg" alt="细节让网页设计与众不同" width="550" height="200" /></p>
<p>细节使得这个世界从平凡变得不平凡。</p>
<p>一辆豪华汽车与传统汽车拥有同样数量的车轮、座位、门窗，但是使得它在竞争中脱颖而出的却是花费在细节上的时间。加热真皮座椅，一按即启动引擎，无钥车门开关，自动泊车系统，丰富的数字电台等等使得它成为一辆昂贵的新型车。</p>
<p><a href="http://rockux.com/wp-content/uploads/2011/03/0046-01_difference_details_thumbnail.jpg"></a></p>
<p>同样的规则也适用于网页设计。愿意花费时间专注于细节的网页设计师能够获得拥有更多价值的设计。这里的关键词就是价值。我们无法保证建立网站所花费的时间和其结果所带来的价值之间有直接的关系，总有一些细节比其他更加重要，关键是要能够确定哪些细节更具有影响力。</p>
<h3>增加价值的细节</h3>
<p>这一类型的细节是我们愿意在审美层面之外花费额外时间以改进我们工作的细节。我们希望专注于可以深入改变用户体验的视觉调整，例如用户对该网站的主题和消息的体验或者他们如何畅游网站。</p>
<p>一般的没有建站经验的网站访问者，无法指出某些细微差别来的用户体验改善，但是如果这些细节被移除，用户将在感知和可用性方面感觉到明显的差异。这些就是我们愿意花费时间的细节。</p>
<p>那么一个设计细节到底如何为网站带来附加价值呢？诀窍就在于用户体验。网站设计师应该能够出色的理解负空间、对比度、形状、颜色和所有不同的视觉元素在用户使用和体验一个网站设计时所起的作用。真正令人惊讶的是设计者仅仅需要操纵几个像素就可以发生很大的差异，使之产生更大的影响。</p>
<p>这些差异到底是什么？</p>
<h3>进一步观察</h3>
<p>我觉得Photoshop最令人舒服的是当我将图片放大到500%甚至更大时，它看上去就像在家一样舒服。我们来仔细研究一些相当成功的用细微细节引导用户体验方面图片吧。</p>
<p>以<a href="http://getconcentrating.com/" target="_blank">Concentrate</a> 网站为例，它看起来很适合我们初次集中精力来欣赏。从一个高层次的视角开始，我们可以看到Concentrate网站的使用了一个富有创意视觉技巧。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt2.jpg" alt="细节让网页设计与众不同" width="550" height="260" /></p>
<p>除了这罐橙汁，我们看到一个橙色为主题的调色板和背景，很好的模拟了真实的橙子的果肉口感。进一步研究，我们发现它使用了CSS3为文本增加一些阴影来增加与背景的对比。为了真正的欣赏细节，我们需要在进一步的研究。</p>
<h3>像素级完善</h3>
<p>真正的细节应用在像素级。我们再来看Concentrate的快捷按钮周围，靠近网页布局顶端的部分。首先，按钮背后的阴影将页面上的这部分突出出来。该区域顶端和底部的两个简单的单像素线是一个简洁的设计方式，它使得这个区域在视觉效果上更明显的区别于页面上的其他元素。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt3.jpg" alt="细节让网页设计与众不同" width="550" height="145" /></p>
<p>其中的一个单像素线条更引人注意，这是因为它使用了亮橙色。它为两者之间的阴影和背景提供了对比，但是真正起作用的却是第二个暗橙色的线条。两个线条相互配合起来封锁了这个顶部区域。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt4.jpg" alt="细节让网页设计与众不同" width="550" height="145" /></p>
<h3>差异</h3>
<p>当这个页面不再包括这些线条的设计的时候，差异就能最好的表现出来。下面，我将移去这些线条来向大家展示两个像素能够带来怎样的不同。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt5.jpg" alt="细节让网页设计与众不同" width="550" height="145" /></p>
<h3>微妙的阴影</h3>
<p>阴影效果对于网页设计者来说已经不陌生了。许多网站很早就开始使用它们并且经常模拟平面深度及二维介质。阴影和高亮可以微妙但强有力地改善我们网站的用户体验。</p>
<p>我们在设计中采用CSS3，它可以带来的宏伟的差异让我们很容易为之兴奋不已。而对于我来说，真正值得兴奋是有多少细节工作可以从图片处理软件转移到我们网站的代码上去。</p>
<p>还是来看这个Concentrate网站，它是一个很不错的例子，使用巧妙而有效地使用文字阴影效果使网站内容更容易阅读。这里以两种方式使用了CSS3的text-shadow属性。首先红色的标题在与背景颜色相近的情况下，被赋予淡淡的阴影以产生内嵌式的效果。基次在段落后面简单地给白色一点发射效果。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt6.jpg" alt="细节让网页设计与众不同" width="550" height="145" /></p>
<h3>差异</h3>
<p>比较上面的截图以及同样的页面在IE8（不支持text-shadow属性）下渲染的效果，我们就能发现它更难看得很多。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt7.jpg" alt="细节让网页设计与众不同" width="550" height="145" /></p>
<p>值得指出的是这个网站卖的是Mac软件，所以自然地不那么重视IE用户的体验了。</p>
<h3>导航细微差别</h3>
<p>除了增强易读性和强调可能的网站操作，细节对网站导航也有很大的帮助。任何网页最重要的部分之一就是如何将用户导航到另一个页面。毕竟链接是起初使得网页之所以称之为网页的核心，所以为什么不多花一点点时间在适航性上呢？举个例子，我们来看 <a href="http://www.lipperhey.com/" target="_blank">Lipperhey</a> 站点。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt8.jpg" alt="细节让网页设计与众不同" width="550" height="260" /></p>
<p>除了为导航的活动状态选择好的颜色以外，我们发现它的设计为网站的主导航栏添加了一些用趣的细节。<br />
Home按钮由于一些颜色变化之外的原因而很显眼。首先我们可以看到它从导航栏下沉了几个像素。其次，按钮背后被加上了阴影并且对透明度做了轻微的调整。这两个细节一起为这个链接赋予了附加维度的感觉，指示了它的重要性及激活状态。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt9.jpg" alt="细节让网页设计与众不同" width="550" height="105" /></p>
<h3>差异</h3>
<p>再看一下没有上面提到的细节的导航，我们发现很多令人兴奋的东西都没了并且我们的激活链接会有完全不同的样子和感觉。</p>
<p><img title="细节让网页设计与众不同" src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/3/29/bt90.jpg" alt="细节让网页设计与众不同" width="550" height="105" /></p>
<h3>细节更进一步</h3>
<p>我们研究了一种运用CSS3的一些新功能来辅助我们设计的方法(text-shadow)。但CSS3的强大远不只是阴影。CSS3动画，表现为transform和transition的属性，给我们的细节工作增加了额外的工具。</p>
<p>只要使用得当，CSS3动画为我们的网页元素添加高效的动画效果，而不需要借助Flash或JavaScript。在细节方面，动画允许我们在各种输入情况向用户提供流畅的反馈。例如为链接的hover状态或按钮点击添加过渡动画，可以告诉用户他们鼠标正悬停在（或触摸，对于触屏移动设备）一个活动的元素上面。</p>
<p>与网站细节相伴的工作的美好在于通过进一步努力，我们仍然可以为我们的用户提供部分价值，而不需要疏远那些使用过时的浏览器的用户。关键之处在于我们要使用所有这些技术来为已经很可靠的网页设计增加价值，没有一个基本的可靠的设计而空谈学习这些技术就是本末倒置。</p>
<p>网站还能在哪些细节方面改进来增加它的价值呢？你做过的项目还成功地使用过哪些类型的细节技术？[<a href="http://sixrevisions.com/web_design/details-make-the-difference-in-web-design/" target="_blank">English</a>]</p>
<p>&nbsp;</p>
<p>转载：<br />
作者：<a title="WEB前端开发" href="http://rockux.com/">RockUX–WEB前端</a><br />
出自：<a title="细节让网页设计与众不同" href="http://rockux.com/archives/%e7%bb%86%e8%8a%82%e8%ae%a9%e7%bd%91%e9%a1%b5%e8%ae%be%e8%ae%a1%e4%b8%8e%e4%bc%97%e4%b8%8d%e5%90%8c">细节让网页设计与众不同</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/xijierangwangyeshejiyuzhongbutong.html/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>一些知名网络公司的设计原则实例</title>
		<link>http://www.phoyu.com/design/yixiezhimingwangluogongsideshejiyuanzeshili.html</link>
		<comments>http://www.phoyu.com/design/yixiezhimingwangluogongsideshejiyuanzeshili.html#comments</comments>
		<pubDate>Sat, 05 Mar 2011 05:02:58 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[设计师]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=270</guid>
		<description><![CDATA[经常有人问我怎样才能从头脑风暴中所获得的数以百计的创意中选出合适的一个。除了靠直觉和经验外，还有一种方法可以帮我们来决定和界定设计原则。在2007年以前，我们将这些原则称为“设计标准”，现在又有了一个新的定义，就是“设计原则”。

什么是设计原则

l  立足于设计研究
l  简短易记
l  跨功能
l  明确而非“简单易用”
l  将差异化聚集在一起
l  不矛盾 <a href="http://www.phoyu.com/design/yixiezhimingwangluogongsideshejiyuanzeshili.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>经常有人问我怎样才能从头脑风暴中所获得的数以百计的创意中选出合适的一个。除了靠直觉和经验外，还有一种方法可以帮我们来决定和界定设计原则。在2007年以前，我们将这些原则称为“设计标准”，现在又有了一个新的定义，就是“设计原则”。</p>
<p><strong>什么是设计原则</strong></p>
<p><strong> </strong></p>
<p>l  立足于设计研究<br />
l  简短易记<br />
l  跨功能<br />
l  明确而非“简单易用”<br />
l  将差异化聚集在一起<br />
l  不矛盾</p>
<p>设计原则就是描述了一项产品或服务体验的核心价值。</p>
<p>设计原则的编写应该简短易记。而作为设计师，在做项目的时候则应将这些原则熟记于心。即便有些功能交叉，但一个优秀的设计原则通常都具有明确的功能。因此我们不能将它定义为“简单易用”。设计原则不应矛盾。</p>
<p>设计原则只是用来帮助选择创意，而非产生创意。</p>
<p>设计原则只是帮助人们来选择创意的，而在激发创意的初期就过于坚持这些原则并非一件明智的事情。尽管在头脑风暴时用实体框架来激发创意是个好办法，但在初期草画创意时无需过多的局限于此。否则，我们很难想出一个绝佳的创意。有时一个创意虽然不符合设计原则，却可能给其他设计师带来符合该原则的创意灵感。</p>
<p><strong>下面例举一些知名网络公司的设计原则实例</strong></p>
<p><strong>谷歌用户体验的设计原则</p>
<p></strong></p>
<p>1.      以人为本 &#8211; 关注人们的生活，工作和他们的梦想。<br />
2.      争分夺秒。<br />
3.      简单实用。<br />
4.      留住初学者，吸引专家。<br />
5.      勇于创新。<br />
6.      面向全球用户设计。<br />
7.      立足今日，面向未来。<br />
8.      产生视觉愉悦，保持用户关注度。<br />
9.      不辜负人们的信任。<br />
10.   有点人情味。</p>
<p><strong>谷歌日历的设计原则<br />
</strong><br />
1. 快捷<br />
2. 具有视觉吸引力及愉悦的使用体验<br />
3. 用极其简单的方式将信息汇集到日历中<br />
4. 屏幕上不光是表格（还有提醒。邀请等）<br />
5. 便捷的分享功能，从而在一个地方关注你的全部生活</p>
<p><strong>微软界面设计团队给自然用户界面的定义<br />
</strong><br />
1. 能产生共鸣：性能美学原则<br />
2. 非中介性：直接使用原则<br />
3. 快速简便：手脚架原则<br />
4. 互文性：互文环境原则<br />
5. 直觉：绝对真实感原则</p>
<p><strong>微软的界面应该是：<br />
</strong><br />
1. 社会化：多用户同时使用<br />
2. 无缝对接：数字与实体相结合<br />
3. 空间性：人体运动学</p>
<p><strong>Tivo的设计原则<br />
</strong><br />
1. 它是娱乐，笨蛋<br />
2. 它是电视，笨蛋<br />
3. 它是视频，天呐<br />
4. 一切平滑轻柔<br />
5. 不做作，结构简单<br />
6. 尊重用户隐私<br />
7. 与电视一样，是耐用品</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/yixiezhimingwangluogongsideshejiyuanzeshili.html/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>公共场所放置的有趣的公共空间椅子</title>
		<link>http://www.phoyu.com/design/gonggongchangsuofangzhideyouqudegonggongkongjianyizi.html</link>
		<comments>http://www.phoyu.com/design/gonggongchangsuofangzhideyouqudegonggongkongjianyizi.html#comments</comments>
		<pubDate>Mon, 31 Jan 2011 03:04:02 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[设计师]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/design/gonggongchangsuofangzhideyouqudegonggongkongjianyizi.html</guid>
		<description><![CDATA[<p>一位现居以色列的设计师希望给我们的日常生活带来更多乐趣，他设计了一些在公共场所放置的特别座椅，一些是围绕路灯旋转而上，而另一些则悬空挂在墙壁上。</p>
<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/31/yizi1.jpg" alt="有趣的公共空间椅子" /></p> <a href="http://www.phoyu.com/design/gonggongchangsuofangzhideyouqudegonggongkongjianyizi.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>一位现居以色列的设计师希望给我们的日常生活带来更多乐趣，他设计了一些在公共场所放置的特别座椅，一些是围绕路灯旋转而上，而另一些则悬空挂在墙壁上。</p>
<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/31/yizi1.jpg" alt="有趣的公共空间椅子" /></p>
<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/31/yizi2.jpg" alt="有趣的公共空间椅子" /></p>
<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/31/yizi3.jpg" alt="有趣的公共空间椅子" /></p>
<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/31/yizi4.jpg" alt="有趣的公共空间椅子" /></p>
<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/31/yizi5.jpg" alt="有趣的公共空间椅子" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/gonggongchangsuofangzhideyouqudegonggongkongjianyizi.html/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>多想一点，多做一点</title>
		<link>http://www.phoyu.com/design/duoxiangyidianduozuoyidian.html</link>
		<comments>http://www.phoyu.com/design/duoxiangyidianduozuoyidian.html#comments</comments>
		<pubDate>Wed, 19 Jan 2011 14:02:49 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[成长]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/design/duoxiangyidianduozuoyidian.html</guid>
		<description><![CDATA[<strong>1 先来看个例子：</strong>
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/19/duo.jpg" alt="" />
<strong>2 再举个例子：
</strong>不知道男同学们有没有帮女同学在自动售货机买过饮料，买完以后顺手递给她，这一切都很自然。
那么你会不会在递给她之前，顺手帮她把瓶子盖拧开？

顺手把某个人的Hi发给对方，或者顺手拧开瓶子盖，其实都不费什么劲。但这样就能带给对方更好的服务，<strong>超出对方预期</strong>。
关键在于：自己是不是用心，以及有没有站在对方的角度上考虑对方的需求。比别人多想一点，多做一点。
 <a href="http://www.phoyu.com/design/duoxiangyidianduozuoyidian.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>1 先来看个例子：</strong><br />
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/19/duo.jpg" alt="" /><br />
<strong>2 再举个例子：<br />
</strong>不知道男同学们有没有帮女同学在自动售货机买过饮料，买完以后顺手递给她，这一切都很自然。<br />
那么你会不会在递给她之前，顺手帮她把瓶子盖拧开？</p>
<p>顺手把某个人的Hi发给对方，或者顺手拧开瓶子盖，其实都不费什么劲。但这样就能带给对方更好的服务，<strong>超出对方预期</strong>。<br />
关键在于：自己是不是用心，以及有没有站在对方的角度上考虑对方的需求。比别人多想一点，多做一点。</p>
<p><strong>3 实际的工作中也是这样的<br />
</strong>也许有同学看出来了，我要说的，其实不是像上面两个例子中的这样的小事，工作中也是这样的。<br />
我们来看一下一些邮件：<br />
邮件1 (From A 2 B)：亲爱的xxx，客户想做一个什么什么东西，你看是不是可以？<br />
邮件2 (From B 2 A)：这个做不了，不符合我们的业务规则<br />
邮件3 (From A 2 B)：那可以给我一个能向客户解释的理由吗？<br />
邮件4 (From B 2 A)：哦，你可以说：xxxxxx<br />
<strong>邮件5 (From A 2 B)：已经和客户做了沟通。这个活动对客户很重要，而且关键是她们有很大的预算，你看能不能有其他办法？<br />
</strong>邮件6 (From B 2 A)：客户为什么要做这个活动呢？他们的目的是什么？<br />
邮件7 (From A 2 B)：xxxxx<br />
邮件8 (From B 2 A)：那是不是可以这样，xxxxxx</p>
<p>……<br />
时间就是在这样的反复沟通中耽搁了。而且，如果不是有第5封邮件，也许一笔收入就这样离我们而去。理想的情况应该是怎么样的呢？</p>
<p>看看这个，是不是好很多：<br />
邮件1 (From A 2 B)：亲爱的xxx，客户想做一个什么什么东西，你看是不是可以？<br />
邮件2 (From B 2 A)：这个做不了，不符合我们的业务规则，具体解释是这样的：xxx。能告诉我为啥客户要做这个活动吗，预算有多少？我们可以想想是不是有其他的解决方法？<br />
邮件3 (From A 2 B)：哦，因为客户xxxxxxx<br />
邮件4 (From B 2 A)：那是不是可以这样，xxxxxx<br />
<strong>为什么一定要被动的让别人推动你呢，为什么不可以自己主动出击？<br />
</strong>还是那个问题，关键在于自己是不是用心，以及会不会站在客户的角度上考虑问题。</p>
<p><strong>4 再举一个实际工作中的例子：</strong></p>
<p>邮件(From RD 2 PM)：x系统在y时间出了问题，目前已经修复，请大家知晓。</p>
<p>这个有什么问题呢？考虑一下，如果我是这个系统的<strong>利益相关人</strong>，我会想知道什么：<br />
* 这个问题的影响面？这决定了我是否应该采取、以及采取什么样的补救措施。<br />
* 为什么会发生这个问题，问题发生概率怎样？<br />
* 以后怎么避免同样的问题再次发生？<br />
* 是否已经采取了相应的预防措施？</p>
<p>有的同学要说了，这样的话多累啊；原来我只用写短短一行字，现在却要写那么多。</p>
<p>其实在缩短由于多次沟通而造成的时间精力的无端浪费之外，这样做的好处还有两个：</p>
<p>首先，时常提供超出预期的体验，会给对方留下深刻的印象，这对建立良好的关系以及接下来的合作都很有帮助。<strong>提供超出预期的体验，回报是惊人的</strong>。</p>
<p>第二，这是一个强迫自己加深对自己的工作内容了解深度的过程。如果不主动的去多想多做，而只是被外力推着走，那可能很长时间过去，自己对工作的理解还只是停在表层。</p>
<p><strong>5 最后说一个</strong></p>
<p>情况1：很多人遇到了问题，找老板求助的时候会说：啊，我现在遇到一个什么什么问题，怎么处理比较合适？</p>
<p>情况2：而这样会好一点：<br />
我现在遇到一个什么什么问题？具体问题描述：xxxx<br />
可能可以采取的解决方案有：<br />
A xxxxx；这样的好处是：xxxx；坏处是：xxxxx<br />
B xxxxx；这样的好处是：xxxx；坏处是：xxxxx<br />
C xxxxx；这样的好处是：xxxx；坏处是：xxxxx<br />
因为每个方案都有好处和坏处，我无法判断哪个比较合适，请老板也看一下怎么处理？</p>
<p>情况1中，老板不得不怀疑：你对这个问题真的好好想过了吗？而且，做问答题可比做选择题费劲多了。</p>
<p>PS，如果给出了选项，但是不给出每个选项具体的分析，可能也是不太合适的。因为老板不一定在一线，对具体的情况可能没有你了解的多，只有选项的话，老板还得再分析每个选项的好处坏处。<br />
最后再总结一下，总之，这个问题的关键还是在于：<br />
<strong>自己的心有没有在这里？自己有没有真的站在对方角度上考虑问题？<br />
</strong></p>
<p><strong> </strong></p>
<p><strong>转载：<a href="http://hi.baidu.com/whoqiaoxin/blog/item/c6a30cf45abe30ff7609d741.html">http://hi.baidu.com/whoqiaoxin/blog/item/c6a30cf45abe30ff7609d741.html</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/duoxiangyidianduozuoyidian.html/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>常用到的商城产品放大镜效果</title>
		<link>http://www.phoyu.com/divcss/changyongdaodeshangchengchanpinfangdajing.html</link>
		<comments>http://www.phoyu.com/divcss/changyongdaodeshangchengchanpinfangdajing.html#comments</comments>
		<pubDate>Tue, 04 Jan 2011 15:34:54 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[js效果]]></category>
		<category><![CDATA[图片效果]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/divcss/changyongdaodeshangchengchanpinfangdajing.html</guid>
		<description><![CDATA[常用到的商城产品放大镜效果
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/4/zoom.jpg" alt="放大镜" /> <a href="http://www.phoyu.com/divcss/changyongdaodeshangchengchanpinfangdajing.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>常用到的商城产品放大镜效果<br />
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2011/1/4/zoom.jpg" alt="放大镜" /></p>
<div class="runcode">
<p><textarea name="runcode" style="height:200px;width:550px;font-size:12px" class="runcode_text" id="runcode_pmuaqp">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
 &lt;head&gt;
 &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
 &lt;title&gt;风羽博客——放大镜&lt;/title&gt;
 &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://www.phoyu.com/css/jqzoom.css&quot; /&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.phoyu.com/myjs/jquery-1.2.6.pack.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.phoyu.com/myjs/jquery.jqueryzoom.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.phoyu.com/myjs/jquery.jcarousel.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
   $(&quot;#mycarousel&quot;).jcarousel({initCallback:mycarousel_initCallback});
   $(&quot;.jqueryzoom&quot;).jqueryzoom({
		xzoom:350,
		yzoom:240,
		offset:10,
		position:&quot;right&quot;,
        preload:1,
		lens:1
	});
});
function mycarousel_initCallback(carousel){
	$(&quot;#mycarousel li&quot;).mouseover(function(){
		var JQ_img = $(&quot;img&quot;, this);
		var image_name = JQ_img.attr(&quot;name&quot;);
		$(&quot;#_middleImage&quot;).attr(&quot;src&quot;, &quot;http://www.phoyu.com/images/middle/&quot; + image_name).attr(&quot;longdesc&quot;, &quot;http://www.phoyu.com/images/big/&quot; + image_name);
		$(this).siblings().each(function(){
			$(&quot;img&quot;, this).removeClass().addClass(&quot;curr_base&quot;);
		})
		JQ_img.addClass(&quot;cur_on&quot;);
	})
};
 &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;
	&lt;div class=&quot;pro-detimg&quot;&gt;
	&lt;!--放大镜--&gt;
	&lt;div id=&quot;BigImage&quot; class=&quot;jqueryzoom&quot;&gt; &lt;img id=&quot;_middleImage&quot; src=&quot;http://www.phoyu.com/images/middle/m1.jpg&quot; width=&quot;350&quot; longdesc=&quot;http://www.phoyu.com/images/big/m1.jpg&quot;/&gt; &lt;/div&gt;
	&lt;div class=&quot;MiniImage&quot;&gt;
			&lt;ul id=&quot;mycarousel&quot; class=&quot;jcarousel-skin-tango&quot;&gt;
			&lt;li&gt;&lt;img class=&quot;curr_base&quot; style=&quot;width:50px;height:38px;&quot; src=&quot;http://www.phoyu.com/images/small/m1.jpg&quot; name=&quot;m1.jpg&quot;/&gt;&lt;/li&gt;
			&lt;li&gt;&lt;img class=&quot;curr_base&quot; style=&quot;width:50px;height:38px;&quot; src=&quot;http://www.phoyu.com/images/small/m2.jpg&quot; name=&quot;m2.jpg&quot;/&gt;&lt;/li&gt;
			&lt;li&gt;&lt;img class=&quot;curr_base&quot; style=&quot;width:50px;height:38px;&quot; src=&quot;http://www.phoyu.com/images/small/m3.jpg&quot; name=&quot;m3.jpg&quot;/&gt;&lt;/li&gt;
			&lt;li&gt;&lt;img class=&quot;curr_base&quot; style=&quot;width:50px;height:38px;&quot; src=&quot;http://www.phoyu.com/images/small/m4.jpg&quot; name=&quot;m4.jpg&quot;/&gt;&lt;/li&gt;
			&lt;li&gt;&lt;img class=&quot;curr_base&quot; style=&quot;width:50px;height:38px;&quot; src=&quot;http://www.phoyu.com/images/small/m5.jpg&quot; name=&quot;m5.jpg&quot;/&gt;&lt;/li&gt;
			&lt;li&gt;&lt;img class=&quot;curr_base&quot; style=&quot;width:50px;height:38px;&quot; src=&quot;http://www.phoyu.com/images/small/m6.jpg&quot; name=&quot;m6.jpg&quot;/&gt;&lt;/li&gt;
            &lt;li&gt;&lt;img class=&quot;curr_base&quot; style=&quot;width:50px;height:38px;&quot; src=&quot;http://www.phoyu.com/images/small/m7.jpg&quot; name=&quot;m7.jpg&quot;/&gt;&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/div&gt;
	&lt;!--放大镜end--&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</textarea></p>
<p><input type="button" value="运行" class="runcode_button" onclick="runcode_open_new('runcode_pmuaqp');"/> <input type="button" value="复制" class="runcode_button" onclick="runcode_copy('runcode_pmuaqp');"/> <input type="button" value="另存代码" class="runcode_button" onclick="saveCode('runcode_pmuaqp','runcode_pmuaqp');"/> 提示：你可以先修改部分代码再运行。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/changyongdaodeshangchengchanpinfangdajing.html/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>重构者的20种死法</title>
		<link>http://www.phoyu.com/design/zhonggouzhede20zhongsifa.html</link>
		<comments>http://www.phoyu.com/design/zhonggouzhede20zhongsifa.html#comments</comments>
		<pubDate>Mon, 13 Dec 2010 15:06:25 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[web前端技术]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=260</guid>
		<description><![CDATA[最近涉及重构话题的文章不少啊，其实我也一直在憧憬重构，重构很绿色，重构很河蟹，重构令人很激动，重构可能让人死得很惨。
我在这里，就列举一下Refactorman的种种死法，以警后人：
一、一边重构，一边要完成日常任务……
1. 疲于奔命，过劳而死。
2. 吃领导给的鸭梨太大被噎死。
3. 满脑子都是代码，在上班路上不留神被撞死。
4. 冷落了女友，受失恋打击跳楼而死。
5. 无暇社交，不懂人情世故，失意而死。
6. 为了说服领导和同事，心力交瘁而死。 <a href="http://www.phoyu.com/design/zhonggouzhede20zhongsifa.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>最近涉及重构话题的文章不少啊，其实我也一直在憧憬重构，重构很绿色，重构很河蟹，重构令人很激动，重构可能让人死得很惨。<br />
我在这里，就列举一下Refactorman的种种死法，以警后人：<br />
<strong>一、一边重构，一边要完成日常任务……</strong><br />
1. 疲于奔命，过劳而死。<br />
2. 吃领导给的鸭梨太大被噎死。<br />
3. 满脑子都是代码，在上班路上不留神被撞死。<br />
4. 冷落了女友，受失恋打击跳楼而死。<br />
5. 无暇社交，不懂人情世故，失意而死。<br />
6. 为了说服领导和同事，心力交瘁而死。<br />
<strong> 二、重构过程中……</strong><br />
7. 被以前的混账代码气死。<br />
8. 被以前的混账代码搞崩溃，神智错乱而死。<br />
9. 终于明白问题只是冰山一角，力有未逮，忧愤而死。<br />
10. 泥足深陷，举步维艰，进退维谷被活活困死。<br />
11. 自己昏天黑地，看其他同事却吊儿朗当，逍遥快活，心理不平衡致忧郁而死。<br />
12. 重构过程中，踩中前任留下的地雷，被炸得体无完肤而死。<br />
13. 一日偶遇以前代码的作者，怒不可遏，将其一通乱砍，再鞭尸三百，然后切腹而死。<br />
<strong> 三、千辛万苦，大功告成……</strong><br />
14. 系统重构后性能提高了？漏洞消除了？对不起，领导们没兴趣，失落而死。<br />
15. 系统重构后出现了新Bug，多半会小题大作，被批斗而死。<br />
16. 马上接到通知系统功能要大升级，吐血而死。<br />
17. 同事依旧我行我素，继续在系统中倒垃圾代码，痛心疾首而死。<br />
18. 重构将系统中的阴暗面曝光，被同事记恨，领导排挤而死。<br />
19. 过了不多久，发现系统又乱成了一团，比以前好不到哪儿去，悲愤下一头撞死。<br />
20. 离职后偶遇前公司的新任维护者，被其乱刀砍死再鞭尸。<br />
各种死法中，最后一种，我们比窦娥还冤枉。所以强烈推荐大家还要练一门武功以防身。什么武功，就是：“心惊肉跳、杞人忧天、无中生有、力不从心、行尸走肉、庸人自扰、倒行逆施、废寝忘食、孤形只影、想入非非、呆若木鸡……”。这门传说中的黯然销魂掌，其中一招一式，正是我们最好的写照。</p>
<p>转载：<a href="http://www.cnblogs.com/XmNotes/archive/2010/12/13/1904377.html" target="_blank">http://www.cnblogs.com/XmNotes/archive/2010/12/13/1904377.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/zhonggouzhede20zhongsifa.html/feed</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>分享【jquery插件】图文切换效果</title>
		<link>http://www.phoyu.com/divcss/fenxiangjquerychajiantuwenqiehuanxiaoguo.html</link>
		<comments>http://www.phoyu.com/divcss/fenxiangjquerychajiantuwenqiehuanxiaoguo.html#comments</comments>
		<pubDate>Wed, 24 Nov 2010 15:04:37 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[js效果]]></category>
		<category><![CDATA[web前端技术]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=259</guid>
		<description><![CDATA[挺不错的一个效果，做网页的设计的朋友可能在某些时候能用得上。

参数说明：
effects       “flaser”效果(默认)&#124;
“scroll”效果&#124;
“fade”效果
speed       效果执行时间；normal（默认） <a href="http://www.phoyu.com/divcss/fenxiangjquerychajiantuwenqiehuanxiaoguo.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>挺不错的一个效果，做网页的设计的朋友可能在某些时候能用得上。</p>
<p><span style="font-family: Tahoma, Verdana; line-height: 22px; font-size: 14px; border-collapse: collapse;"><strong style="word-wrap: break-word; font-style: normal; font-weight: bold; line-height: normal;">参数说明：</strong><br style="word-wrap: break-word; line-height: normal;" />effects       “flaser”效果(默认)|<br style="word-wrap: break-word; line-height: normal;" />“scroll”效果|<br style="word-wrap: break-word; line-height: normal;" />“fade”效果<br style="word-wrap: break-word; line-height: normal;" />speed       效果执行时间；normal（默认）</span></p>
<p><strong>分享【jquery插件】图文切换效果</strong></p>
<div class="runcode">
<p><textarea name="runcode" style="height:200px;width:550px;font-size:12px" class="runcode_text" id="runcode_qOTll8">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;【jquery插件】图文切换效果&lt;/title&gt;
&lt;link href=&quot;http://www.websjy.com/club/websjy_index/38/style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.websjy.com/JS/jquery/jquery-1.3.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
(function($){
	$.fn.imgTxtCut=function(options){
		var opts = $.extend({},$.fn.imgTxtCut.deflunt,options);
		var targetObj=$(this).find(&quot;li&quot;);
		var targetObjH=$(this).find(&quot;li img&quot;).height()
		return this.each(function() {
			$.fn.imgTxtCut.effect[opts.effects](targetObj,targetObjH,opts);
    	});
	};
	$.fn.imgTxtCut.effect = {
		flaser:function(targetObj,targetObjH,opts){
			targetObj.hover(function(){
				$(this).find('img').stop().animate({height:&quot;0&quot;}, opts.speed);
			},function(){
				$(this).find('img').stop().animate({height:targetObjH},opts.speed);
			})
		},
		scroll:function(targetObj,targetObjH,opts){
			targetObj.hover(function(){
				$(this).find('.scrool-box').stop().animate({top:-targetObjH}, opts.speed);
			},function(){
				$(this).find('.scrool-box').stop().animate({top:0},opts.speed);
			})
		},
		fade:function(targetObj,targetObjH,opts){
			targetObj.hover(function(){
				$(this).find('.imgBox').stop().animate({opacity:0.1}, opts.speed);
			},function(){
				$(this).find('.imgBox').stop().animate({opacity:1},opts.speed);
			})
		}
	};
	$.fn.imgTxtCut.deflunt={
		effects : &quot;flaser&quot;,
		speed : &quot;normal&quot;
	};
})(jQuery);
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(function(){
    $(&quot;#img-txt-box1&quot;).imgTxtCut({
		speed : 300
	});
	$(&quot;#img-txt-box2&quot;).imgTxtCut({
		effects:&quot;fade&quot;,
		speed : 300
	});
	$(&quot;#img-txt-box3&quot;).imgTxtCut({
    	effects:&quot;scroll&quot;,
		speed : 300
});
});
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;【jquery插件】图文切换效果-&lt;a href=&quot;http://d2.sodao.com/&quot;&gt;Sodao设计组&lt;/a&gt;-&lt;a href=&quot;http://www.sodao.com/&quot;&gt;搜道网（美女时钟）&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;table-box&quot;&gt;
  &lt;table width=&quot;300&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; class=&quot;KS-table&quot;&gt;
    &lt;tr&gt;
      &lt;td colspan=&quot;2&quot;&gt;参数：&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td width=&quot;36%&quot;&gt;effects&lt;/td&gt;
      &lt;td width=&quot;64%&quot;&gt;flaser效果(默认)&lt;br /&gt;
        “scroll”效果&lt;br /&gt;
        “fade”效果&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;speed&lt;/td&gt;
      &lt;td&gt;效果执行时间；normal（默认）&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;h2&gt;flaser效果(默认)&lt;/h2&gt;
&lt;pre&gt;$(&quot;#img-txt-box1&quot;).imgTxtCut({
    speed : 300
});&lt;/pre&gt;
&lt;div class=&quot;img-txt-flaser clearfix&quot; id=&quot;img-txt-box1&quot;&gt;
  &lt;ul&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/img1.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb.png&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_002.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_003.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_003.png&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_008.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_007.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_009.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;h2&gt;scroll效果(默认)&lt;/h2&gt;
&lt;pre&gt;$(&quot;#img-txt-box3&quot;).imgTxtCut({
    effects:&quot;scroll&quot;,
	speed : 300
});&lt;/pre&gt;
&lt;div class=&quot;img-txt-scrool clearfix&quot; id=&quot;img-txt-box3&quot;&gt;
  &lt;ul&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/img1.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb.png&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_002.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_003.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_003.png&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_008.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_007.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;scrool-box&quot;&gt;
        &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_009.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div class=&quot;txtBox&quot;&gt;
          &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
          &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;h2&gt;fade效果&lt;/h2&gt;
&lt;pre&gt;$(&quot;#img-txt-box2&quot;).imgTxtCut({
    effects:&quot;fade&quot;,
    speed : 300
});&lt;/pre&gt;
&lt;div class=&quot;img-txt-fade clearfix&quot; id=&quot;img-txt-box2&quot;&gt;
  &lt;ul&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/img1.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb.png&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_002.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_003.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_003.png&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_008.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_007.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;div class=&quot;imgBox&quot;&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;&lt;img src=&quot;http://d2.sodao.com/demo/img-text/timthumb_009.jpg&quot; width=&quot;200&quot; height=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;txtBox&quot;&gt;
        &lt;h3&gt;&lt;a href=&quot;http://www.websjy.com/&quot;&gt;标题标题标题标题标题标题标题标&lt;/a&gt;&lt;/h3&gt;
        &lt;p&gt;&lt;a href=&quot;#&quot;&gt;描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描述述&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-3448069-6']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</textarea></p>
<p><input type="button" value="运行" class="runcode_button" onclick="runcode_open_new('runcode_qOTll8');"/> <input type="button" value="复制" class="runcode_button" onclick="runcode_copy('runcode_qOTll8');"/> <input type="button" value="另存代码" class="runcode_button" onclick="saveCode('runcode_qOTll8','runcode_qOTll8');"/> 提示：你可以先修改部分代码再运行。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/fenxiangjquerychajiantuwenqiehuanxiaoguo.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>简单的页面加载 (Loading) 效果</title>
		<link>http://www.phoyu.com/divcss/jiandandeyemianjiazailoadingxiaoguo.html</link>
		<comments>http://www.phoyu.com/divcss/jiandandeyemianjiazailoadingxiaoguo.html#comments</comments>
		<pubDate>Sat, 20 Nov 2010 17:01:46 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[js效果]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=250</guid>
		<description><![CDATA[面加载效果，也就是通常所说的 Loading 效果，能提示访问者使其耐心等待页面加载的完成，有效防止流量损失。

如果服务器置于国外，国内访问可能比较慢，这时友好的页面加载提示就非常有用。当然，通过繁杂的 Ajax 等技术，可以很好的实现。但芒果生性笨拙，只会简单的 HTML+CSS 和仅有的几句 JavaScript，所以此方法没有多少技术含量。 <a href="http://www.phoyu.com/divcss/jiandandeyemianjiazailoadingxiaoguo.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>页面加载效果，也就是通常所说的 Loading 效果，能提示访问者使其耐心等待页面加载的完成，有效防止流量损失。</p>
<p>如果服务器置于国外，国内访问可能比较慢，这时友好的页面加载提示就非常有用。当然，通过繁杂的 Ajax 等技术，可以很好的实现。但芒果生性笨拙，只会简单的 HTML+CSS 和仅有的几句 JavaScript，所以此方法没有多少技术含量。</p>
<p>假设需要在加载过程中，页面右上角显示红色的“正在加载中…”提示信息。原理很简单，HTML 代码的 &lt;body&gt;&lt;/body&gt; 部分解释前插入此提示信息，解释完成后隐藏它即可。</p>
<p>首先，在 &lt;body&gt; 标记后插入：</p>
<pre>&lt;div id="loading"&gt;页面加载中...&lt;/div&gt;</pre>
<p>你可以自由定义 loading 这个 id 的样式。芒果将其设置为红色背景，白色文字：</p>
<pre>#loading{font-size:12px;color:#FFFFFF;background:#FF0000;position:absolute;top:0px;right:0px;padding:2px 10px 2px 10px;}</pre>
<p>最后，用 JavaScript 代码输出样式，在 &lt;/body&gt; 标记前将其隐藏：</p>
<pre>&lt;script type="text/javascript"&gt;document.write('&lt;style&gt;#loading{display:none;}&lt;/style&gt;');&lt;/script&gt;</pre>
<p>对于 WordPress 用户而言，使用过多插件会导致页面加载速度严重减缓。如果这样，不妨试试这个简单的方法。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/jiandandeyemianjiazailoadingxiaoguo.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>3个你可能从未用过的HTML标签</title>
		<link>http://www.phoyu.com/divcss/3genikenengcongweiyongguodehtmlbiaoqian.html</link>
		<comments>http://www.phoyu.com/divcss/3genikenengcongweiyongguodehtmlbiaoqian.html#comments</comments>
		<pubDate>Fri, 24 Sep 2010 03:59:56 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[web前端技术]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=218</guid>
		<description><![CDATA[html标签众多，在HTML手册里你可以都查到。但有的HTML标签你可能从未使用过。不是因为你欠缺学习精神，而是它们确实用处不大。如果你有探索精神，那就接着往下看吧。
<h5>第一个：&#60;abbr&#62; 或 &#60;acronym&#62;</h5>
这两个标识是一回事，主要是用于一些英语的缩写，当你把鼠标移上去的时候，你会发现会出现一个小提示来提示缩写的全称，前提是你给标签添加了title属性。但&#60;acronym&#62;在HTML 5中将废效这个标签了，也好，这么难记的单词。下面是一个示例：
<ol>
	<li><abbr title="HyperText Markup Language">HTML</abbr></li>
	<li><abbr title="电气电子工程师协会(Institute of Electrical and Electronics Engineers)">IEEE</abbr></li>
	<li><abbr title="Read the Fucking Source Code">RTFSC</abbr></li>
</ol>
 <a href="http://www.phoyu.com/divcss/3genikenengcongweiyongguodehtmlbiaoqian.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>html标签众多，在HTML手册里你可以都查到。但有的HTML标签你可能从未使用过。不是因为你欠缺学习精神，而是它们确实用处不大。如果你有探索精神，那就接着往下看吧。</p>
<h5>第一个：&lt;abbr&gt; 或 &lt;acronym&gt;</h5>
<p>这两个标识是一回事，主要是用于一些英语的缩写，当你把鼠标移上去的时候，你会发现会出现一个小提示来提示缩写的全称，前提是你给标签添加了title属性。但&lt;acronym&gt;在HTML 5中将废效这个标签了，也好，这么难记的单词。下面是一个示例：</p>
<ol>
<li><abbr title="HyperText Markup Language">HTML</abbr></li>
<li><abbr title="电气电子工程师协会(Institute of Electrical and Electronics Engineers)">IEEE</abbr></li>
<li><abbr title="Read the Fucking Source Code">RTFSC</abbr></li>
</ol>
<pre>&lt;ABBR title="HyperText Markup Language"&gt;HTML &lt;/ABBR&gt;  &lt;ABBR title="电气电子工程师协会
(Institute of Electrical and Electronics Engineers)"&gt; IEEE &lt;/ABBR&gt;  &lt;ABBR title="Read the Fucking Source Code"&gt;RTFSC&lt;/ABBR&gt;</pre>
<h5>第二个：&lt;q&gt;</h5>
<p>这个标识主要就是把引用的文字加上双引号，比较长的引用我们用<strong>&lt;bloackquote&gt;</strong>，比较短的就可以用<strong>&lt;q&gt;</strong>。下面是个示例：</p>
<p>这个是一句引言</p>
<pre>&lt;Q&gt;这个是一句引言&lt;/Q&gt;</pre>
<h5>第三个，&lt;bdo&gt;</h5>
<p>这个标识很有意思，可以把从左到右的字序全部反转过来。比如：May I help you sir ? 如果加上了这个标识后，就是下面这个样子：</p>
<ol><bdo dir="rtl">May I help you sir ?</bdo><bdo dir="rtl">什么事可以为你效劳啊？</bdo></ol>
<pre>&lt;BDO dir=rtl&gt;May I help you sir ?&lt;/BDO&gt;  &lt;BDO dir=rtl&gt;什么事可以为你效劳啊？&lt;/BDO&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/3genikenengcongweiyongguodehtmlbiaoqian.html/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>解决弹出层被FLASH覆盖的问题</title>
		<link>http://www.phoyu.com/divcss/jiejuedanchucengbeiflashfugaidewenti.html</link>
		<comments>http://www.phoyu.com/divcss/jiejuedanchucengbeiflashfugaidewenti.html#comments</comments>
		<pubDate>Thu, 16 Sep 2010 12:06:38 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[FLASH效果]]></category>
		<category><![CDATA[js效果]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=216</guid>
		<description><![CDATA[在下拉导航下面常常是FLASH焦点图片，下拉菜单常常给FLASH挡住
做一个FLASH中国地图，一些交互性的对话框弹出层等

试图设置DIV的z-index属性并不奏效。

解决方案：

一、设置flash为透明：但是如果你在DW中插入动画，再加<param name="wmode" value="transparent">是不生效的。要把整个的flash插件代码换成如下： <a href="http://www.phoyu.com/divcss/jiejuedanchucengbeiflashfugaidewenti.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>在下拉导航下面常常是FLASH焦点图片，下拉菜单常常给FLASH挡住<br />
做一个FLASH中国地图，一些交互性的对话框弹出层等</p>
<p>试图设置DIV的z-index属性并不奏效。</p>
<p><strong>解决方案：</strong></p>
<p>一、设置flash为透明：但是如果你在DW中插入动画，再加&lt;param name=”wmode” value=”transparent”&gt;是不生效的。要把整个的flash插件代码换成如下：</p>
<p>&lt;object type=”application/x-shockwave-flash” data=”images/banner.swf” width=”560&#8243; height=”210&#8243;&gt;<br />
&lt;param name=”movie” value=”images/banner.swf” /&gt;<br />
&lt;param name=”wmode” value=”transparent” /&gt;<br />
&lt;/object&gt;</p>
<p>对比一下，和DW自动生成的代码是有区别的，测试过，IE　FF　均可以。</p>
<p>二、设置flash置底，加个代码：&lt;param name=”wmode” value=”opaque” /&gt;但是只加这个代码，IE可行，在FF下，失效。要想在FF下起作用，还要用在object　里加个　wmode=”opaque” ，12实例代码如下：</p>
<p>&lt;object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243;<br />
codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0&#8243; width=”560&#8243; height=”210&#8243;&gt;<br />
&lt;param name=”movie” value=”images/banner.swf” /&gt;<br />
&lt;param name=”quality” value=”high” /&gt;<br />
&lt;param name=”wmode” value=”opaque”&gt;<br />
&lt;embed src=”images/banner.swf” wmode=”opaque” quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer”<br />
type=”application/x-shockwave-flash” width=”560&#8243; height=”210&#8243;&gt;&lt;/embed&gt;<br />
&lt;/object&gt;</p>
<p>wmode 属性/参数</p>
<p>值 Window | Opaque | Transparent</p>
<p>说明：</p>
<p>（可选）允许使用 Internet Explorer 4.0 中的透明 Flash 内容、绝对定位和分层显示功能。此标记/属性仅在带有 Flash Player<br />
ActiveX 控件的 Windows 中有效。</p>
<p>“Window”在 Web 页上用影片自己的矩形窗口来播放应用程序。”Window”表明此 Flash 应用程序与 HTML 层没有任何交互，并且始终位于最顶层。</p>
<p>“Opaque” 使应用程序隐藏页面上位于它后面的所有内容。</p>
<p>“Transparent”使 HTML 页的背景可以透过应用程序的所有透明部分显示出来，并且可能会降低动画性能。</p>
<p>“Opaque windowless”和”Transparent windowless”都可与 HTML 层交互，从而允许 SWF 文件上方的层遮蔽应用程序。</p>
<p>这两种选项之间的差异在于”Transparent”允许透明，因此，如果 SWF 文件的某一部分是透明的，则 SWF 文件下方的 HTML 层可以透过该部分显示出来，而”opaque”则不会显示。</p>
<p>如果忽略此属性，默认值为 Window。仅适用于 object。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/jiejuedanchucengbeiflashfugaidewenti.html/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>几款树矢量图</title>
		<link>http://www.phoyu.com/sucai/jikuanshushiliangtu.html</link>
		<comments>http://www.phoyu.com/sucai/jikuanshushiliangtu.html#comments</comments>
		<pubDate>Fri, 10 Sep 2010 14:56:10 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[资料]]></category>
		<category><![CDATA[矢量图]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=215</guid>
		<description><![CDATA[几款树矢量包括AI、eps，如图
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/9/10/shiliang-002dtree.jpg" alt="树矢量" /> <a href="http://www.phoyu.com/sucai/jikuanshushiliangtu.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>几款树矢量包括AI、eps，如图<br />
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/9/10/shiliang-002dtree-002dall.jpg" alt="树矢量" /></p>
<p><strong>下载：</strong><a href="http://down.qiannao.com/space/file/phoyu/-4e0a-4f20-5206-4eab/sucai/tree-002dshiliang.rar/.page" target="_blank">树矢量</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/sucai/jikuanshushiliangtu.html/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>更小更快更灵活——设计师谈敏捷</title>
		<link>http://www.phoyu.com/design/gengxiaogengkuaigenglinghuoeeeeshejishitanminjie.html</link>
		<comments>http://www.phoyu.com/design/gengxiaogengkuaigenglinghuoeeeeshejishitanminjie.html#comments</comments>
		<pubDate>Mon, 06 Sep 2010 09:05:29 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[UI设计]]></category>
		<category><![CDATA[视觉设计]]></category>
		<category><![CDATA[设计师]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=214</guid>
		<description><![CDATA[<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/9/6/tcblog21.jpg" alt="设计师谈敏捷" />

腾讯一直推广敏捷开发，也在强调敏捷开发，但你会发现，即便如此，还是会陷入以下情景
<ul>
	<li>又丑又长的讨论会</li>
	<li>好像人手永远不够</li>
	<li>不切实际的想法</li>
	<li>悬而不决的功能点</li>
	<li>无穷尽的偏好设置</li>
	<li>越来越多纠缠不清的细节</li>
	<li>项目依然延期</li>
</ul>
我们如何构建一个更轻巧的开发流程，让我们更快更好的交付结果？作为一个设计师，如何成为敏捷的一分子？以下是一些心得方法，希望和大家分享 <a href="http://www.phoyu.com/design/gengxiaogengkuaigenglinghuoeeeeshejishitanminjie.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/9/6/tcblog21.jpg" alt="设计师谈敏捷" /></p>
<p>腾讯一直推广敏捷开发，也在强调敏捷开发，但你会发现，即便如此，还是会陷入以下情景</p>
<ul>
<li>又丑又长的讨论会</li>
<li>好像人手永远不够</li>
<li>不切实际的想法</li>
<li>悬而不决的功能点</li>
<li>无穷尽的偏好设置</li>
<li>越来越多纠缠不清的细节</li>
<li>项目依然延期</li>
</ul>
<p>我们如何构建一个更轻巧的开发流程，让我们更快更好的交付结果？作为一个设计师，如何成为敏捷的一分子？以下是一些心得方法，希望和大家分享</p>
<p><strong>1 界面先行</strong></p>
<p>作为设计师，最简单能让大家明白你的想法就是先把它画出来，不要用晦涩的语言和结构图，毕竟不是所有人都能把你的语言转化为图像。而且界面（视觉，交互）设计是相对轻量级的，修改起来也简单，成本也低。但修改程序就远不是那么回事了。保持界面先行可以让你非常灵活，至少在开始开发之前可以随意修改。</p>
<p>界面先行另一个最重要的原因就是，对于用户来讲，界面就是你的产品，界面可以帮助你从用户角度看待自己的产品，如何展现，如何操作，给人感觉怎么样，是不是易用。只有当你面对真正界面的时候才能回答这些问题，文档概要并不能帮你解决实际用户体验问题。</p>
<p><strong>2 初期不需要太关注细节</strong></p>
<p>虽然大家总说，成功来源于细节，当然，这非常对。但前期过分关注细节的同时也会令你止步不前。先把大框架确定下来，而不是一直纠结于</p>
<ul>
<li>这条提示怎么写更合适？</li>
<li>文字字号用16还是14？</li>
<li>要不再往左挪1像素？</li>
<li>这里加个高光把</li>
<li>把2像素的描边变成1像素</li>
</ul>
<p>你需要关注细节，但不是现在。所有事情都要从大到小的去做。先把他做出来，把该放的东西放上去，然后实际去用一下。</p>
<p>细节是你在使用的过程中才会慢慢显露出来，只有在使用中你才会发现哪些更值得关注。如果你有足够的时间，当然可以面面俱到，如果没有，请先把精力放在最重要的事情上。</p>
<p><strong>3 不要纠结那些还没有成为问题的问题</strong></p>
<p>“当我们的用户用了这个功能以后还想跟另一个功能配合使用怎么办？”</p>
<p>如果想快速推出版本，就先解决当下。不要花太多时间去考虑还没有成为麻烦的问题。别担心，你还有后续版本。</p>
<p>而且你就真那么确定用户想跟另一个功能配合使用么？如果不是，就先放一边，等问题真正浮出水面的时候再去快速解决。</p>
<p><strong>4 帮助产品经理精简功能</strong></p>
<p>好像大家都在弩着一股劲，比谁做的多。竞争对手的产品如果做了**，我们就要做***，他们有4个功能，我们就要做5个。如果不做，拿什么跟他们竞争？</p>
<p>这种方式是行不通的，因为你会发现，永远是赶超，永远没有自己领跑的那一天。怎么办？</p>
<p>做少</p>
<p>通过做少来打败他们</p>
<p>做的功能越多，功能间的交互就会越复杂，用户的学习成本就会越高。而我们的用户真的用的上那些高深的功能么？他们会不会已经被那些多如牛毛，但我们自以为高明的设置搞得疲惫不堪？试着少做一点，让自己的产品更加轻巧而更具备亲和力——没有人会喜欢使用显得自己很笨的软件。</p>
<p><strong>5 功能间更少的牵扯</strong></p>
<p>把一个功能点做的尽量独立，能保证需求改变时更为快速，更为灵活。</p>
<p>如果功能间的牵扯太多，就如同你身上沾满了蜘蛛丝，每做一点改变，其他的都要进行改变，从设计，到开发，到测试。当你发现改变的代价太大时，你就会放弃，然后依旧背负着带有缺陷的功能一路走下去。</p>
<p>为什么不开始就尽量少牵扯呢，这样更加来去自如</p>
<p><strong>6 要有自己的主张</strong></p>
<p>虽然交互设计通常都会处在不黑不白的阶段，因为没有绝对的对与错。但我们还是需要坚定自己的主张。也许果断的观点看起来目中无人，但总比那些“嗯……其实这样也成……”模棱两可要好的多。敏捷开发中需要的就是快速做决定，而不是唯唯诺诺和稀泥。</p>
<p>————————————————————————————————</p>
<p>也许并不是所有的项目都适合，毕竟初期不考虑细节必然要考虑后期更改的成本。但对于一个新产品，快速触达用户，让用户来使用，验证，反馈，得到的数据更加真实有效。根据这些反馈作出的调整总是比自己拍脑袋来的简单，更加符合用户需求。</p>
<p>敏捷，并不只是站立晨会，迭代总结，理论，文档，更需要的做的是，把它做出来。</p>
<p>(本文出自<a href="http://wsd.tencent.com/">Tencent WSD Blog</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/gengxiaogengkuaigenglinghuoeeeeshejishitanminjie.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>网页设计师美丽的陷阱</title>
		<link>http://www.phoyu.com/design/wangyeshejishimeilidexian.html</link>
		<comments>http://www.phoyu.com/design/wangyeshejishimeilidexian.html#comments</comments>
		<pubDate>Wed, 01 Sep 2010 08:01:01 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[视觉设计]]></category>
		<category><![CDATA[设计师]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=213</guid>
		<description><![CDATA[<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/9/1/aimer.jpg" alt="爱慕网" />

<strong>从上面的图片你看到了什么？请思考</strong>

这是有一次陪同商务同事去一家内衣公司洽谈业务时，内衣公司的网络负责人对我提出的一个问题。当天我们一行4人大概花了2个小时的车程到达客户公司，这家公司在业内有一定知名度，在当地的规模属于比较大，所以感觉上大家都非常重视这一次企业网站建设的谈判。经过3个小时的会谈，到下午2点多吃完饭继续开会，此时已感觉有点疲倦不堪了，客户突然打开了爱慕的网站，指着上面的图片问道：从这张的图片中你能看到了什么？ <a href="http://www.phoyu.com/design/wangyeshejishimeilidexian.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/9/1/aimer.jpg" alt="爱慕网" /><br />
<strong></strong></p>
<p><strong>从上面的图片你看到了什么？请思考</strong></p>
<p>这是有一次陪同商务同事去一家内衣公司洽谈业务时，内衣公司的网络负责人对我提出的一个问题。当天我们一行4人大概花了2个小时的车程到达客户公司，这家公司在业内有一定知名度，在当地的规模属于比较大，所以感觉上大家都非常重视这一次企业网站建设的谈判。经过3个小时的会谈，到下午2点多吃完饭继续开会，此时已感觉有点疲倦不堪了，客户突然打开了爱慕的网站，指着上面的图片问道：从这张的图片中你能看到了什么？</p>
<p>不知道是不是上午讲了太多东西的原因，一时间突然哑口无言，面对这么简单的一个广告创意居然脑子一片空白，好一会讲不出话来。好在这时商务同事反应迅速，一语惊醒梦中人，她指着那幅由幻灯片打到幕布上面的图片说：这就是爱慕。的确，巩俐这回眸一笑，眉宇之间与男主角暗送秋波，男主角也含情脉脉地望着巩俐，这不就是他们的爱慕之情么。</p>
<p><strong>这个问题你的答案是什么？</strong></p>
<p>回来之后，我将客户这个问题同样地问了设计部的同事，当时大家的回答大概就是这张相处拍得好比较漂亮，所以就放上去了或者是这应该是推荐的重点新品，肯定要放到首页了。后来，我又把这个问题发到国内一个专门做互动的QQ群里，有像灵思、新意这些知名互动公司的设计师在里面，但得到的答案也是类似于此，也有人回答说这可能只是装饰的作用，不一定要表达什么的。说实话，如果当时我回答客户的话，可能也是这些答案。</p>
<p><strong>引起网页设计师思维瓶颈的原因</strong></p>
<p>这么简单的一件事情让我想到了更多，在当前对设计要求越来越高的同时，大多数网络公司的网页设计师似乎并没有跳出固有的思维模式，视觉设计是第一要素这是无可厚非的，但拥有灵魂的设计看才像是一个整体，网页设计师非常注重外表而更少关注思想这样的一种现象，设计师博客设计经历中也有提过，究其原因有下面两点：</p>
<p>一、<strong>甲方就是这么想的</strong></p>
<p>设计师不是客户，有时很难抓住客户的想法，许多客户在做网站的时候并不会同设计师一起去交流想法，只是一味地提出他的要求。漂亮、经典、大气这几乎都是客户共同的爱好和流行口头禅，经久不衰且长期有效，许多客户并不会太在意设计师为什么这么做，而是更在意这个版面好不好看的问题。久而久之，设计师的思路就容易被客户所主导，接到项目的时候第一反应便是怎么的版面才能获得客户通过。</p>
<p>二、<strong>业界就是这么干的</strong><strong> </strong></p>
<p>相信目前网络公司中由一个网页设计师单独完成一个项目是很普遍现象，稍好一点的就是一个美工+一个程序，再往上面就是界面设计师+动画设计师+程序开发，而对于设计创意策划这种工作的，只有在那些国内非常知名的创意公司或者互动公司才会存在。大部分的网页设计师面临着大量代码、Div+css、动画制作、3D、视频特效等等，这大量的工作使得大家都容易忽视了有设计理念这么一样东西的存在。诺曼早在《设计心理学》提过设计人员的两大致命诱惑之一便是陷入误区的外观崇拜，我想说我们要外观崇拜，更要灵魂的崇拜。</p>
<p><strong><br />
网页设计师应该怎么办？</strong></p>
<p>“我问老段说怎么办”，周华健、品冠、李宗盛他们一起说“基本上这个很难”。在网页设计师无法改变客户想法的时候，在我们无法改变外界格局的时候，唯一的办法就是不断地提升自己，可以多读一些广告创意文案，看看别人是怎么思维的；或者多读一些设计大师的书籍，从里面可能学不到版面如何做，但可以学到他们是如何创意的，他们为什么要这么做。慢慢地你自己开始提升了，有了自己很好的设计理念可以改变客户的一些想法，这是一件多么令人愉悦的事情啊。</p>
<p>转载自<a href="http://www.dandy.co/" target="_blank">德意之作</a>(<a href="http://www.dandy.co/" target="_blank">www.dandy.co</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/wangyeshejishimeilidexian.html/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>两款颜色选择器</title>
		<link>http://www.phoyu.com/divcss/liangkuanyansexuanzeqi.html</link>
		<comments>http://www.phoyu.com/divcss/liangkuanyansexuanzeqi.html#comments</comments>
		<pubDate>Sat, 28 Aug 2010 15:55:58 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[颜色选择器]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/js/liangkuanyansexuanzeqi.html</guid>
		<description><![CDATA[两款颜色选择器
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/29/two-002dcolor.jpg" alt="两款颜色选择器" /> <a href="http://www.phoyu.com/divcss/liangkuanyansexuanzeqi.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>两款颜色选择器<br />
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/29/two-002dcolor.jpg" alt="两款颜色选择器" /></p>
<p>Input文本框形式：</p>
<div class="runcode">
<p><textarea name="runcode" style="height:200px;width:550px;font-size:12px" class="runcode_text" id="runcode_BOURju">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;Input文本框形式颜色选择器&lt;/title&gt;
&lt;script src=&quot;http://www.phoyu.com/myjs/jquery.js&quot;&gt;&lt;/script&gt;&lt;!--此处放jq的框架引用地址--&gt;
&lt;script src=&quot;http://www.phoyu.com/myjs/colorselect.js&quot;&gt;&lt;/script&gt;&lt;!--此处放颜色选择器的引用地址--&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;input id=&quot;ss&quot; type=&quot;text&quot; value=&quot;&quot;&gt;
&lt;script&gt;
$(document).ready(function(){
$(&quot;#ss&quot;).selectColor();
});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</textarea></p>
<p><input type="button" value="运行" class="runcode_button" onclick="runcode_open_new('runcode_BOURju');"/> <input type="button" value="复制" class="runcode_button" onclick="runcode_copy('runcode_BOURju');"/> <input type="button" value="另存代码" class="runcode_button" onclick="saveCode('runcode_BOURju','runcode_BOURju');"/> 提示：你可以先修改部分代码再运行。</p>
</div>
<p>图形所见选Input文本框形式：</p>
<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/29/r-002dcolor.jpg" alt="图形所见选Input文本框形式" /></p>
<p>下载：<a href="http://down.qiannao.com/space/file/phoyu/share/2010/8/29/-989c-8272-9009-62e9-5668.rar/.page" target="_blank">两款颜色选择</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/liangkuanyansexuanzeqi.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>参加WebReBuild.ORG 2010第四届“重构人生”年会小结</title>
		<link>http://www.phoyu.com/design/canjiawebrebuild-org2010disijiezhonggourenshengnianhuixiaojie.html</link>
		<comments>http://www.phoyu.com/design/canjiawebrebuild-org2010disijiezhonggourenshengnianhuixiaojie.html#comments</comments>
		<pubDate>Mon, 23 Aug 2010 15:34:23 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[设计杂谈]]></category>
		<category><![CDATA[web前端技术]]></category>
		<category><![CDATA[技术交流会]]></category>
		<category><![CDATA[网站重构]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=211</guid>
		<description><![CDATA[ <img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/23/02.jpg" alt="WebReBuild.ORG 2010第四届“重构人生”年会" />

        参加这个会收获不小呀，这也是我第一次参加这种专业性的交流会。会议从web前端技术分享展开，由技术到使用技巧到经验总结分享，再到项目操作经验分享，分享他们是如何把生活的点点滴滴融入到了重构的领域中的，从技术到理念的形成，再升华到人生哲学。

下面是这次会议每个人所分享的主题与内容：
 <a href="http://www.phoyu.com/design/canjiawebrebuild-org2010disijiezhonggourenshengnianhuixiaojie.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/23/02.jpg" alt="WebReBuild.ORG 2010第四届“重构人生”年会" /><br />
<a href="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/23/01.jpg" target="_blank">查看大图片</a></p>
<p>参加这个会收获不小呀，这也是我第一次参加这种专业性的交流会。会议从web前端技术分享展开，由技术到使用技巧到经验总结分享，再到项目操作经验分享，分享他们是如何把生活的点点滴滴融入到了重构的领域中的，从技术到理念的形成，再升华到人生哲学。</p>
<p>下面是这次会议每个人所分享的主题与内容：</p>
<p><strong>胡坤 - Google开发推广部经理</strong></p>
<p>主题：《下一代的web开发标准—HTML5》</p>
<p>内容：讲述了一些关于HTML5的前景与发展方向，HTML5对于互联网时代的推进，为我们展示了很多HTML5的应用。</p>
<p>胡坤的PPT使用HTML编写，在PPT中通过Google API展示了一些有趣的应用。“提醒API”可以从系统下方弹出提醒tips，而不仅仅是当前页面弹出。观众提问，Chrome和webkit的关系，面对IE9对HTML5某些特性的强势支持，Chrome有什么未来打算。胡坤回答，Chrome受到webkit内核的一些限制，但双方都在积极合作，希望促进未来web的发展。</p>
<p><strong>石玉磊 - 腾讯资深前端工程师</strong></p>
<p>主题：《Web前端开发实用工具》</p>
<p>内容：主要是展示了他自己开发的Fiddler插件 - Willow。可以将url指向到本机文件夹或者特定IP，监控包括但不限于浏览器的所有程序。</p>
<p>石玉磊是Fiddler插件 ——willow的作者，超级实用的一个插件，可以将url指向到本机文件夹或者特定IP，监控包括但不限于浏览器的所有程序。willow起名来自与他的女朋友的名字。</p>
<p>由于前端代码都是开放的，包括HTML,CSS,JS，所以我们可以方便地查看他人的代码。而如果要修改调试的话就需要把文件保存在本机，石玉磊介绍了一种方法，可以通过willow方便保存所有的会话（包括HTML,CSS,JS,图片）到本地。（即使不能站在巨人的肩膀上，还可以坐在他们腿上。）</p>
<p>BOM在前段开发中会引发大量问题，一般的建议是始终使用无BOM的UTF-8编码。willow提供了一个方便的方法检测BOM。</p>
<p><strong>郑焕义 - 设计师+重构工程师/Web标准推行者</strong></p>
<p>主题：《重温网站重构》</p>
<p>内容：重温了《网站重构》这本书，讲了一些重构工程师在做前端开发的时候需要注意的问题。</p>
<p>语义化有很多可能理由，比如SEO等，但是好像都跟我们无关，我们用语义化的标签的真正原因是什么呢？因为这是正确的事情，我们写正确的标签，浏览器就会在细节上为用户优化它们，除此之外还要考虑弱视弱听的用户。</p>
<p><strong>邹惠斌 - 迅雷资深重构工程师</strong></p>
<p>主题：《移动设备的WEB重构》</p>
<p>内容：从主题名字上就能清楚明白说的是什么。</p>
<p>手机平台下还要考虑语义化标签吗？来自迅雷的邹惠斌的建议是，有一些是建议使用，有一些是不建议的，比如ol和ul就不建议使用，因为它们的列表样式用CSS都无法定义。</p>
<p>建议在移动设备开发中，个别兼容，个别不同展现，针对不同平台用不同的样式表现。观众提问提到 html5 manifest，这确实是非常有趣的一个特性，但它能在项目中运用到什么样的程度，还有待探讨。</p>
<p><strong>张思坚 - 彩讯资深前端工程师/最早的前端开拓者</strong></p>
<p>主题：《浏览器兼容性》</p>
<p>内容：首先是介绍了各个浏览器，还有内核。然后就介绍浏览器兼容性方面的知识，还有CSS Reset 和 CSS heck的问题等。</p>
<p>兼容策略：</p>
<p>1、用重设尽量减少浏览器之间的差异；</p>
<p>2、通过W3C的支持度来区分标准浏览器与非标准浏览器；</p>
<p>3、通过内核来区分；</p>
<p>4、通过特定版本Bug…；</p>
<p>5、借助脚本区分浏览器及版本；</p>
<p>介绍了几款文本编辑软件，像Aptana、Editplus、Vim等，都是特别酷的！</p>
<p><strong>陈军 - 金蝶资深项目经理</strong></p>
<p>主题：《Scrum敏捷项目管理》</p>
<p>内容：讲述了重构是敏捷开发中很重要的一部分。Scrum是一个敏捷开发框架，是一个增量迭代的开发过程。Scrum在团队中起到的重要作用。</p>
<p>在每一次迭代开始之前产品经理都会准备一份排好优先级的需求列表，团队可以提出意见，哪些优先级可以排高一些，最后由产品负责人确定本次迭代要开发的功能。在以后的迭代开始之前负责人有权调整这些需求的优先级，以确保每一次团队都在开发最有价值的需求。</p>
<p>Scrum里有一个经典事件：每天早上有一个15分钟的Scrum简会，每位团队成员陈述当前状态，记录在白板上。白板无论对于内部成员还是对外部接口都是一个很好的描述项目进展的展示板。Scrum Master要保证团队不受打扰，保持项目的心跳，让团队自己发挥潜能。</p>
<p>Scrum的核心是“拥抱变化”，它的迭代周期很短，在迭代完成之后的功能演示会议上客户会提出一些需求。因为互联网行业中客户在看到界面之前往往不清楚自己需要的是什么，通过完成核心需求来展示给客户界面，可以让他提出意见，团队好进行下一轮的迭代讨论。</p>
<p><strong>梁璟彪 - WebRebuild创始人之一/Web标准推行者</strong></p>
<p>主题：《化烦为减》</p>
<p>内容：运用了两个-哈-佛-大-学-曾经讨过的课题，引出两种价值取向：是否功利主义。提出了“重点，中点，终点”和“看三，说二，做一”的观点。</p>
<p>果然是压轴的精彩分享，讲点技术讲点生活，又围绕着技术和工作，有大师的风范形散而神不散。从技术开始，由一首歌《每天爱你多一些》引发，最后上升到整个人生：什么都略懂一点，生活更精彩一些。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/design/canjiawebrebuild-org2010disijiezhonggourenshengnianhuixiaojie.html/feed</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>一组多样式jQuery版的无缝滚动图片代码</title>
		<link>http://www.phoyu.com/divcss/yizuduoyangshijquerybandewufenggundongtupiandaima.html</link>
		<comments>http://www.phoyu.com/divcss/yizuduoyangshijquerybandewufenggundongtupiandaima.html#comments</comments>
		<pubDate>Fri, 20 Aug 2010 15:22:40 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[js效果]]></category>
		<category><![CDATA[web前端技术]]></category>
		<category><![CDATA[图片效果]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=210</guid>
		<description><![CDATA[    这一组多样式jQuery版的无缝滚动图片代码，挺不错的，有多种效果可以设置，可设为垂直或横向滚动。可以直接加载也可以用Ajax形式异步加载，真是方便也强大。

    现在我就把它整理一下，主要界面截个图片方便快速查找使用。
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/20/gundonga.jpg" alt="jQuery版的无缝滚动图片" />
 <a href="http://www.phoyu.com/divcss/yizuduoyangshijquerybandewufenggundongtupiandaima.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>    图片滚动是网站设计中常常用到的效果，也收集过不少，复杂的简单的，但经常都是要用的时候，也不爱从硬盘里面找，因为收集这一类东西太多了，找起来不能很好的预览到效果，最后更多的是再从各资源网站找，或直接找百度谷歌。</p>
<p>    这一组多样式jQuery版的无缝滚动图片代码，挺不错的，有多种效果可以设置，可设为垂直或横向滚动。可以直接加载也可以用Ajax形式异步加载，真是方便也强大。</p>
<p>    现在我就把它整理一下，主要界面截个图片方便快速查找使用。<br />
<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/20/gundongb.jpg" alt="jQuery版的无缝滚动图片" /></p>
<p>浏览器支持：<br />
Internet Explorer 6 (PC)<br />
Internet Explorer 7 (PC)<br />
FireFox 1.5.0.6 (PC/Mac/Linux)<br />
Opera 9.01 (PC/Mac)<br />
Safari 2.0.4 (Mac)<br />
Safari 3.1.0 (PC)<br />
Konqueror 3.4.0 (Linux)</p>
<p>下载：<a href="http://down.qiannao.com/space/file/phoyu/share/2010/8/20/-4e00-7ec4-591a-6837-5f0fjQuery-7248-7684-65e0-7f1d-6eda-52a8-56fe-7247-4ee3-7801.rar/.page" target="_blank">一组多样式jQuery版的无缝滚动图片代码</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/yizuduoyangshijquerybandewufenggundongtupiandaima.html/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>图片滚动控制JS效果</title>
		<link>http://www.phoyu.com/divcss/tupiangundongkongzhijsxiaoguo.html</link>
		<comments>http://www.phoyu.com/divcss/tupiangundongkongzhijsxiaoguo.html#comments</comments>
		<pubDate>Mon, 16 Aug 2010 15:04:25 +0000</pubDate>
		<dc:creator>风羽</dc:creator>
				<category><![CDATA[前端代码]]></category>
		<category><![CDATA[js效果]]></category>
		<category><![CDATA[图片效果]]></category>

		<guid isPermaLink="false">http://www.phoyu.com/?p=203</guid>
		<description><![CDATA[<img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/16/-6eda-52a8-56fe-7247.jpg" alt="图片滚动控制JS效果" />
超级经典一套鼠标控制左右滚动图片带自动翻滚

新浪招聘的图片滚动控制JS效果
…… <a href="http://www.phoyu.com/divcss/tupiangundongkongzhijsxiaoguo.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://pic.qnpic.com/r.jsp?fn=//phoyu/-4e0a-4f20-5206-4eab/2010/8/16/-6eda-52a8-56fe-7247.jpg" alt="图片滚动控制JS效果" /><br />
超级经典一套鼠标控制左右滚动图片带自动翻滚</p>
<p>新浪招聘的图片滚动控制JS效果</p>
<div class="runcode">
<p><textarea name="runcode" style="height:200px;width:550px;font-size:12px" class="runcode_text" id="runcode_ONIhIF">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=gb2312&quot; /&gt;
&lt;title&gt;超级经典一套鼠标控制左右滚动图片带自动翻滚&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div class=&quot;rollBox&quot;&gt;
     &lt;div class=&quot;LeftBotton&quot; onmousedown=&quot;ISL_GoUp()&quot; onmouseup=&quot;ISL_StopUp()&quot; onmouseout=&quot;ISL_StopUp()&quot;&gt;&lt;/div&gt;
     &lt;div class=&quot;Cont&quot; id=&quot;ISL_Cont&quot;&gt;
      &lt;div class=&quot;ScrCont&quot;&gt;
       &lt;div id=&quot;List1&quot;&gt;
        &lt;!-- 图片列表 begin --&gt;
         &lt;div class=&quot;pic&quot;&gt;
          &lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/15.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i0.sinaimg.cn/edu/deco/2007/0928/aiying.jpg&quot; width=&quot;109&quot; height=&quot;87&quot; alt=&quot;周宪环&quot; /&gt;&lt;/a&gt;
          &lt;p&gt;&lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/15.html&quot; target=&quot;_blank&quot;&gt;周宪环&lt;/a&gt;&lt;/p&gt;
         &lt;/div&gt;
 &lt;div class=&quot;pic&quot;&gt;
          &lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/16.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i1.sinaimg.cn/edu/deco/2007/0928/zhenwei.jpg&quot; width=&quot;109&quot; height=&quot;87&quot; alt=&quot;周桢炜&quot; /&gt;&lt;/a&gt;
          &lt;p&gt;&lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/16.html&quot; target=&quot;_blank&quot;&gt;周桢炜&lt;/a&gt;&lt;/p&gt;
         &lt;/div&gt;
         &lt;div class=&quot;pic&quot;&gt;
          &lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/14.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i2.sinaimg.cn/edu/deco/2007/0928/zhangying.jpg&quot; width=&quot;109&quot; height=&quot;87&quot; alt=&quot;张颖&quot; /&gt;&lt;/a&gt;
          &lt;p&gt;&lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/14.html&quot; target=&quot;_blank&quot;&gt;张颖&lt;/a&gt;&lt;/p&gt;
         &lt;/div&gt;
         &lt;div class=&quot;pic&quot;&gt;
          &lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/17.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i3.sinaimg.cn/edu/deco/2007/0928/wangnaichao.jpg&quot; width=&quot;109&quot; height=&quot;87&quot; alt=&quot;王乃超&quot; /&gt;&lt;/a&gt;
          &lt;p&gt;&lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/17.html&quot; target=&quot;_blank&quot;&gt;王乃超&lt;/a&gt;&lt;/p&gt;
         &lt;/div&gt;
         &lt;div class=&quot;pic&quot;&gt;
          &lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/19.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i1.sinaimg.cn/edu/deco/2007/0928/xiewenxiu.jpg&quot; width=&quot;109&quot; height=&quot;87&quot; alt=&quot;谢雯琇&quot; /&gt;&lt;/a&gt;
          &lt;p&gt;&lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/19.html&quot; target=&quot;_blank&quot;&gt;谢雯琇&lt;/a&gt;&lt;/p&gt;
         &lt;/div&gt;
 &lt;div class=&quot;pic&quot;&gt;
          &lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/18.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i1.sinaimg.cn/edu/deco/2007/0928/lvge.jpg&quot; width=&quot;109&quot; height=&quot;87&quot; alt=&quot;吕铬&quot; /&gt;&lt;/a&gt;
          &lt;p&gt;&lt;a href=&quot;http://career.sina.com.cn/3/2007/0928/18.html&quot; target=&quot;_blank&quot;&gt;吕铬&lt;/a&gt;&lt;/p&gt;
         &lt;/div&gt;
         &lt;div class=&quot;pic&quot;&gt;
          &lt;a href=&quot;http://career.sina.com.cn/3/2007/0927/12.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i2.sinaimg.cn/edu/deco/2007/0928/zhengru.jpg&quot; width=&quot;109&quot; height=&quot;87&quot; alt=&quot;贾正如&quot; /&gt;&lt;/a&gt;
          &lt;p&gt;&lt;a href=&quot;http://career.sina.com.cn/3/2007/0927/12.html&quot; target=&quot;_blank&quot;&gt;贾正如&lt;/a&gt;&lt;/p&gt;
         &lt;/div&gt;
        &lt;!-- 图片列表 end --&gt;
       &lt;/div&gt;
       &lt;div id=&quot;List2&quot;&gt;&lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
     &lt;div class=&quot;RightBotton&quot; onmousedown=&quot;ISL_GoDown()&quot; onmouseup=&quot;ISL_StopDown()&quot; onmouseout=&quot;ISL_StopDown()&quot;&gt;&lt;/div&gt;
    &lt;/div&gt;
   &lt;/div&gt;
&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
.rollBox{width:704px;overflow:hidden;padding:12px 0 5px 6px;}
.rollBox .LeftBotton{height:52px;width:19px;background:url(http://i3.sinaimg.cn/edu/deco/2007/0924/career/job_mj_069.gif) no-repeat 11px 0;overflow:hidden;float:left;display:inline;margin:25px 0 0 0;cursor:pointer;}
.rollBox .RightBotton{height:52px;width:20px;background:url(http://i3.sinaimg.cn/edu/deco/2007/0924/career/job_mj_069.gif) no-repeat -8px 0;overflow:hidden;float:left;display:inline;margin:25px 0 0 0;cursor:pointer;}
.rollBox .Cont{width:663px;overflow:hidden;float:left;}
.rollBox .ScrCont{width:10000000px;}
.rollBox .Cont .pic{width:132px;float:left;text-align:center;}
.rollBox .Cont .pic img{padding:4px;background:#fff;border:1px solid #ccc;display:block;margin:0 auto;}
.rollBox .Cont .pic p{line-height:26px;color:#505050;}
.rollBox .Cont a:link,.rollBox .Cont a:visited{color:#626466;text-decoration:none;}
.rollBox .Cont a:hover{color:#f00;text-decoration:underline;}
.rollBox #List1,.rollBox #List2{float:left;}
--&gt;
&lt;/style&gt;
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;
&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--
//图片滚动列表 mengjia 070816
var Speed = 10; //速度(毫秒)
var Space = 5; //每次移动(px)
var PageWidth = 132; //翻页宽度
var fill = 0; //整体移位
var MoveLock = false;
var MoveTimeObj;
var Comp = 0;
var AutoPlayObj = null;
GetObj(&quot;List2&quot;).innerHTML = GetObj(&quot;List1&quot;).innerHTML;
GetObj('ISL_Cont').scrollLeft = fill;
GetObj(&quot;ISL_Cont&quot;).onmouseover = function(){clearInterval(AutoPlayObj);}
GetObj(&quot;ISL_Cont&quot;).onmouseout = function(){AutoPlay();}
AutoPlay();
function GetObj(objName){if(document.getElementById){return eval('document.getElementById(&quot;'+objName+'&quot;)')}else{return eval('document.all.'+objName)}}
function AutoPlay(){ //自动滚动
 clearInterval(AutoPlayObj);
 AutoPlayObj = setInterval('ISL_GoDown();ISL_StopDown();',5000); //间隔时间
}
function ISL_GoUp(){ //上翻开始
 if(MoveLock) return;
 clearInterval(AutoPlayObj);
 MoveLock = true;
 MoveTimeObj = setInterval('ISL_ScrUp();',Speed);
}
function ISL_StopUp(){ //上翻停止
 clearInterval(MoveTimeObj);
 if(GetObj('ISL_Cont').scrollLeft % PageWidth - fill != 0){
  Comp = fill - (GetObj('ISL_Cont').scrollLeft % PageWidth);
  CompScr();
 }else{
  MoveLock = false;
 }
 AutoPlay();
}
function ISL_ScrUp(){ //上翻动作
 if(GetObj('ISL_Cont').scrollLeft &lt;= 0){GetObj('ISL_Cont').scrollLeft = GetObj('ISL_Cont').scrollLeft + GetObj('List1').offsetWidth}
 GetObj('ISL_Cont').scrollLeft -= Space ;
}
function ISL_GoDown(){ //下翻
 clearInterval(MoveTimeObj);
 if(MoveLock) return;
 clearInterval(AutoPlayObj);
 MoveLock = true;
 ISL_ScrDown();
 MoveTimeObj = setInterval('ISL_ScrDown()',Speed);
}
function ISL_StopDown(){ //下翻停止
 clearInterval(MoveTimeObj);
 if(GetObj('ISL_Cont').scrollLeft % PageWidth - fill != 0 ){
  Comp = PageWidth - GetObj('ISL_Cont').scrollLeft % PageWidth + fill;
  CompScr();
 }else{
  MoveLock = false;
 }
 AutoPlay();
}
function ISL_ScrDown(){ //下翻动作
 if(GetObj('ISL_Cont').scrollLeft &gt;= GetObj('List1').scrollWidth){GetObj('ISL_Cont').scrollLeft = GetObj('ISL_Cont').scrollLeft - GetObj('List1').scrollWidth;}
 GetObj('ISL_Cont').scrollLeft += Space ;
}
function CompScr(){
 var num;
 if(Comp == 0){MoveLock = false;return;}
 if(Comp &lt; 0){ //上翻
  if(Comp &lt; -Space){
   Comp += Space;
   num = Space;
  }else{
   num = -Comp;
   Comp = 0;
  }
  GetObj('ISL_Cont').scrollLeft -= num;
  setTimeout('CompScr()',Speed);
 }else{ //下翻
  if(Comp &gt; Space){
   Comp -= Space;
   num = Space;
  }else{
   num = Comp;
   Comp = 0;
  }
  GetObj('ISL_Cont').scrollLeft += num;
  setTimeout('CompScr()',Speed);
 }
}
//--&gt;&lt;!]]&gt;
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</textarea></p>
<p><input type="button" value="运行" class="runcode_button" onclick="runcode_open_new('runcode_ONIhIF');"/> <input type="button" value="复制" class="runcode_button" onclick="runcode_copy('runcode_ONIhIF');"/> <input type="button" value="另存代码" class="runcode_button" onclick="saveCode('runcode_ONIhIF','runcode_ONIhIF');"/> 提示：你可以先修改部分代码再运行。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.phoyu.com/divcss/tupiangundongkongzhijsxiaoguo.html/feed</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
	</channel>
</rss>

