<?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>Drupal Developer &#187; Frontend Design</title>
	<atom:link href="http://blog.eood.cn/category/frontend-design/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.eood.cn</link>
	<description>A decathlon Drupal developer &#38; programmer</description>
	<lastBuildDate>Thu, 29 Jul 2010 14:55:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>网站前端性能优化之CSS Sprite</title>
		<link>http://blog.eood.cn/%e7%bd%91%e7%ab%99%e5%89%8d%e7%ab%af%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%96%e4%b9%8bcss-sprite</link>
		<comments>http://blog.eood.cn/%e7%bd%91%e7%ab%99%e5%89%8d%e7%ab%af%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%96%e4%b9%8bcss-sprite#comments</comments>
		<pubDate>Wed, 28 Jul 2010 12:17:19 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>
		<category><![CDATA[CSS Sprite]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/?p=1192</guid>
		<description><![CDATA[CSS Sprite 是将网页中多个小图片拼成一个大的图片，在显示的时候利用子图片定位的方式显示某个小图片。 这样做可以通过减少DNS查询,减少WEB服务器请求次数,优化页面整体的加载速度。 免费在线网页图片聚合工具： CSS Sprite Generator http://spritegen.website-performance.org/]]></description>
		<wfw:commentRss>http://blog.eood.cn/%e7%bd%91%e7%ab%99%e5%89%8d%e7%ab%af%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%96%e4%b9%8bcss-sprite/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debug javascript or do automatic javascript testing</title>
		<link>http://blog.eood.cn/debug-javascript-or-do-automatic-javascript-testing</link>
		<comments>http://blog.eood.cn/debug-javascript-or-do-automatic-javascript-testing#comments</comments>
		<pubDate>Wed, 26 May 2010 14:20:39 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/?p=1088</guid>
		<description><![CDATA[Tools: Firefox &#38; Firebug or Safari Library: function ConsoleLogger(level) { this.level=level&#124;&#124;4; this.start=function(){}; this.log=function(msg,level){ level=level&#124;&#124;0; if(level&#62;this.level)return; if(typeof(console)==&#8217;undefined&#8217;)return; try{ switch(level){case 0:console.warn(msg);break; case 1:console.error(msg);break; case 2:console.info(msg);break; case 4:console.debug(msg);break; default:console.log(msg);break; } }catch(e){ try{console.log(msg)}catch(e){} } }; this.setLevel=function(level){ this.level=level;return this; }; this.getLevel=function(){ return this.level; }; } Example: oDbg = new ConsoleLogger(2); oDbg.log(&#8220;warn info: &#8230;.&#8221;, 0); oDbg.log(&#8220;error info: &#8230;.&#8221;, 1); oDbg.log(&#8220;info info: [...]]]></description>
		<wfw:commentRss>http://blog.eood.cn/debug-javascript-or-do-automatic-javascript-testing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debug javascript manually</title>
		<link>http://blog.eood.cn/debug-javascript-manually</link>
		<comments>http://blog.eood.cn/debug-javascript-manually#comments</comments>
		<pubDate>Wed, 26 May 2010 14:17:12 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/?p=1080</guid>
		<description><![CDATA[try { &#8230; YOUR JAVASCRIPT CODE &#8230; } catch (e) { for (myBug in e) { alert (&#8220;e["myBug +"] = &#8220;+e[myKey]); } } Surround your JavaScript code with try catch, run the code in your browser, then you will see every error in your codes.]]></description>
		<wfw:commentRss>http://blog.eood.cn/debug-javascript-manually/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal theme variables</title>
		<link>http://blog.eood.cn/drupal-theme-variables</link>
		<comments>http://blog.eood.cn/drupal-theme-variables#comments</comments>
		<pubDate>Thu, 11 Mar 2010 13:35:38 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>
		<category><![CDATA[Druapl]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/?p=932</guid>
		<description><![CDATA[How to use Drupal theme variables? Add the following codes into themplt.php &#38;lt;?php yourthemename_preprocess_page(&#38;amp;$variables) { $variables['happyday'] = 'Happy ' . format_date(time(), 'custom', 'l') . '!'; } ?&#38;gt; And display the variables in page.tpl.php: &#38;lt;?php print $happyday; ?&#38;gt;]]></description>
		<wfw:commentRss>http://blog.eood.cn/drupal-theme-variables/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal theme block display issues</title>
		<link>http://blog.eood.cn/drupal-theme-block-display-issues</link>
		<comments>http://blog.eood.cn/drupal-theme-block-display-issues#comments</comments>
		<pubDate>Thu, 11 Mar 2010 13:32:01 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/?p=929</guid>
		<description><![CDATA[Complex themes have many different block regions, some regions will only appear on certain pages or when viewing nodes of certain types. One very common use-case is to have both a page.tpl.php, and a page-front.tpl.php, each of which print out different regions. How to define block regions in Drupal? Simply add a couple lines in [...]]]></description>
		<wfw:commentRss>http://blog.eood.cn/drupal-theme-block-display-issues/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug of background image in an inline list in IE8</title>
		<link>http://blog.eood.cn/bug-of-background-image-in-an-inline-list-in-ie8</link>
		<comments>http://blog.eood.cn/bug-of-background-image-in-an-inline-list-in-ie8#comments</comments>
		<pubDate>Sun, 10 Jan 2010 22:15:35 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/articles/404</guid>
		<description><![CDATA[Also see http://www.v7n.com/forums/web-design-lobby/115171-background-image-inline-list-ie.html FF/IE hacks: padding: 2px 0 2px 18px; /*FF LTR */ padding: 12px 0 2px 18px\9; /*IE8 LTR */ +padding: 2px 0 2px 18px; /*IE7 LTR */ _padding: 2px 0 2px 18px; /*IE6 LTR */]]></description>
		<wfw:commentRss>http://blog.eood.cn/bug-of-background-image-in-an-inline-list-in-ie8/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: urls</title>
		<link>http://blog.eood.cn/urls-3</link>
		<comments>http://blog.eood.cn/urls-3#comments</comments>
		<pubDate>Thu, 10 Dec 2009 02:05:00 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/articles/381</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
		<wfw:commentRss>http://blog.eood.cn/urls-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple usage of ajax json in drupal</title>
		<link>http://blog.eood.cn/simple-usage-of-ajax-json-in-drupal</link>
		<comments>http://blog.eood.cn/simple-usage-of-ajax-json-in-drupal#comments</comments>
		<pubDate>Thu, 22 Oct 2009 18:11:05 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/articles/341</guid>
		<description><![CDATA[//add the client side js function hook_init() { drupal_add_js(&#8216;$(document).ready( function(&#8230;){}); &#8216;,&#8217;inline&#8217;); } //server side callback function my() { drupal_set_header(&#8216;Content-Type: text/plain; charset: utf-8&#8242;); $output = &#8221;; &#8230; echo json_encode($output); }]]></description>
		<wfw:commentRss>http://blog.eood.cn/simple-usage-of-ajax-json-in-drupal/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>前端开发必备FF插件FIREBUG</title>
		<link>http://blog.eood.cn/frondend-designer-must-have-firebug</link>
		<comments>http://blog.eood.cn/frondend-designer-must-have-firebug#comments</comments>
		<pubDate>Thu, 20 Nov 2008 21:00:29 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/articles/170</guid>
		<description><![CDATA[前端开发必备FF插件FIREBUG]]></description>
		<wfw:commentRss>http://blog.eood.cn/frondend-designer-must-have-firebug/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>前端开发必备HttpWatch</title>
		<link>http://blog.eood.cn/frondend-designer-tool-httpwatch</link>
		<comments>http://blog.eood.cn/frondend-designer-tool-httpwatch#comments</comments>
		<pubDate>Wed, 19 Nov 2008 04:57:33 +0000</pubDate>
		<dc:creator>Bruce Dou</dc:creator>
				<category><![CDATA[Frontend Design]]></category>
		<category><![CDATA[frondend]]></category>
		<category><![CDATA[httpwatch]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://blog.eood.cn/articles/157</guid>
		<description><![CDATA[HttpWatch强大的网页数据分析工具.集成在Internet Explorer工具栏.包括网页摘要.Cookies管理.缓存管理.消息头发送/接受.字符查询.POST 数据和目录管理功能.报告输出 HttpWatch 是一款能够收集并显示页页深层信息的软件。它不用代理服务器或一些复杂的网络监控工具，就能够在显示网页同时显示网页请求和回应的日志信息。甚至可以显示浏览器缓存和IE之间的交换信息。集成在Internet Explorer工具栏。]]></description>
		<wfw:commentRss>http://blog.eood.cn/frondend-designer-tool-httpwatch/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
