<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.leo-n.cn/styles/feedsky8.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.leo-n.cn" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/leo_n" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 18 Mar 2010 12:47:46 GMT</lastBuildDate><title>不知所云</title><description>Leo.N's Blog</description><image><url>http://www.feedsky.com/images/feedsky_logologo.gif</url><title>不知所云</title><link>http://leo-n.cn</link></image><link>http://leo-n.cn</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Thu, 18 Mar 2010 12:56:26 GMT</pubDate><item><title>Hello World!</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490760/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　我回来了！&lt;/p&gt;
&lt;p&gt;　　经历了多次跳票以后我终于完成了现在这个主题，从今天开始，我将恢复更新博客。对于新主题，我要感谢以下各位博友，正因为有他们的各种代码以及创意，才有了我现在这个主题。&lt;/p&gt;
&lt;p&gt;　　Willin：Ajax回复，头像缓存&amp;#8221;小g&amp;#8221;，防Spam的&amp;#8221;小墙&amp;#8221;。&lt;br /&gt;
　　木木：标题点击后变Loading效果。&lt;br /&gt;
　　wlsy：参考了头部导航样式。&lt;/p&gt;
&lt;p&gt;　　还有一些不明出处的创意，在此也表示感谢。&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Related Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/11/05 -- &lt;a href=&quot;http://leo-n.cn/hide-visitor-info-with-jquery.html&quot; title=&quot;用jQuery隐藏回头访客资料输入框&quot;&gt;用jQuery隐藏回头访客资料输入框&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/04 -- &lt;a href=&quot;http://leo-n.cn/modify-theme-again.html&quot; title=&quot;博客主题再次修改&quot;&gt;博客主题再次修改&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/10/11 -- &lt;a href=&quot;http://leo-n.cn/ie-firefox-hack.html&quot; title=&quot;IE&amp;#038;Firefox Hack&quot;&gt;IE&amp;#038;Firefox Hack&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/10/11 -- &lt;a href=&quot;http://leo-n.cn/theme-gray-green.html&quot; title=&quot;Gray&amp;#038;Green?&quot;&gt;Gray&amp;#038;Green?&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/09/09 -- &lt;a href=&quot;http://leo-n.cn/its-a-micblog-by-wordpress.html&quot; title=&quot;用WordPress做了一个微博&quot;&gt;用WordPress做了一个微博&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490760/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490760/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490760/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490760/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=ee0327a9945762c78e7aeafc6f11d917&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=ee0327a9945762c78e7aeafc6f11d917&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4e69b8e24f44a3bed15d627cf443f9d0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4e69b8e24f44a3bed15d627cf443f9d0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=30e57debb7920b05c418cfb6477dc7f6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=30e57debb7920b05c418cfb6477dc7f6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=065461373b8e7dae9cf51189a9e2401e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=065461373b8e7dae9cf51189a9e2401e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=9bc6e6ea1be0dde43855a1379134da88&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=9bc6e6ea1be0dde43855a1379134da88&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=3bed4b067f757dcb2fe96f06f7f839ca&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=3bed4b067f757dcb2fe96f06f7f839ca&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/i-am-back.html/feed</wfw:commentRss><slash:comments>9</slash:comments><description>　　我回来了！
　　经历了多次跳票以后我终于完成了现在这个主题，从今天开始，我将恢复更新博客。对于新主题，我要感谢以下各位博友，正因为有他们的各种代码以及创意，才有了我现在这个主题。
　　Willin：Ajax回复，头像缓存&amp;#8221;小g&amp;#8221;，防Spam的&amp;#8221;小墙&amp;#8221;。
　　木木：标题点击后变Loading效果。
　　wlsy：参考了头部导航样式。
　　还有一些不明出处的创意，在此也表示感谢。
Related Posts2009/11/05 -- 用jQuery隐藏回头访客资料输入框2009/11/04 -- 博客主题再次修改2009/10/11 -- IE&amp;#038;Firefox Hack2009/10/11 -- Gray&amp;#038;Green?2009/09/09 -- 用WordPress做了一个微博&lt;img src=&quot;http://www1.feedsky.com/t1/343490760/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490760/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490760/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490760/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=ee0327a9945762c78e7aeafc6f11d917&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=ee0327a9945762c78e7aeafc6f11d917&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4e69b8e24f44a3bed15d627cf443f9d0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4e69b8e24f44a3bed15d627cf443f9d0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=30e57debb7920b05c418cfb6477dc7f6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=30e57debb7920b05c418cfb6477dc7f6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=065461373b8e7dae9cf51189a9e2401e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=065461373b8e7dae9cf51189a9e2401e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=9bc6e6ea1be0dde43855a1379134da88&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=9bc6e6ea1be0dde43855a1379134da88&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=3bed4b067f757dcb2fe96f06f7f839ca&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=3bed4b067f757dcb2fe96f06f7f839ca&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>wordpress themes</category><category>Life</category><pubDate>Thu, 18 Mar 2010 20:47:46 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/i-am-back.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=680</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/i-am-back.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490760/1335691</fs:itemid></item><item><title>博客冬眠段时间</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490761/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　致各位有心无心点进我博客的朋友以及各让我头疼的自动或人工Spamer：最近由于各种原因无心折腾Wordpress了，貌似我去年也是这个时候暂时停止更新博客，好吧，你们可以理解成我冬眠去了，待明年春暖花开，我会回来的，谢谢各位点击！&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Random Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2008/12/03 -- &lt;a href=&quot;http://leo-n.cn/cwow30-will-be-coming.html&quot; title=&quot;Cwow3.0即将到来，预言的技术分析。[分析失效，但3.0已如期到来]&quot;&gt;Cwow3.0即将到来，预言的技术分析。[分析失效，但3.0已如期到来]&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2008/05/23 -- &lt;a href=&quot;http://leo-n.cn/wow-update-to-the-burning-crusade.html&quot; title=&quot;WoW版本升级留念&quot;&gt;WoW版本升级留念&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/06/03 -- &lt;a href=&quot;http://leo-n.cn/about-baofengplayer.html&quot; title=&quot;关于暴风影音的那些破事儿&quot;&gt;关于暴风影音的那些破事儿&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/04/12 -- &lt;a href=&quot;http://leo-n.cn/foxmarks-update-to-xmarks.html&quot; title=&quot;Foxmarks升级至Xmarks.&quot;&gt;Foxmarks升级至Xmarks.&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2008/05/23 -- &lt;a href=&quot;http://leo-n.cn/about-counter-strike.html&quot; title=&quot;世界上呢SB还真TMD多.&quot;&gt;世界上呢SB还真TMD多.&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490761/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490761/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490761/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490761/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=e1d136622b1475724a76ec96d21c8a9f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=e1d136622b1475724a76ec96d21c8a9f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f105f1e71fdf420ef2dcd61c16e13af8&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f105f1e71fdf420ef2dcd61c16e13af8&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f490aa8a70cc0c836b151b60b9f6a6f7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f490aa8a70cc0c836b151b60b9f6a6f7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=824d4c29830752c2d86eea5952f31fe5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=824d4c29830752c2d86eea5952f31fe5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=c6bc766e55d75f0198b87b786340e2ed&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=c6bc766e55d75f0198b87b786340e2ed&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f6d5860642d79c42f8e669f18d4555fb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f6d5860642d79c42f8e669f18d4555fb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/blog-hibernation.html/feed</wfw:commentRss><slash:comments>55</slash:comments><description>　　致各位有心无心点进我博客的朋友以及各让我头疼的自动或人工Spamer：最近由于各种原因无心折腾Wordpress了，貌似我去年也是这个时候暂时停止更新博客，好吧，你们可以理解成我冬眠去了，待明年春暖花开，我会回来的，谢谢各位点击！
Random Posts2008/05/23 -- 安装realplayer生成的文件2009/04/23 -- 收到站长月刊,同时接受采访,囧.2008/05/23 -- 万网免费CN域名.2009/06/24 -- [快报]Google.com已经阵亡2008/05/23 -- 今天收集的关于.TK域名的一点点知识&lt;img src=&quot;http://www1.feedsky.com/t1/343490761/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490761/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490761/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490761/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=e1d136622b1475724a76ec96d21c8a9f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=e1d136622b1475724a76ec96d21c8a9f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f105f1e71fdf420ef2dcd61c16e13af8&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f105f1e71fdf420ef2dcd61c16e13af8&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f490aa8a70cc0c836b151b60b9f6a6f7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f490aa8a70cc0c836b151b60b9f6a6f7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=824d4c29830752c2d86eea5952f31fe5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=824d4c29830752c2d86eea5952f31fe5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=c6bc766e55d75f0198b87b786340e2ed&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=c6bc766e55d75f0198b87b786340e2ed&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f6d5860642d79c42f8e669f18d4555fb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f6d5860642d79c42f8e669f18d4555fb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Life</category><pubDate>Mon, 21 Dec 2009 19:47:35 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/blog-hibernation.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=673</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/blog-hibernation.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490761/1335691</fs:itemid></item><item><title>利用jQuery实现文章部分内容收缩</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490762/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　记得以前写过一篇名叫&lt;a href=&quot;http://leo-n.cn/wordpress-plugins-collapsible-elements.html&quot; target=&quot;_blank&quot;&gt;利用Collapsible Elements实现文章内容折叠效果&lt;/a&gt;的文章，当时Willin大师说过可以用jQuery来实现，无奈当时对jQuery毫无一点研究，只能硬着头皮用插件解决，这短时间稍微研究了下jQuery后，发现实现起来其实很简单，无非就是使用slideDown和slideUp俩函数，但下面代码和demo里面默认的是FadeIn和FadeOut两个函数，效果是渐显和渐隐，为什么不用收缩效果呢？因为在IE里面用收缩函数会不完美，在此再次鄙视IE。&lt;/p&gt;
&lt;p&gt;　　结合Willin大师思路做出来的精简版：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;$(document).ready(function() {&lt;br /&gt;
var botton='&amp;lt;span  style=&quot;cursor: pointer; color:#CC0033;background:#000;&quot;&amp;gt;点我&amp;lt;/span&amp;gt;';&lt;br /&gt;
$('#box-botton').append(botton);&lt;br /&gt;
//向#box-botton内添加上面定义的按钮&lt;br /&gt;
$('#box-botton&amp;gt;p').addClass('box');//为#box-botton内的&amp;lt;P&amp;gt;...&amp;lt;/P&amp;gt;内添加class=botton&lt;br /&gt;
$('.box').insertAfter('.botton');&lt;br /&gt;
//把按钮放在展开内容之前，因为默认会把按钮放在展开内容之后&lt;br /&gt;
$('.botton').click(function() {&lt;br /&gt;
$(this).siblings().slideToggle(500);return false;});&lt;br /&gt;
 //使用siblings是为了选择全部包含class=box的段落，如果使用next或prev的话只能选择相邻的同辈元素，也就是上面的一个或下面的一个，如果存在多个段落的话就会失效。&lt;br /&gt;
});&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;　　现在这个应该算是比较完美的版本了，解决了按钮会落在展开内容下面的缺陷，但效果只有展开，如果需要更多效果，请参照后面的代码修改。&lt;/p&gt;
&lt;p&gt;　　使用方法：在需要使用的地方用&lt;code&gt;&amp;lt;div id=box-botton&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt;包起来，如果你嫌字母太多的话，那就换个字母少的单词定义元素。&lt;/p&gt;
&lt;p&gt;　　Demo：&lt;a href=&quot;http://leo-n.cn/demo/demo2.html&quot; target=&quot;_blank&quot;&gt;http://leo-n.cn/demo/demo2.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　之前的代码如下：&lt;span id=&quot;more-662&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;$(document).ready(function() {&lt;br /&gt;
var off='&amp;lt;span class=&quot;show-box&quot; style=&quot;cursor: pointer; color:#CC0033;background:#000;&quot;&amp;gt;召唤出来&amp;lt;/span&amp;gt;';&lt;br /&gt;
var on='&amp;lt;span class=&quot;close-box&quot; style=&quot;cursor: pointer; color: #CC0033;background:#000;display:none;&quot;&amp;gt;解散回去&amp;lt;/span&amp;gt;';//定义按钮&lt;br /&gt;
$('#box-botton').append(on);&lt;br /&gt;
$('#box-botton').append(off); //向#box-botton内添加上面定义的按钮&lt;br /&gt;
$('#box-botton&amp;gt;p').addClass('box');//为#box-botton内的p标签添加class=box&lt;br /&gt;
$('.box').insertAfter('.show-box');&lt;br /&gt;
$('.box').insertAfter('.close-box');&lt;br /&gt;
$('.show-box').click(function() {&lt;br /&gt;
$('.show-box').hide();&lt;br /&gt;
$('.close-box').show();&lt;br /&gt;
//$('.box').slideDown('slow');//缓慢展开&lt;br /&gt;
$('.box').fadeIn(1200);//在1.2s之内渐显&lt;br /&gt;
//$('.box').show();//直接显示&lt;br /&gt;
});&lt;br /&gt;
$('.close-box').click(function() {&lt;br /&gt;
$('.close-box').hide();&lt;br /&gt;
$('.show-box').show();&lt;br /&gt;
//$('.box').slideUp('slow');&lt;br /&gt;
$('.box').fadeOut(1200);&lt;br /&gt;
//$('.box').hide();&lt;br /&gt;
});&lt;br /&gt;
});&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;依葫芦画瓢，如果你喜欢收缩形式（如果你能无视在IE中的缺陷的话），你就选择slideDown和slideUp，如果喜欢直来直去的话，就选择Show和Hide，想有点效果又顾虑IE缺陷的话，就用现在默认的，恩对了，还是那句话，必须加载jQuery框架，且在footer.php里加载以上代码。&lt;/p&gt;
&lt;p&gt;　　还有，使用之前务必在模板CSS里定义&lt;code&gt;.box{display:none;}&lt;/code&gt;，当然，这样做出来你可能会觉得很简陋，呃，那就依自己喜好在&lt;code&gt;.box&lt;/code&gt;里面加点佐料吧。&lt;/p&gt;
&lt;p&gt;　　&lt;del&gt;特别说明下，现在代码有一个可以称为bug的地方，就是展开后按钮位置是位于展开内容下面，对访客体验有点不好，但无奈于本人水平，没找到解决办法，高手请指点一下，我将不胜感激。&lt;/del&gt;已经解决。&lt;/p&gt;
&lt;p&gt;　　Demo：&lt;a href=&quot;http://leo-n.cn/demo/box.html&quot; target=&quot;_blank&quot;&gt;http://leo-n.cn/demo/box.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;　　还有还有，我手上有几个淘江湖的玩偶邀请，想要的童鞋请留言，我能赠送的只限于下图显示为彩色的玩偶：&lt;!--more--&gt;&lt;img class=&quot;alignnone&quot; title=&quot;taobao&quot; src=&quot;http://img.leo-n.cn/readimg.php?src=http%3A%2F%2Flh5.gouride.com%2F_3SKwLpzY0xM%2FSwf-Nx8ijQI%2FAAAAAAAAAMo%2Fj7AG4IvezKs%2Fs800%2Ftao.jpg&quot; alt=&quot;&quot; width=&quot;496&quot; height=&quot;549&quot; /&gt;&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Related Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/11/13 -- &lt;a href=&quot;http://leo-n.cn/modify-html-load-by-jquery.html&quot; title=&quot;利用jQuery改变网页元素加载顺序&quot;&gt;利用jQuery改变网页元素加载顺序&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/05 -- &lt;a href=&quot;http://leo-n.cn/hide-visitor-info-with-jquery.html&quot; title=&quot;用jQuery隐藏回头访客资料输入框&quot;&gt;用jQuery隐藏回头访客资料输入框&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490762/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490762/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490762/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490762/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=a9291ae1eeebc9ba679eac25f728dbf7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=a9291ae1eeebc9ba679eac25f728dbf7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=0f6fdd73c20e5c746bfda979af60fc56&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=0f6fdd73c20e5c746bfda979af60fc56&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=26bbc48ae4d8d239f36bad4ac3ee2935&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=26bbc48ae4d8d239f36bad4ac3ee2935&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=1a587ce384ddfc8c3d889110d11eac07&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=1a587ce384ddfc8c3d889110d11eac07&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=526267b0798d582073c6ff5bcffb353d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=526267b0798d582073c6ff5bcffb353d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4bbe6162bc5b6024a4ff10e0206f0b71&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4bbe6162bc5b6024a4ff10e0206f0b71&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/slide-post-with-jquery.html/feed</wfw:commentRss><slash:comments>35</slash:comments><description>　　记得以前写过一篇名叫利用Collapsible Elements实现文章内容折叠效果的文章，当时Willin大师说过可以用jQuery来实现，无奈当时对jQuery毫无一点研究，只能硬着头皮用插件解决，这短时间稍微研究了下jQuery后，发现实现起来其实很简单，无非就是使用slideDown和slideUp俩函数，但下面代码和demo里面默认的是FadeIn和FadeOut两个函数，效果是渐显和渐隐，为什么不用收缩效果呢？因为在IE里面用收缩函数会不完美，在此再次鄙视IE。
　　结合Willin大师思路做出来的精简版：
$(document).ready(function() {
var botton='&amp;#60;span  style=&quot;cursor: pointer; color:#CC0033;background:#000;&quot;&amp;#62;点我&amp;#60;/span&amp;#62;';
$('#box-botton').append(botton);
//向#box-botton内添加上面定义的按钮
$('#box-botton&amp;#62;p').addClass('box');//为#box-botton内的&amp;#60;P&amp;#62;...&amp;#60;/P&amp;#62;内添加class=botton
$('.box').insertAfter('.botton');
//把按钮放在展开内容之前，因为默认会把按钮放在展开内容之后
$('.botton').click(function() {
$(this).siblings().slideToggle(500);return false;});
 //使用siblings是为了选择全部包含class=box的段落，如果使用next或prev的话只能选择相邻的同辈元素，也就是上面的一个或下面的一个，如果存在多个段落的话就会失效。
});
　　现在这个应该算是比较完美的版本了，解决了按钮会落在展开内容下面的缺陷，但效果只有展开，如果需要更多效果，请参照后面的代码修改。
　　使用方法：在需要使用的地方用&amp;#60;div id=box-botton&amp;#62;&amp;#60;/div&amp;#62;包起来，如果你嫌字母太多的话，那就换个字母少的单词定义元素。
　　Demo：http://leo-n.cn/demo/demo2.html
　　之前的代码如下：
$(document).ready(function() {
var off='&amp;#60;span class=&quot;show-box&quot; style=&quot;cursor: pointer; color:#CC0033;background:#000;&quot;&amp;#62;召唤出来&amp;#60;/span&amp;#62;';
var on='&amp;#60;span class=&quot;close-box&quot; style=&quot;cursor: pointer; color: #CC0033;background:#000;display:none;&quot;&amp;#62;解散回去&amp;#60;/span&amp;#62;';//定义按钮
$('#box-botton').append(on);
$('#box-botton').append(off); //向#box-botton内添加上面定义的按钮
$('#box-botton&amp;#62;p').addClass('box');//为#box-botton内的p标签添加class=box
$('.box').insertAfter('.show-box');
$('.box').insertAfter('.close-box');
$('.show-box').click(function() {
$('.show-box').hide();
$('.close-box').show();
//$('.box').slideDown('slow');//缓慢展开
$('.box').fadeIn(1200);//在1.2s之内渐显
//$('.box').show();//直接显示
});
$('.close-box').click(function() {
$('.close-box').hide();
$('.show-box').show();
//$('.box').slideUp('slow');
$('.box').fadeOut(1200);
//$('.box').hide();
});
});
依葫芦画瓢，如果你喜欢收缩形式（如果你能无视在IE中的缺陷的话），你就选择slideDown和slideUp，如果喜欢直来直去的话，就选择Show和Hide，想有点效果又顾虑IE缺陷的话，就用现在默认的，恩对了，还是那句话，必须加载jQuery框架，且在footer.php里加载以上代码。
　　还有，使用之前务必在模板CSS里定义.box{display:none;}，当然，这样做出来你可能会觉得很简陋，呃，那就依自己喜好在.box里面加点佐料吧。
　　特别说明下，现在代码有一个可以称为bug的地方，就是展开后按钮位置是位于展开内容下面，对访客体验有点不好，但无奈于本人水平，没找到解决办法，高手请指点一下，我将不胜感激。已经解决。
　　Demo：http://leo-n.cn/demo/box.html
　　还有还有，我手上有几个淘江湖的玩偶邀请，想要的童鞋请留言，我能赠送的只限于下图显示为彩色的玩偶：
Related Posts2009/11/13 -- 利用jQuery改变网页元素加载顺序2009/11/05 -- 用jQuery隐藏回头访客资料输入框&lt;img src=&quot;http://www1.feedsky.com/t1/343490762/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490762/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490762/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490762/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=a9291ae1eeebc9ba679eac25f728dbf7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=a9291ae1eeebc9ba679eac25f728dbf7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=0f6fdd73c20e5c746bfda979af60fc56&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=0f6fdd73c20e5c746bfda979af60fc56&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=26bbc48ae4d8d239f36bad4ac3ee2935&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=26bbc48ae4d8d239f36bad4ac3ee2935&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=1a587ce384ddfc8c3d889110d11eac07&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=1a587ce384ddfc8c3d889110d11eac07&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=526267b0798d582073c6ff5bcffb353d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=526267b0798d582073c6ff5bcffb353d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4bbe6162bc5b6024a4ff10e0206f0b71&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4bbe6162bc5b6024a4ff10e0206f0b71&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>jQuery</category><category>WordPress</category><pubDate>Sat, 21 Nov 2009 22:53:36 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/slide-post-with-jquery.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=662</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/slide-post-with-jquery.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490762/1335691</fs:itemid></item><item><title>Yculer主机试用感受</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490763/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　之前在wp中文论坛上看见&lt;a href=&quot;http://yculer.com/&quot; target=&quot;_blank&quot;&gt;Yculer&lt;/a&gt;招募洛杉矶主机测试，一个蛋疼之下就发邮件去申请了，在几封简单的邮件交流后，我得到了主机，600M空间6G流量，最初我只想要100M来测试下就行，哪不知给了我这么多，多的给我感到惭愧。&lt;/p&gt;
&lt;p&gt;　　不废话了，从&lt;a href=&quot;http://yculer.com/&quot; target=&quot;_blank&quot;&gt;Yculer&lt;/a&gt;的网站上看这次提供的应该是新手型的，所以我就把各项参数照搬过来了：空间600M，月流量6G，面板是CP，无限域名，子域名，电子邮件帐户，数据库账户，其他的参数可以我上传的探针：&lt;span id=&quot;more-657&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.leo-n.cn/1d5vsaWx-1.php&quot; target=&quot;_blank&quot;&gt;http://blog.leo-n.cn/1d5vsaWx-1.php&lt;/a&gt;，再看看ping速度：&lt;br /&gt;
&lt;img src=&quot;http://img.leo-n.cn/readimg.php?src=http%3A%2F%2Flh3.gouride.com%2F_3SKwLpzY0xM%2FSwDL9fvlWdI%2FAAAAAAAAAMA%2FqvryT9BzAz0%2Fs800%2Fping.jpg&quot; alt=&quot;ping&quot; /&gt;&lt;br /&gt;
我的网络环境是云南电信ADSL2M，在我用过的国外主机里面，这个速度是我见过最快的，再来看下主机负载：&lt;br /&gt;
&lt;img src=&quot;http://img.leo-n.cn/readimg.php?src=http%3A%2F%2Flh3.gouride.com%2F_3SKwLpzY0xM%2FSwDL9QgRo6I%2FAAAAAAAAAL8%2FcqUG2F2mkvA%2Fs800%2Fload.jpg&quot; alt=&quot;load&quot; /&gt;&lt;br /&gt;
使用美国主机的好处就是我们可以和主机上的美国佬错开时间，所以，在白天负载是较低的，ftp上传下载速度基本能接近满速，这点我很满意。&lt;/p&gt;
&lt;p&gt;　　第一次写主机评测，实在找不到写点什么，还是大家自己去感受下吧：&lt;a href=&quot;http://blog.leo-n.cn/&quot; target=&quot;_blank&quot;&gt;http://blog.leo-n.cn/&lt;/a&gt;，感谢&lt;a href=&quot;http://yculer.com/&quot; target=&quot;_blank&quot;&gt;Yculer&lt;/a&gt;提供的主机。&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Related Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/11/13 -- &lt;a href=&quot;http://leo-n.cn/modify-html-load-by-jquery.html&quot; title=&quot;利用jQuery改变网页元素加载顺序&quot;&gt;利用jQuery改变网页元素加载顺序&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/08 -- &lt;a href=&quot;http://leo-n.cn/digu-for-description.html&quot; title=&quot;副标题处显示嘀咕消息&quot;&gt;副标题处显示嘀咕消息&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/05 -- &lt;a href=&quot;http://leo-n.cn/hide-visitor-info-with-jquery.html&quot; title=&quot;用jQuery隐藏回头访客资料输入框&quot;&gt;用jQuery隐藏回头访客资料输入框&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/04 -- &lt;a href=&quot;http://leo-n.cn/modify-theme-again.html&quot; title=&quot;博客主题再次修改&quot;&gt;博客主题再次修改&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/10/11 -- &lt;a href=&quot;http://leo-n.cn/ie-firefox-hack.html&quot; title=&quot;IE&amp;#038;Firefox Hack&quot;&gt;IE&amp;#038;Firefox Hack&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490763/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490763/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490763/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490763/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f3b12f41d7dfc0d500cf9d1ac4137134&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f3b12f41d7dfc0d500cf9d1ac4137134&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=3cdbb6ce3b948a90f20097cf96503754&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=3cdbb6ce3b948a90f20097cf96503754&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=e1108eb23932e6c737f709a03156a672&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=e1108eb23932e6c737f709a03156a672&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=cafb37df234451f7a218ce588b8b0b83&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=cafb37df234451f7a218ce588b8b0b83&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4ddbb2697c72d95ad7a0c61559d723ea&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4ddbb2697c72d95ad7a0c61559d723ea&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=9c7c3aade1a5296e29684a79c5c05397&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=9c7c3aade1a5296e29684a79c5c05397&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/yculer-host.html/feed</wfw:commentRss><slash:comments>49</slash:comments><description>　　之前在wp中文论坛上看见Yculer招募洛杉矶主机测试，一个蛋疼之下就发邮件去申请了，在几封简单的邮件交流后，我得到了主机，600M空间6G流量，最初我只想要100M来测试下就行，哪不知给了我这么多，多的给我感到惭愧。
　　不废话了，从Yculer的网站上看这次提供的应该是新手型的，所以我就把各项参数照搬过来了：空间600M，月流量6G，面板是CP，无限域名，子域名，电子邮件帐户，数据库账户，其他的参数可以我上传的探针：
http://blog.leo-n.cn/1d5vsaWx-1.php，再看看ping速度：

我的网络环境是云南电信ADSL2M，在我用过的国外主机里面，这个速度是我见过最快的，再来看下主机负载：

使用美国主机的好处就是我们可以和主机上的美国佬错开时间，所以，在白天负载是较低的，ftp上传下载速度基本能接近满速，这点我很满意。
　　第一次写主机评测，实在找不到写点什么，还是大家自己去感受下吧：http://blog.leo-n.cn/，感谢Yculer提供的主机。
Related Posts2009/11/13 -- 利用jQuery改变网页元素加载顺序2009/11/08 -- 副标题处显示嘀咕消息2009/11/05 -- 用jQuery隐藏回头访客资料输入框2009/11/04 -- 博客主题再次修改2009/10/11 -- IE&amp;#038;Firefox Hack&lt;img src=&quot;http://www1.feedsky.com/t1/343490763/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490763/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490763/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490763/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f3b12f41d7dfc0d500cf9d1ac4137134&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f3b12f41d7dfc0d500cf9d1ac4137134&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=3cdbb6ce3b948a90f20097cf96503754&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=3cdbb6ce3b948a90f20097cf96503754&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=e1108eb23932e6c737f709a03156a672&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=e1108eb23932e6c737f709a03156a672&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=cafb37df234451f7a218ce588b8b0b83&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=cafb37df234451f7a218ce588b8b0b83&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4ddbb2697c72d95ad7a0c61559d723ea&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4ddbb2697c72d95ad7a0c61559d723ea&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=9c7c3aade1a5296e29684a79c5c05397&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=9c7c3aade1a5296e29684a79c5c05397&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>host</category><category>WordPress</category><pubDate>Sun, 15 Nov 2009 17:17:59 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/yculer-host.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=657</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/yculer-host.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490763/1335691</fs:itemid></item><item><title>利用jQuery改变网页元素加载顺序</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490764/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　在上一篇介绍&lt;a href=&quot;http://leo-n.cn/digu-for-description.html&quot; target=&quot;_blank&quot;&gt;副标题处显示嘀咕消息&lt;/a&gt;的文章中，我是把嘀咕的js放在header.php中，这是一个常规的方法，简单方便易实现，但这方法也存在一个很大的弊端，因为网页是按从上到下的顺序进行加载，引用了一段外部js在头部后，自己博客首页打开速度就会受到影响，还有就是在外部js失效后，博客首页也就会卡在那打不开了，极大的降低了访客体验度，有没有其他方法可以解决呢？&lt;/p&gt;
&lt;p&gt;　　我首先想到的方法就是把嘀咕的代码单独保存为一个php文件，加载到index.php的底部中，再利用css的绝对定位absolute把其定位到博客副标题处来显示，用top和left调整好位置后，在我笔记本屏幕上显示没有问题，但换到其他分辨率下，错位问题也就随之而来了， 具体原因请看absolute的定位原理：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;元素框从文档流完全删除，并相对于其包含块定位。包含块可能是文档中的另一个元素或者是初始包含块。元素原先在正常文档流中所占的空间会关闭，就好像元素原来不存在一样。元素定位后生成一个块级框，而不论原来它在正常流中生成何种类型的框。&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;所以，这个方法被否决了，Google之后，我发现了另外的一个方法，就是本文标题所述的内容：利用jQuery改变网页元素加载顺序，下面就以副标题处显示嘀咕消息为例来介绍如何利用jQuery来改变网页元素的加载顺序。&lt;span id=&quot;more-653&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;　　首先，在header.php里添加一个id为digu的空白div，例如：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;&amp;lt;div id=&quot;digu&quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;接着，到index.php的&lt;code&gt;&amp;lt;?php get_footer(); ?&amp;gt;&lt;/code&gt;下面再添加一个id为digux的div，在里面加载之前独立保存出来的digu.php，写出来大概是这个样子：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;&amp;lt;div id=&quot;digux&quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php include_once(&quot;digu.php&quot;); ?&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;再在下面加入本文最核心的jQ代码：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;
$('#digu').html($('#digux').html());&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/code&gt; &amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;也可以写成：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;
$('#digux').children().clone().appendTo('#digu');&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;这段代码基本意思就是把id为digux的内容复制到digu之中，这样我们就成功的利用jQuery改变了副标题处嘀咕消息的加载顺序，因为header.php中的digu是空白层，真正的内容是在index.php的digux之中，所以，浏览器最后加载的是digux层，这样就不会因为外部引用的js导致博客打开缓慢或打开不完全了。&lt;/p&gt;
&lt;p&gt;　　忘了说，实现以上效果我们还需在footer.php里加载jQuery框架以及定义digux的CSS为display:none，这就不做过多说明了，之前的文中有过介绍。&lt;/p&gt;
&lt;p&gt;　　这篇文章旨在抛砖引玉，此方法适用的范围很大，大家可以尽情发掘使用。作为一个初识jQuery的人来说，我已经被jQuery的强大征服了。&lt;/p&gt;
&lt;p&gt;　　文中jQ代码参考自&lt;a rel=&quot;nofollow&quot; href=&quot;http://leeiio.me/jquery-changes-divsorder/&quot; target=&quot;_blank&quot;&gt;http://leeiio.me/jquery-changes-divsorder/&lt;/a&gt;。&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Related Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/11/05 -- &lt;a href=&quot;http://leo-n.cn/hide-visitor-info-with-jquery.html&quot; title=&quot;用jQuery隐藏回头访客资料输入框&quot;&gt;用jQuery隐藏回头访客资料输入框&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/21 -- &lt;a href=&quot;http://leo-n.cn/slide-post-with-jquery.html&quot; title=&quot;利用jQuery实现文章部分内容收缩&quot;&gt;利用jQuery实现文章部分内容收缩&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/15 -- &lt;a href=&quot;http://leo-n.cn/yculer-host.html&quot; title=&quot;Yculer主机试用感受&quot;&gt;Yculer主机试用感受&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/08 -- &lt;a href=&quot;http://leo-n.cn/digu-for-description.html&quot; title=&quot;副标题处显示嘀咕消息&quot;&gt;副标题处显示嘀咕消息&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/04 -- &lt;a href=&quot;http://leo-n.cn/modify-theme-again.html&quot; title=&quot;博客主题再次修改&quot;&gt;博客主题再次修改&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490764/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490764/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490764/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490764/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=c61cb3b2e48360ce1435f0ba19a1ce9c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=c61cb3b2e48360ce1435f0ba19a1ce9c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=86ff424806c2f7ccec6ce588cd9734bb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=86ff424806c2f7ccec6ce588cd9734bb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=7112cbd0f948c267debd689953f7168f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=7112cbd0f948c267debd689953f7168f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=96f7601d30bdec0121409380c04865ba&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=96f7601d30bdec0121409380c04865ba&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=cbf99a8543c14afa5b481687785cb967&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=cbf99a8543c14afa5b481687785cb967&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=74417046a2ac8a401dce88d96536cf87&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=74417046a2ac8a401dce88d96536cf87&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/modify-html-load-by-jquery.html/feed</wfw:commentRss><slash:comments>23</slash:comments><description>　　在上一篇介绍副标题处显示嘀咕消息的文章中，我是把嘀咕的js放在header.php中，这是一个常规的方法，简单方便易实现，但这方法也存在一个很大的弊端，因为网页是按从上到下的顺序进行加载，引用了一段外部js在头部后，自己博客首页打开速度就会受到影响，还有就是在外部js失效后，博客首页也就会卡在那打不开了，极大的降低了访客体验度，有没有其他方法可以解决呢？
　　我首先想到的方法就是把嘀咕的代码单独保存为一个php文件，加载到index.php的底部中，再利用css的绝对定位absolute把其定位到博客副标题处来显示，用top和left调整好位置后，在我笔记本屏幕上显示没有问题，但换到其他分辨率下，错位问题也就随之而来了， 具体原因请看absolute的定位原理：
元素框从文档流完全删除，并相对于其包含块定位。包含块可能是文档中的另一个元素或者是初始包含块。元素原先在正常文档流中所占的空间会关闭，就好像元素原来不存在一样。元素定位后生成一个块级框，而不论原来它在正常流中生成何种类型的框。
所以，这个方法被否决了，Google之后，我发现了另外的一个方法，就是本文标题所述的内容：利用jQuery改变网页元素加载顺序，下面就以副标题处显示嘀咕消息为例来介绍如何利用jQuery来改变网页元素的加载顺序。
　　首先，在header.php里添加一个id为digu的空白div，例如：
&amp;#60;div id=&quot;digu&quot;&amp;#62;
&amp;#60;/div&amp;#62;
接着，到index.php的&amp;#60;?php get_footer(); ?&amp;#62;下面再添加一个id为digux的div，在里面加载之前独立保存出来的digu.php，写出来大概是这个样子：
&amp;#60;div id=&quot;digux&quot;&amp;#62;
&amp;#60;?php include_once(&quot;digu.php&quot;); ?&amp;#62;
&amp;#60;/div&amp;#62;
再在下面加入本文最核心的jQ代码：
&amp;#60;script type=&quot;text/javascript&quot;&amp;#62;
$('#digu').html($('#digux').html());
&amp;#60;/script&amp;#62; &amp;#62;
也可以写成：
&amp;#60;script type=&quot;text/javascript&quot;&amp;#62;
$('#digux').children().clone().appendTo('#digu');
&amp;#60;/script&amp;#62;
这段代码基本意思就是把id为digux的内容复制到digu之中，这样我们就成功的利用jQuery改变了副标题处嘀咕消息的加载顺序，因为header.php中的digu是空白层，真正的内容是在index.php的digux之中，所以，浏览器最后加载的是digux层，这样就不会因为外部引用的js导致博客打开缓慢或打开不完全了。
　　忘了说，实现以上效果我们还需在footer.php里加载jQuery框架以及定义digux的CSS为display:none，这就不做过多说明了，之前的文中有过介绍。
　　这篇文章旨在抛砖引玉，此方法适用的范围很大，大家可以尽情发掘使用。作为一个初识jQuery的人来说，我已经被jQuery的强大征服了。
　　文中jQ代码参考自http://leeiio.me/jquery-changes-divsorder/。
Related Posts2009/11/05 -- 用jQuery隐藏回头访客资料输入框2009/11/21 -- 利用jQuery实现文章部分内容收缩2009/11/15 -- Yculer主机试用感受2009/11/08 -- 副标题处显示嘀咕消息2009/11/04 -- 博客主题再次修改&lt;img src=&quot;http://www1.feedsky.com/t1/343490764/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490764/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490764/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490764/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=c61cb3b2e48360ce1435f0ba19a1ce9c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=c61cb3b2e48360ce1435f0ba19a1ce9c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=86ff424806c2f7ccec6ce588cd9734bb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=86ff424806c2f7ccec6ce588cd9734bb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=7112cbd0f948c267debd689953f7168f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=7112cbd0f948c267debd689953f7168f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=96f7601d30bdec0121409380c04865ba&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=96f7601d30bdec0121409380c04865ba&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=cbf99a8543c14afa5b481687785cb967&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=cbf99a8543c14afa5b481687785cb967&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=74417046a2ac8a401dce88d96536cf87&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=74417046a2ac8a401dce88d96536cf87&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>jQuery</category><category>WordPress</category><pubDate>Fri, 13 Nov 2009 17:06:07 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/modify-html-load-by-jquery.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=653</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/modify-html-load-by-jquery.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490764/1335691</fs:itemid></item><item><title>让你的Xmarks在天朝也能同步书签</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490765/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　不知从何时开始，你会发现你的Xmarks同步书签无法完成，提示诸如连接被重置之类的信息，其实这是我们伟大的功夫网在作怪的原因，好了，不废话了，下面说应对方法。&lt;/p&gt;
&lt;p&gt;　　第一个方法是修改hosts，此方法简单方便快捷，打开系统盘进入\Windows\System32\drivers\etc\，用文本编辑软件打开hosts，在里面加入：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;64.147.188.86 www.xmarks.com&lt;br /&gt;
64.147.188.92 api.xmarks.com&lt;br /&gt;
64.147.188.89 login.xmarks.com&lt;br /&gt;
64.147.188.87 sync.xmarks.com&lt;br /&gt;
64.147.188.86 static.xmarks.com&lt;br /&gt;
64.147.188.86 download.xmarks.com&lt;br /&gt;
64.147.188.86 my.xmarks.com&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;保存，如果还是提示无法同步的话就进入Xmarks设置，高级，安全，加密选择全部加密即可。&lt;/p&gt;
&lt;p&gt;　　第一个方法虽然简单，但如果功夫网直接封了Xmarks的ip的话，那也就失效了，所以，我们还可以这样做，前提你要有一个ftp（貌似有点废话，会进我博客的童鞋基本都是有空间的人），好了，下面介绍这个一劳永逸的方法。&lt;span id=&quot;more-650&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;　　打开Xmarks设置，在status，账户里面输入ftp帐号和密码，再到高级，服务器里选择使用自己的服务器，在地址处填入&lt;code&gt;ftp://你的域名/xmarks/foxmarks.json&lt;/code&gt;，密码地址输入&lt;code&gt;ftp://你的域名/xmarks/asswords.json&lt;/code&gt;，点击确定；接着到你空间对应目录下新建一个xmarks文件夹，并设置该文件夹能写入读取，此时全部操作完成。试着同步一次看看，成功了吧？&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Related Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/04/12 -- &lt;a href=&quot;http://leo-n.cn/foxmarks-update-to-xmarks.html&quot; title=&quot;Foxmarks升级至Xmarks.&quot;&gt;Foxmarks升级至Xmarks.&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2008/10/27 -- &lt;a href=&quot;http://leo-n.cn/the-plugins-of-my-firefox.html&quot; title=&quot;我所使用的FireFox扩展&quot;&gt;我所使用的FireFox扩展&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490765/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490765/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490765/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490765/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=ec6d26a843d28e9a605531c177ed95c9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=ec6d26a843d28e9a605531c177ed95c9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4ab44389e6a6b27eddc771de27efecb3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4ab44389e6a6b27eddc771de27efecb3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4935c911d8beedcf56fa81a0993c1407&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4935c911d8beedcf56fa81a0993c1407&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=d7f9e264629d5d376d7adfc6a0be3e02&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=d7f9e264629d5d376d7adfc6a0be3e02&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=702426a2a62b1055079afd8ca273acfb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=702426a2a62b1055079afd8ca273acfb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4027fd1275b4f44634cd3f585f28d489&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4027fd1275b4f44634cd3f585f28d489&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/xmarks-hosts-ftp.html/feed</wfw:commentRss><slash:comments>19</slash:comments><description>　　不知从何时开始，你会发现你的Xmarks同步书签无法完成，提示诸如连接被重置之类的信息，其实这是我们伟大的功夫网在作怪的原因，好了，不废话了，下面说应对方法。
　　第一个方法是修改hosts，此方法简单方便快捷，打开系统盘进入\Windows\System32\drivers\etc\，用文本编辑软件打开hosts，在里面加入：
64.147.188.86 www.xmarks.com
64.147.188.92 api.xmarks.com
64.147.188.89 login.xmarks.com
64.147.188.87 sync.xmarks.com
64.147.188.86 static.xmarks.com
64.147.188.86 download.xmarks.com
64.147.188.86 my.xmarks.com
保存，如果还是提示无法同步的话就进入Xmarks设置，高级，安全，加密选择全部加密即可。
　　第一个方法虽然简单，但如果功夫网直接封了Xmarks的ip的话，那也就失效了，所以，我们还可以这样做，前提你要有一个ftp（貌似有点废话，会进我博客的童鞋基本都是有空间的人），好了，下面介绍这个一劳永逸的方法。
　　打开Xmarks设置，在status，账户里面输入ftp帐号和密码，再到高级，服务器里选择使用自己的服务器，在地址处填入ftp://你的域名/xmarks/foxmarks.json，密码地址输入ftp://你的域名/xmarks/asswords.json，点击确定；接着到你空间对应目录下新建一个xmarks文件夹，并设置该文件夹能写入读取，此时全部操作完成。试着同步一次看看，成功了吧？
Related Posts2009/04/12 -- Foxmarks升级至Xmarks.2008/10/27 -- 我所使用的FireFox扩展&lt;img src=&quot;http://www1.feedsky.com/t1/343490765/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490765/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490765/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490765/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=ec6d26a843d28e9a605531c177ed95c9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=ec6d26a843d28e9a605531c177ed95c9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4ab44389e6a6b27eddc771de27efecb3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4ab44389e6a6b27eddc771de27efecb3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4935c911d8beedcf56fa81a0993c1407&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4935c911d8beedcf56fa81a0993c1407&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=d7f9e264629d5d376d7adfc6a0be3e02&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=d7f9e264629d5d376d7adfc6a0be3e02&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=702426a2a62b1055079afd8ca273acfb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=702426a2a62b1055079afd8ca273acfb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4027fd1275b4f44634cd3f585f28d489&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4027fd1275b4f44634cd3f585f28d489&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>firefox</category><pubDate>Mon, 09 Nov 2009 16:14:22 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/xmarks-hosts-ftp.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=650</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/xmarks-hosts-ftp.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490765/1335691</fs:itemid></item><item><title>副标题处显示嘀咕消息</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490766/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　也许观察仔细的童鞋早已发现我博客副标题旁的东西了，其实这就是一个嘀咕消息的显示，这篇文章就是告诉各位如何实现的，当然，是写给新手看的，高手们不要鄙视我。&lt;/p&gt;
&lt;p&gt;　　首先来介绍下什么是嘀咕，在这我就直接引用官方说明了：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;嘀咕 (digu.com)，是新一代的实时博客服务，通过电脑或手机，用户可以随时随地快速记录所见所感，即时简单地了解朋友间彼此的生活片段，保持联系。&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;所以，我们必须先有一个嘀咕帐号，呃，帐号申请方法如下：（此处省略若干字&amp;#8230;&amp;#8230;），帐号到手后，再去&lt;a href=&quot;http://www.wudishow.com/&quot;&gt;http://www.wudishow.com/&lt;/a&gt;处填入你的嘀咕帐号（也就是上面所述的OpenCloud帐号），依次点击创建无敌秀，嘀咕，Wodpress，JS，设置显示条数为1，再复制下面显示出的代码，此时，第一个步骤告一段落。&lt;/p&gt;
&lt;p&gt;　　然后，打开你博客模板的header.php，在description下面粘贴复制好代码，保存。刷新下你的博客，一般情况下，你会发现效果惨不忍睹，所以，我们要在模板css里面添加：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;#wudiShow a,#wudiShow_Header,#wudiShow_More {&lt;br /&gt;
display:none;&lt;br /&gt;
}&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;结束这一步后，你会发现效果好了一点，但什么错位之类的大家最讨厌了，所以，我们可以根据自己的情况用&lt;code&gt;margin&lt;/code&gt;酌情调整下，此时，你的脸上应该浮现出满意的笑容了，哈哈。&lt;/p&gt;
&lt;p&gt;　　当然，追求速度的童鞋可能有意见了，在头部加载一个JS文件会极大影响博客的整体速度，甚至会因为外部JS失效导致下面的内容无法显示，呃，其实这点我也考虑到了，什么？你想知道怎样解决？哈哈，请允许我先卖个关子，下一篇文章会做一个系统的介绍，那方法不仅仅只适用于嘀咕的显示哦。&lt;/p&gt;
&lt;p&gt;　　最后附上我的嘀咕地址：&lt;a href=&quot;http://www.digu.com/iske&quot;&gt;http://www.digu.com/iske&lt;/a&gt;，欢迎大家踊跃跟随（就是特推的&lt;span class=&quot;enfont&quot;&gt;follow）&lt;/span&gt;，你跟随我之后我也会第一速度跟随你的。: )&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Related Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/11/15 -- &lt;a href=&quot;http://leo-n.cn/yculer-host.html&quot; title=&quot;Yculer主机试用感受&quot;&gt;Yculer主机试用感受&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/13 -- &lt;a href=&quot;http://leo-n.cn/modify-html-load-by-jquery.html&quot; title=&quot;利用jQuery改变网页元素加载顺序&quot;&gt;利用jQuery改变网页元素加载顺序&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/05 -- &lt;a href=&quot;http://leo-n.cn/hide-visitor-info-with-jquery.html&quot; title=&quot;用jQuery隐藏回头访客资料输入框&quot;&gt;用jQuery隐藏回头访客资料输入框&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/04 -- &lt;a href=&quot;http://leo-n.cn/modify-theme-again.html&quot; title=&quot;博客主题再次修改&quot;&gt;博客主题再次修改&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/10/11 -- &lt;a href=&quot;http://leo-n.cn/ie-firefox-hack.html&quot; title=&quot;IE&amp;#038;Firefox Hack&quot;&gt;IE&amp;#038;Firefox Hack&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490766/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490766/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490766/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490766/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=d7a4b38650f2840f980b7da2594ed7d0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=d7a4b38650f2840f980b7da2594ed7d0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f9d95add8e67d98b77e7cec7133cd479&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f9d95add8e67d98b77e7cec7133cd479&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=6cc28e5f41d45aa8427a130cb5f2b9f6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=6cc28e5f41d45aa8427a130cb5f2b9f6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=2712ffbd5e9b72edaa39290233f6b775&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=2712ffbd5e9b72edaa39290233f6b775&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=69885e11016aa30b807ebd7269f9d3f9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=69885e11016aa30b807ebd7269f9d3f9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f5e4755482babcf8a80c07cad2541647&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f5e4755482babcf8a80c07cad2541647&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/digu-for-description.html/feed</wfw:commentRss><slash:comments>24</slash:comments><description>　　也许观察仔细的童鞋早已发现我博客副标题旁的东西了，其实这就是一个嘀咕消息的显示，这篇文章就是告诉各位如何实现的，当然，是写给新手看的，高手们不要鄙视我。
　　首先来介绍下什么是嘀咕，在这我就直接引用官方说明了：
嘀咕 (digu.com)，是新一代的实时博客服务，通过电脑或手机，用户可以随时随地快速记录所见所感，即时简单地了解朋友间彼此的生活片段，保持联系。
所以，我们必须先有一个嘀咕帐号，呃，帐号申请方法如下：（此处省略若干字&amp;#8230;&amp;#8230;），帐号到手后，再去http://www.wudishow.com/处填入你的嘀咕帐号（也就是上面所述的OpenCloud帐号），依次点击创建无敌秀，嘀咕，Wodpress，JS，设置显示条数为1，再复制下面显示出的代码，此时，第一个步骤告一段落。
　　然后，打开你博客模板的header.php，在description下面粘贴复制好代码，保存。刷新下你的博客，一般情况下，你会发现效果惨不忍睹，所以，我们要在模板css里面添加：
#wudiShow a,#wudiShow_Header,#wudiShow_More {
display:none;
}
结束这一步后，你会发现效果好了一点，但什么错位之类的大家最讨厌了，所以，我们可以根据自己的情况用margin酌情调整下，此时，你的脸上应该浮现出满意的笑容了，哈哈。
　　当然，追求速度的童鞋可能有意见了，在头部加载一个JS文件会极大影响博客的整体速度，甚至会因为外部JS失效导致下面的内容无法显示，呃，其实这点我也考虑到了，什么？你想知道怎样解决？哈哈，请允许我先卖个关子，下一篇文章会做一个系统的介绍，那方法不仅仅只适用于嘀咕的显示哦。
　　最后附上我的嘀咕地址：http://www.digu.com/iske，欢迎大家踊跃跟随（就是特推的follow），你跟随我之后我也会第一速度跟随你的。: )
Related Posts2009/11/15 -- Yculer主机试用感受2009/11/13 -- 利用jQuery改变网页元素加载顺序2009/11/05 -- 用jQuery隐藏回头访客资料输入框2009/11/04 -- 博客主题再次修改2009/10/11 -- IE&amp;#038;Firefox Hack&lt;img src=&quot;http://www1.feedsky.com/t1/343490766/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490766/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490766/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490766/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=d7a4b38650f2840f980b7da2594ed7d0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=d7a4b38650f2840f980b7da2594ed7d0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f9d95add8e67d98b77e7cec7133cd479&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f9d95add8e67d98b77e7cec7133cd479&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=6cc28e5f41d45aa8427a130cb5f2b9f6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=6cc28e5f41d45aa8427a130cb5f2b9f6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=2712ffbd5e9b72edaa39290233f6b775&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=2712ffbd5e9b72edaa39290233f6b775&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=69885e11016aa30b807ebd7269f9d3f9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=69885e11016aa30b807ebd7269f9d3f9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=f5e4755482babcf8a80c07cad2541647&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=f5e4755482babcf8a80c07cad2541647&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>WordPress</category><pubDate>Sun, 08 Nov 2009 19:14:59 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/digu-for-description.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=647</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/digu-for-description.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490766/1335691</fs:itemid></item><item><title>用jQuery隐藏回头访客资料输入框</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490767/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　上一篇文章提到的&lt;em&gt;已经成功发表过评论的评论者在下次评论时仍需重新输入姓名，电邮地址的问题&lt;/em&gt;已经查明是由缓存插件Hyper Cache引起的，能找到的解决方法是利用js来解决，但无奈在我博客上测试不成功，只能暂时禁用此插件，同时在木木的指引下，我也发现了一个能提高访客体验度的功能：隐藏回头访客的姓名，电邮，网址输入框。&lt;/p&gt;
&lt;p&gt;　　按照木木提供的&lt;a href=&quot;http://immmmm.com/using-jquery-to-improve-experience.html&quot; target=&quot;_blank&quot;&gt;方法&lt;/a&gt;，我再次悲剧的发现用在我博客上并不能正常工作，只能再次Google&amp;amp;百度，找到最后，终于在Xiaorsz的博客中找到个利用jQuery实现的&lt;a href=&quot;http://www.xiaorsz.com/hide-input-box-jquery/&quot; target=&quot;_blank&quot;&gt;方法&lt;/a&gt;，测试后工作正常，下面写点改动的地方。&lt;/p&gt;
&lt;p&gt;　　首先，我们要编辑comments.php，在类似于：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;&amp;lt;input type=&quot;text&quot; name=&quot;author&quot; id=&quot;author&quot; value=&quot;&amp;lt;?php echo $comment_author; ?&amp;gt;&quot; size=&quot;22&quot; tabindex=&quot;1&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;的评论者姓名输入框代码上方添加：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;&amp;lt;?php if ( $comment_author != &quot;&quot; ) : ?&amp;gt;&lt;br /&gt;
&amp;lt;div id=&quot;welcome&quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php printf(__('　Hi!　欢迎回来！&amp;lt;strong&amp;gt;%s&amp;lt;/strong&amp;gt;.'), $comment_author) ?&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;?php endif; ?&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;然后再把三个评论者姓名，电邮，网址的代码输入框用&lt;code&gt;&amp;lt;div id=&quot;author_info&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt;包起来，到此，comments.php修改结束；&lt;/p&gt;
&lt;p&gt;　　然后，新建一个名为inputhidden的js文件，把Xiaorsz提供的代码放进去：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;$(document).ready(function() { //开始&lt;br /&gt;
if($('input#author[value]').length&amp;gt;0){ //判断用户框是否有值&lt;br /&gt;
$(&quot;#author_info&quot;).css('display','none'); //将id为author_info的对象的display属性设为none，即隐藏&lt;br /&gt;
var change='&amp;lt;span id=&quot;show_author_info&quot; style=&quot;cursor: pointer; color:#2970A6;&quot;&amp;gt;change &amp;amp;raquo;&amp;lt;/span&amp;gt;'; //定义change，style是定义CSS样式，让他有超链接的效果，color要根据你自己的来改，当然你也可以在CSS中定义#show_author_info来实现，这样是为了不用再去修改style.css而已！&lt;br /&gt;
var close='&amp;lt;span id=&quot;hide_author_info&quot; style=&quot;cursor: pointer;color: #2970A6;&quot;&amp;gt;close &amp;amp;raquo;&amp;lt;/span&amp;gt;'; //定义close&lt;br /&gt;
$('#welcome').append(change); //在ID为welcome的对象里添加刚刚定义的change&lt;br /&gt;
$('#welcome').append(close); // 添加close&lt;br /&gt;
$('#hide_author_info').css('display','none'); //隐藏close&lt;br /&gt;
$('#show_author_info').click(function() { //鼠标点击change时发生的事件&lt;br /&gt;
$('#author_info').slideDown('slow') //用户输入框向下滑出&lt;br /&gt;
$('#show_author_info').css('display','none'); //隐藏change&lt;br /&gt;
$('#hide_author_info').css('display','inline'); //显示close&lt;br /&gt;
$('#hide_author_info').click(function() { // 鼠标点击close时发生的事件&lt;br /&gt;
$('#author_info').slideUp('slow') //用户输入框向上滑&lt;br /&gt;
$('#hide_author_info').css('display','none'); //隐藏close&lt;br /&gt;
$('#show_author_info').css('display','inline'); })})}}) //显示change&lt;/code&gt;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;保存文件。&lt;/p&gt;
&lt;p&gt;　　接着，我们要载入jQuery框架，因为我之前添加过Willin大师的Ajax嵌套回复，已经在footer.php添加过，所以这一步我可以省略，没有添加过的童鞋可以在footer.php中加入：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;然后在下面继续添加：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;&amp;lt;?php if ( is_singular() ){ ?&amp;gt;&lt;br /&gt;
&amp;lt;script type=&quot;text/javascript&quot; src=&quot;&amp;lt;?php bloginfo('template_url'); ?&amp;gt;/js/inputhidden.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;?php } ?&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;这部的先后顺序一定不能错，不然就无法成功。&lt;/p&gt;
&lt;p&gt;　　OK，到此用jQuery隐藏回头访客资料输入框的全部操作就完成了，快试试去吧！Enjoy ！&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Related Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/11/13 -- &lt;a href=&quot;http://leo-n.cn/modify-html-load-by-jquery.html&quot; title=&quot;利用jQuery改变网页元素加载顺序&quot;&gt;利用jQuery改变网页元素加载顺序&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/11/04 -- &lt;a href=&quot;http://leo-n.cn/modify-theme-again.html&quot; title=&quot;博客主题再次修改&quot;&gt;博客主题再次修改&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/10/11 -- &lt;a href=&quot;http://leo-n.cn/ie-firefox-hack.html&quot; title=&quot;IE&amp;#038;Firefox Hack&quot;&gt;IE&amp;#038;Firefox Hack&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/10/11 -- &lt;a href=&quot;http://leo-n.cn/theme-gray-green.html&quot; title=&quot;Gray&amp;#038;Green?&quot;&gt;Gray&amp;#038;Green?&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/09/09 -- &lt;a href=&quot;http://leo-n.cn/its-a-micblog-by-wordpress.html&quot; title=&quot;用WordPress做了一个微博&quot;&gt;用WordPress做了一个微博&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490767/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490767/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490767/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490767/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=815f259d9f63a3703c7e38468bf728de&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=815f259d9f63a3703c7e38468bf728de&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4b88042cd0e2e4403b4693fb5dd5a6af&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4b88042cd0e2e4403b4693fb5dd5a6af&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=42cfbde0edf29361e13d16ac9da27dfb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=42cfbde0edf29361e13d16ac9da27dfb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=98f4eb6965576be6794c75550ac52c94&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=98f4eb6965576be6794c75550ac52c94&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=cbda40e9a21a940b761777afb19ae87f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=cbda40e9a21a940b761777afb19ae87f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=6fa65e7256fc7ad04e082fc08e7a8a67&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=6fa65e7256fc7ad04e082fc08e7a8a67&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/hide-visitor-info-with-jquery.html/feed</wfw:commentRss><slash:comments>58</slash:comments><description>　　上一篇文章提到的已经成功发表过评论的评论者在下次评论时仍需重新输入姓名，电邮地址的问题已经查明是由缓存插件Hyper Cache引起的，能找到的解决方法是利用js来解决，但无奈在我博客上测试不成功，只能暂时禁用此插件，同时在木木的指引下，我也发现了一个能提高访客体验度的功能：隐藏回头访客的姓名，电邮，网址输入框。
　　按照木木提供的方法，我再次悲剧的发现用在我博客上并不能正常工作，只能再次Google&amp;#38;百度，找到最后，终于在Xiaorsz的博客中找到个利用jQuery实现的方法，测试后工作正常，下面写点改动的地方。
　　首先，我们要编辑comments.php，在类似于：
&amp;#60;input type=&quot;text&quot; name=&quot;author&quot; id=&quot;author&quot; value=&quot;&amp;#60;?php echo $comment_author; ?&amp;#62;&quot; size=&quot;22&quot; tabindex=&quot;1&quot;/&amp;#62;
的评论者姓名输入框代码上方添加：
&amp;#60;?php if ( $comment_author != &quot;&quot; ) : ?&amp;#62;
&amp;#60;div id=&quot;welcome&quot;&amp;#62;
&amp;#60;?php printf(__('　Hi!　欢迎回来！&amp;#60;strong&amp;#62;%s&amp;#60;/strong&amp;#62;.'), $comment_author) ?&amp;#62;
&amp;#60;/div&amp;#62;
&amp;#60;?php endif; ?&amp;#62;
然后再把三个评论者姓名，电邮，网址的代码输入框用&amp;#60;div id=&quot;author_info&quot;&amp;#62;&amp;#60;/div&amp;#62;包起来，到此，comments.php修改结束；
　　然后，新建一个名为inputhidden的js文件，把Xiaorsz提供的代码放进去：
$(document).ready(function() { //开始
if($('input#author[value]').length&amp;#62;0){ //判断用户框是否有值
$(&quot;#author_info&quot;).css('display','none'); //将id为author_info的对象的display属性设为none，即隐藏
var change='&amp;#60;span id=&quot;show_author_info&quot; style=&quot;cursor: pointer; color:#2970A6;&quot;&amp;#62;change &amp;#38;raquo;&amp;#60;/span&amp;#62;'; //定义change，style是定义CSS样式，让他有超链接的效果，color要根据你自己的来改，当然你也可以在CSS中定义#show_author_info来实现，这样是为了不用再去修改style.css而已！
var close='&amp;#60;span id=&quot;hide_author_info&quot; style=&quot;cursor: pointer;color: #2970A6;&quot;&amp;#62;close &amp;#38;raquo;&amp;#60;/span&amp;#62;'; //定义close
$('#welcome').append(change); //在ID为welcome的对象里添加刚刚定义的change
$('#welcome').append(close); // 添加close
$('#hide_author_info').css('display','none'); //隐藏close
$('#show_author_info').click(function() { //鼠标点击change时发生的事件
$('#author_info').slideDown('slow') //用户输入框向下滑出
$('#show_author_info').css('display','none'); //隐藏change
$('#hide_author_info').css('display','inline'); //显示close
$('#hide_author_info').click(function() { // [...]&lt;img src=&quot;http://www1.feedsky.com/t1/343490767/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490767/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490767/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490767/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=815f259d9f63a3703c7e38468bf728de&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=815f259d9f63a3703c7e38468bf728de&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4b88042cd0e2e4403b4693fb5dd5a6af&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4b88042cd0e2e4403b4693fb5dd5a6af&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=42cfbde0edf29361e13d16ac9da27dfb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=42cfbde0edf29361e13d16ac9da27dfb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=98f4eb6965576be6794c75550ac52c94&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=98f4eb6965576be6794c75550ac52c94&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=cbda40e9a21a940b761777afb19ae87f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=cbda40e9a21a940b761777afb19ae87f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=6fa65e7256fc7ad04e082fc08e7a8a67&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=6fa65e7256fc7ad04e082fc08e7a8a67&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>jQuery</category><category>wordpress themes</category><category>WordPress</category><pubDate>Thu, 05 Nov 2009 17:26:39 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/hide-visitor-info-with-jquery.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=644</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/hide-visitor-info-with-jquery.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490767/1335691</fs:itemid></item><item><title>博客主题再次修改</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490768/1335691/1/item.html</link><content:encoded>&lt;p&gt;　　由于之前对主题修改的我很是不满意，所以我再次进行了大幅度改动，现在的主题终于能让我连续看1分钟不会感到视觉疲劳了。&lt;/p&gt;
&lt;p&gt;　　再次唠叨下改动了几个地方：&lt;/p&gt;
&lt;p&gt;　　1.去除之前透明效果，部分位置用图片产生伪透明效果。&lt;br /&gt;
为什么要去除透明效果？因为在IE7/8下，雅黑字体与透明滤镜有兼容问题，会产生诡异的字体模糊效果，解决办法只能是禁用滤镜或使用其他非ClearType渲染的字体，进而导致页面整体及其不协调。&lt;br /&gt;
　　2.对部分位置的文字添加了text-shadow属性，此效果在FireFox3.5.4中完美显示，在Chrome3.0.195.27中欠完美显示，在IE6/7/8中无效果，在其他内核浏览器中效果未知，希望各位能说说。&lt;br /&gt;
　　3.对评论者头像添加了box-shadow属性（从Willin大师的博客中发现的），此效果只能在Firefox中显示。&lt;br /&gt;
　　4.在博客副标题处添加了嘀咕消息显示，考虑到速度问题，嘀咕消息只显示在首页。&lt;br /&gt;
　　5.综上所述，现在博客在Firefox中显示是最完美的，哈哈。&lt;/p&gt;
&lt;p&gt;　　再说下待修改的地方：&lt;/p&gt;
&lt;p&gt;　　1.还未能解决文章标题再IE6下的显示缺陷，暂时只能做hack变动标题颜色。&lt;br /&gt;
　　2.&lt;del&gt;未能解决已经成功发表过评论的评论者在下次评论时仍需重新输入姓名，电邮地址的问题。&lt;/del&gt;已经发现是缓存插件Hyper-Cache引起的，暂时禁用了。（表达的有点拗口）&lt;/p&gt;
&lt;p&gt;　　唠叨结束，对于上面的两个问题，希望知道的大大能指点下，谢谢！&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Related Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/11/05 -- &lt;a href=&quot;http://leo-n.cn/hide-visitor-info-with-jquery.html&quot; title=&quot;用jQuery隐藏回头访客资料输入框&quot;&gt;用jQuery隐藏回头访客资料输入框&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/10/11 -- &lt;a href=&quot;http://leo-n.cn/ie-firefox-hack.html&quot; title=&quot;IE&amp;#038;Firefox Hack&quot;&gt;IE&amp;#038;Firefox Hack&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/10/11 -- &lt;a href=&quot;http://leo-n.cn/theme-gray-green.html&quot; title=&quot;Gray&amp;#038;Green?&quot;&gt;Gray&amp;#038;Green?&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/09/09 -- &lt;a href=&quot;http://leo-n.cn/its-a-micblog-by-wordpress.html&quot; title=&quot;用WordPress做了一个微博&quot;&gt;用WordPress做了一个微博&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2010/03/18 -- &lt;a href=&quot;http://leo-n.cn/i-am-back.html&quot; title=&quot;Hello World!&quot;&gt;Hello World!&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490768/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490768/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490768/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490768/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=a7b1345385eecf0374b1e6500e786f08&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=a7b1345385eecf0374b1e6500e786f08&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=54ff7e067fa19fc97c3640855e3ed72b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=54ff7e067fa19fc97c3640855e3ed72b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=b5b5b15ab47bf6e5a6c577b095e4a7e7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=b5b5b15ab47bf6e5a6c577b095e4a7e7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=8fe1a45271df905a3f5e7844320497a2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=8fe1a45271df905a3f5e7844320497a2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=0391487f5c6ff146883dbd00a833ba1a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=0391487f5c6ff146883dbd00a833ba1a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=08a403480f0c66bb6d2671b5e49f0f23&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=08a403480f0c66bb6d2671b5e49f0f23&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/modify-theme-again.html/feed</wfw:commentRss><slash:comments>21</slash:comments><description>　　由于之前对主题修改的我很是不满意，所以我再次进行了大幅度改动，现在的主题终于能让我连续看1分钟不会感到视觉疲劳了。
　　再次唠叨下改动了几个地方：
　　1.去除之前透明效果，部分位置用图片产生伪透明效果。
为什么要去除透明效果？因为在IE7/8下，雅黑字体与透明滤镜有兼容问题，会产生诡异的字体模糊效果，解决办法只能是禁用滤镜或使用其他非ClearType渲染的字体，进而导致页面整体及其不协调。
　　2.对部分位置的文字添加了text-shadow属性，此效果在FireFox3.5.4中完美显示，在Chrome3.0.195.27中欠完美显示，在IE6/7/8中无效果，在其他内核浏览器中效果未知，希望各位能说说。
　　3.对评论者头像添加了box-shadow属性（从Willin大师的博客中发现的），此效果只能在Firefox中显示。
　　4.在博客副标题处添加了嘀咕消息显示，考虑到速度问题，嘀咕消息只显示在首页。
　　5.综上所述，现在博客在Firefox中显示是最完美的，哈哈。
　　再说下待修改的地方：
　　1.还未能解决文章标题再IE6下的显示缺陷，暂时只能做hack变动标题颜色。
　　2.未能解决已经成功发表过评论的评论者在下次评论时仍需重新输入姓名，电邮地址的问题。已经发现是缓存插件Hyper-Cache引起的，暂时禁用了。（表达的有点拗口）
　　唠叨结束，对于上面的两个问题，希望知道的大大能指点下，谢谢！
Related Posts2009/11/05 -- 用jQuery隐藏回头访客资料输入框2009/10/11 -- IE&amp;#038;Firefox Hack2009/10/11 -- Gray&amp;#038;Green?2009/09/09 -- 用WordPress做了一个微博2010/03/18 -- Hello World!&lt;img src=&quot;http://www1.feedsky.com/t1/343490768/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490768/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490768/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490768/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=a7b1345385eecf0374b1e6500e786f08&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=a7b1345385eecf0374b1e6500e786f08&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=54ff7e067fa19fc97c3640855e3ed72b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=54ff7e067fa19fc97c3640855e3ed72b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=b5b5b15ab47bf6e5a6c577b095e4a7e7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=b5b5b15ab47bf6e5a6c577b095e4a7e7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=8fe1a45271df905a3f5e7844320497a2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=8fe1a45271df905a3f5e7844320497a2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=0391487f5c6ff146883dbd00a833ba1a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=0391487f5c6ff146883dbd00a833ba1a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=08a403480f0c66bb6d2671b5e49f0f23&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=08a403480f0c66bb6d2671b5e49f0f23&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>wordpress themes</category><category>WordPress</category><pubDate>Wed, 04 Nov 2009 14:08:01 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/modify-theme-again.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=637</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/modify-theme-again.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490768/1335691</fs:itemid></item><item><title>百年难遇的软件推荐之QQDrNetMon</title><link>http://item.feedsky.com/~feedsky/leo_n/~7856464/343490769/1335691/1/item.html</link><content:encoded>&lt;p&gt;什么是QQDrNetMon？光从名字上还真看不出个所以然来，其实，如果我说这是一个QQ医生里面的剥离组件，大家就明白了，写这篇推荐是受到iPlaysoft介绍QQ医生此功能的影响，再本着方便广大不喜好安装QQ医生的人民群众，所以我决定对这个剥离组件进行推荐。&lt;/p&gt;
&lt;p&gt;QQDrNetMon是干什么用的？能吃吗？&lt;br /&gt;
呃。。不能吃，它是用来监控计算机内所运行程序与互联网数据交换的速度与流量的，这么一句拗口的话可以简单理解为监控这些程序有没有偷偷的上传或下载数据。&lt;/p&gt;
&lt;p&gt;QQDrNetMon的英文全称是什么呀？我在备考CET4，要抓住每一个学习的机会！&lt;br /&gt;
额，通过Google我知道了它的全称是QQ Doctor Net Monitoring。&lt;/p&gt;
&lt;p&gt;QQDrNetMon需要安装吗？我最讨厌向注册表里面扔东西了！&lt;br /&gt;
恭喜你，它很符合你的胃口，解压后直接使用即可。（PS：对某些程序的监控可能要重启计算后才会生效。）&lt;/p&gt;
&lt;p&gt;QQDrNetMon支持让我欢喜让我忧的Win7吗？Win7什么都好，就是对部分软件的兼容性不佳让我一直耿耿于怀。&lt;br /&gt;
再次恭喜你，在我32位的Win7 7600RTM上运行良好。&lt;/p&gt;
&lt;p&gt;QQDrNetMon的原理机制是什么？我怎样才能确定我对某程序限制上传速度/禁止访问网络的操作已经生效了？&lt;br /&gt;
呃，作为一个写伪技术文章的blogger，我对它的原理机制还没弄懂，但是对于后面的问题，一个非常简单操作就能让你清楚，操作如下：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;打开QQDrNetMon；运行一个浏览器程序；在QQDrNetMon里面找到浏览器的进程，如IE是iexplore.exe，Firefox的是firefox.exe；右键点击浏览器进程，选择禁止访问网络；再切回对应浏览器，访问个百度之类的服务器稳定、不存在被墙可能性的网站；如果发现网页打不开，那就证明QQDrNetMon已经在正常工作了。（PS：最后别忘记逆向操作一次。）&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;QQDrNetMon有什么实质用途呢？没实质用途的话那我可认为你是个蛋疼的人写了那么多的废话！&lt;br /&gt;
额，这东西可以让你了解为什么没下东西，但玩个游戏还会那么卡，看看是哪个程序正在偷偷上传吧，找到必须心狠手辣的把它咔嚓掉！&lt;/p&gt;
&lt;p&gt;恩，你真好，谢谢你！要我怎么报答你呢？&lt;br /&gt;
呃，不谢～要感谢要报答去找原作者吧，再见！&lt;/p&gt;
&lt;p&gt;什么？不给下载地址就休想逃掉？速度交出下载地址！&lt;br /&gt;
&lt;span id=&quot;more-630&quot;&gt;&lt;/span&gt;&lt;br /&gt;
好汉饶命！地址在此：&lt;a href=&quot;http://iskeee.googlecode.com/files/QQDrNetMon.rar&quot;&gt;http://iskeee.googlecode.com/files/QQDrNetMon.rar&lt;/a&gt; （ps：顺便鄙视我们那伟大的墙不分青红皂白的把我一直用来当网盘的Google协作平台墙了。）&lt;br /&gt;
顺便附图一张：&lt;br /&gt;
&lt;a href=&quot;http://leo-n.cn/wp-content/uploads/2009/10/QQDR_0001.jpg&quot;&gt;&lt;img src=&quot;http://leo-n.cn/wp-content/uploads/2009/10/zrtn_003p1bd08f15_tn.jpg&quot; alt=&quot;&quot; width=&quot;378&quot; height=&quot;261&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4  class=&quot;related_post_title&quot;&gt;Random Posts&lt;/h4&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2009/06/30 -- &lt;a href=&quot;http://leo-n.cn/share-to-xiaonei-without-plugins.html&quot; title=&quot;不用插件实现分享博文至校内&quot;&gt;不用插件实现分享博文至校内&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/12/21 -- &lt;a href=&quot;http://leo-n.cn/blog-hibernation.html&quot; title=&quot;博客冬眠段时间&quot;&gt;博客冬眠段时间&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2008/05/25 -- &lt;a href=&quot;http://leo-n.cn/free-dns-yi-org.html&quot; title=&quot;推荐个可以DNS的2级域名Yi.Org。&quot;&gt;推荐个可以DNS的2级域名Yi.Org。&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/06/15 -- &lt;a href=&quot;http://leo-n.cn/one-dream-is-two-years.html&quot; title=&quot;一梦两年&quot;&gt;一梦两年&lt;/a&gt;&lt;/li&gt;&lt;li&gt;2009/04/20 -- &lt;a href=&quot;http://leo-n.cn/nokia6120c-cracked-problems-and-s603rd-software.html&quot; title=&quot;Nokia6120c破解后的问题及常用软件整理.&quot;&gt;Nokia6120c破解后的问题及常用软件整理.&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/343490769/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490769/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490769/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490769/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=c95f110f581917f803d485900abc022e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=c95f110f581917f803d485900abc022e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=7e0b68fc5d624eb36aa117f976f5aa4c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=7e0b68fc5d624eb36aa117f976f5aa4c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=7d3f4c9261b1dfd6e392ef6a101655d1&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=7d3f4c9261b1dfd6e392ef6a101655d1&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=ec400063448131540d9606b1d6cf2b40&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=ec400063448131540d9606b1d6cf2b40&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=88941354b7f5220dbf9046d68ea4a39b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=88941354b7f5220dbf9046d68ea4a39b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4a151c95bc48ad31d1405b1052d85eab&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4a151c95bc48ad31d1405b1052d85eab&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://leo-n.cn/qqdrnetmon.html/feed</wfw:commentRss><slash:comments>32</slash:comments><description>什么是QQDrNetMon？光从名字上还真看不出个所以然来，其实，如果我说这是一个QQ医生里面的剥离组件，大家就明白了，写这篇推荐是受到iPlaysoft介绍QQ医生此功能的影响，再本着方便广大不喜好安装QQ医生的人民群众，所以我决定对这个剥离组件进行推荐。
QQDrNetMon是干什么用的？能吃吗？
呃。。不能吃，它是用来监控计算机内所运行程序与互联网数据交换的速度与流量的，这么一句拗口的话可以简单理解为监控这些程序有没有偷偷的上传或下载数据。
QQDrNetMon的英文全称是什么呀？我在备考CET4，要抓住每一个学习的机会！
额，通过Google我知道了它的全称是QQ Doctor Net Monitoring。
QQDrNetMon需要安装吗？我最讨厌向注册表里面扔东西了！
恭喜你，它很符合你的胃口，解压后直接使用即可。（PS：对某些程序的监控可能要重启计算后才会生效。）
QQDrNetMon支持让我欢喜让我忧的Win7吗？Win7什么都好，就是对部分软件的兼容性不佳让我一直耿耿于怀。
再次恭喜你，在我32位的Win7 7600RTM上运行良好。
QQDrNetMon的原理机制是什么？我怎样才能确定我对某程序限制上传速度/禁止访问网络的操作已经生效了？
呃，作为一个写伪技术文章的blogger，我对它的原理机制还没弄懂，但是对于后面的问题，一个非常简单操作就能让你清楚，操作如下：
打开QQDrNetMon；运行一个浏览器程序；在QQDrNetMon里面找到浏览器的进程，如IE是iexplore.exe，Firefox的是firefox.exe；右键点击浏览器进程，选择禁止访问网络；再切回对应浏览器，访问个百度之类的服务器稳定、不存在被墙可能性的网站；如果发现网页打不开，那就证明QQDrNetMon已经在正常工作了。（PS：最后别忘记逆向操作一次。）
QQDrNetMon有什么实质用途呢？没实质用途的话那我可认为你是个蛋疼的人写了那么多的废话！
额，这东西可以让你了解为什么没下东西，但玩个游戏还会那么卡，看看是哪个程序正在偷偷上传吧，找到必须心狠手辣的把它咔嚓掉！
恩，你真好，谢谢你！要我怎么报答你呢？
呃，不谢～要感谢要报答去找原作者吧，再见！
什么？不给下载地址就休想逃掉？速度交出下载地址！

好汉饶命！地址在此：http://iskeee.googlecode.com/files/QQDrNetMon.rar （ps：顺便鄙视我们那伟大的墙不分青红皂白的把我一直用来当网盘的Google协作平台墙了。）
顺便附图一张：

Random Posts2009/04/10 -- 感谢ExWebs.Org提供的博客空间.2008/05/23 -- 万网免费CN域名.2009/04/12 -- Foxmarks升级至Xmarks.2008/05/23 -- 推荐个超华丽的播放器AirPlay2008/05/23 -- 现在的生活.&lt;img src=&quot;http://www1.feedsky.com/t1/343490769/leo_n/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/leo_n/~7856464/343490769/1335691/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/leo_n/343490769/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/leo_n/343490769/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=c95f110f581917f803d485900abc022e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=c95f110f581917f803d485900abc022e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=7e0b68fc5d624eb36aa117f976f5aa4c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=7e0b68fc5d624eb36aa117f976f5aa4c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=7d3f4c9261b1dfd6e392ef6a101655d1&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=7d3f4c9261b1dfd6e392ef6a101655d1&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=ec400063448131540d9606b1d6cf2b40&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=ec400063448131540d9606b1d6cf2b40&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=88941354b7f5220dbf9046d68ea4a39b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=88941354b7f5220dbf9046d68ea4a39b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/leo_n?a=4a151c95bc48ad31d1405b1052d85eab&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/leo_n?i=4a151c95bc48ad31d1405b1052d85eab&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>software</category><category>Tech</category><pubDate>Sat, 17 Oct 2009 18:15:28 +0800</pubDate><author>Leo.N</author><comments>http://leo-n.cn/qqdrnetmon.html#comments</comments><guid isPermaLink="false">http://leo-n.cn/?p=630</guid><dc:creator>Leo.N</dc:creator><fs:srclink>http://leo-n.cn/qqdrnetmon.html</fs:srclink><fs:srcfeed>http://leo-n.cn/feed</fs:srcfeed><fs:itemid>feedsky/leo_n/~7856464/343490769/1335691</fs:itemid></item></channel></rss>