<?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/">
<channel>
<title>FiO自留地</title>
<link>http://blog.q3acn.com/fio</link>
<description>Just Another Place :)</description>
<language>en</language>
<generator>Rss Generator By TeamBlog</generator>
<item>
<title>模板问题报告</title>
<link>http://blog.q3acn.com/fio/post/4</link>
<comments>http://blog.q3acn.com/fio/post/4#comments</comments>
<pubDate>Wed, 30 Aug 2006 10:40:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>模板</category><description>
<![CDATA[
大家在使用模板中有什么问题可以发到这里，比如：

非1024分辨率下面的栏目错位
颜色配色错误

等

谢谢 :-D ]]>
</description>
<content:encoded>
<![CDATA[
大家在使用模板中有什么问题可以发到这里，比如：<br /><br />非1024分辨率下面的栏目错位<br />颜色配色错误<br /><br />等<br /><br />谢谢 :-D ]]>
</content:encoded>
</item>
<item>
<title>给你的TeamBlog添加Favicon</title>
<link>http://blog.q3acn.com/fio/post/164</link>
<comments>http://blog.q3acn.com/fio/post/164#comments</comments>
<pubDate>Sun, 10 Sep 2006 04:37:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>日志</category><description>
<![CDATA[
啥叫作Favicon呢？大家上网的时候会发现有的网址前面的图标不是ie中的大E或者FF中的白页，这个个性化图标就是favicon。把拥有favicon的网站加入收藏夹之后，其前面的图标也是个性化的。


这是我现在Teamblog的favicon效果。

做法很简单（其实和网站添加图标一样）：
1. 到 http://www.html-kit.com/favicon/ 这里上传一个正方形的图（尺寸随便）然后提交，网站会给你生成一套favicon，下载，备用。
2. 在TeamBlog的侧边栏自定义项目中添加这么一行：
<link rel="shortcut icon" href="favicon所在的地址">
你需要把自己的icon传到某个地方，然后把href的属性换成icon所在的地址。
3. 完成。

不过用link的方法是通不过W3C的，我在 http://my.donews.com/firewood/ 发现了用JS添加的方法：

<script type="text/javascript">
var link=document.createElement("link");
link.setAttribute("rel","shortcut icon");
link.setAttribute("href","url");
document.getElementsByTagName("head")[0].appendChild(link);
</script>

搞定，收工。

[color=red]Update[/color]：代码有点问题，大于号和小于号自动被编码了，如果要使用JS方法，需要把所有&amp;amp;lt;、&amp;amp;gt;和&amp;amp;quot;都替换成半角的小于号、大于号和引号。 ]]>
</description>
<content:encoded>
<![CDATA[
啥叫作Favicon呢？大家上网的时候会发现有的网址前面的图标不是ie中的大E或者FF中的白页，这个个性化图标就是favicon。把拥有favicon的网站加入收藏夹之后，其前面的图标也是个性化的。<br /><br /><img src="http://blog.q3acn.com/Images/pictures/fio/2006091012314744_big.gif" border="0" style="margin:5px" onLoad="if(this.width>500) {this.resized=true; this.width=500;}" /><br />这是我现在Teamblog的favicon效果。<br /><br />做法很简单（其实和网站添加图标一样）：<br />1. 到 <a href=http://www.html-kit.com/favicon/ target="_blank">http://www.html-kit.com/favicon/</a> 这里上传一个正方形的图（尺寸随便）然后提交，网站会给你生成一套favicon，下载，备用。<br />2. 在TeamBlog的侧边栏自定义项目中添加这么一行：<br />&lt;link rel=&quot;shortcut icon&quot; href=&quot;favicon所在的地址&quot;&gt;<br />你需要把自己的icon传到某个地方，然后把href的属性换成icon所在的地址。<br />3. 完成。<br /><br />不过用link的方法是通不过W3C的，我在 <a href=http://my.donews.com/firewood/ target="_blank">http://my.donews.com/firewood/</a> 发现了用JS添加的方法：<br /><br /><blockquote>&lt;script type=&quot;text/javascript&quot;&gt;<br />var link=document.createElement(&quot;link&quot;);<br />link.setAttribute(&quot;rel&quot;,&quot;shortcut icon&quot;);<br />link.setAttribute(&quot;href&quot;,&quot;url&quot;);<br />document.getElementsByTagName(&quot;head&quot;)[0].appendChild(link);<br />&lt;/script&gt;</blockquote><br /><br />搞定，收工。<br /><br /><span style="color:red"><b>Update</b></span>：代码有点问题，大于号和小于号自动被编码了，如果要使用JS方法，需要把所有&amp;amp;lt;、&amp;amp;gt;和&amp;amp;quot;都替换成半角的小于号、大于号和引号。 ]]>
</content:encoded>
</item>
<item>
<title>他娘的IE！</title>
<link>http://blog.q3acn.com/fio/post/161</link>
<comments>http://blog.q3acn.com/fio/post/161#comments</comments>
<pubDate>Sat, 09 Sep 2006 05:16:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>日志</category><description>
<![CDATA[
如题。 ]]>
</description>
<content:encoded>
<![CDATA[
如题。 ]]>
</content:encoded>
</item>
<item>
<title>让IE也能用position:fixed</title>
<link>http://blog.q3acn.com/fio/post/152</link>
<comments>http://blog.q3acn.com/fio/post/152#comments</comments>
<pubDate>Fri, 08 Sep 2006 14:17:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>模板</category><description>
<![CDATA[
今天在做网站的时候需要实现一个随网页滚动的div的效果。搜了搜，多数是js效果，这不是浪费资源么。还有一个用top:expression()实现的，可惜在多个层时候就没效了，烂！

于是去美味书签找了找，还真看到了。

引自：http://www.jluvip.com/blog/article.asp?id=109

因为非IE的主流浏览器都支持position:fixed;所以只需要给IE设置一下fixed效果。

第一步让IE下#menu具有绝对定位
* html #menu {position:absolute;}/*only for ie*/结果看到有两个纵轴滚动条，外围是html的，内侧是body的。

第二步去掉外侧滚动条，因为外侧没有滚动效果
html {overflow-x:auto; overflow-y:hidden;}

还发现个更好的，把各种固定的header、footer之类都写好了代码的：
http://limpid.nl/lab/css/fixed/

css真是万能阿！IE7和FF2都完全支持CSS3吧！！ ]]>
</description>
<content:encoded>
<![CDATA[
今天在做网站的时候需要实现一个随网页滚动的div的效果。搜了搜，多数是js效果，这不是浪费资源么。还有一个用top:expression()实现的，可惜在多个层时候就没效了，烂！<br /><br />于是去美味书签找了找，还真看到了。<br /><br />引自：<a href=http://www.jluvip.com/blog/article.asp?id=109 target="_blank">http://www.jluvip.com/blog/article.asp?id=109</a><br /><blockquote><br />因为非IE的主流浏览器都支持position:fixed;所以只需要给IE设置一下fixed效果。<br /><br />第一步让IE下#menu具有绝对定位<br />* html #menu {position:absolute;}/*only for ie*/结果看到有两个纵轴滚动条，外围是html的，内侧是body的。<br /><br />第二步去掉外侧滚动条，因为外侧没有滚动效果<br />html {overflow-x:auto; overflow-y:hidden;}</blockquote><br /><br />还发现个更好的，把各种固定的header、footer之类都写好了代码的：<br /><a href=http://limpid.nl/lab/css/fixed/ target="_blank">http://limpid.nl/lab/css/fixed/</a><br /><br />css真是万能阿！IE7和FF2都完全支持CSS3吧！！ ]]>
</content:encoded>
</item>
<item>
<title>个人Blog开张</title>
<link>http://blog.q3acn.com/fio/post/150</link>
<comments>http://blog.q3acn.com/fio/post/150#comments</comments>
<pubDate>Fri, 08 Sep 2006 08:51:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>模板</category><description>
<![CDATA[
原来的My Donews Blog没有停下：http://my.donews.com/siwei

这个新的blog http://blog.i1421.cn 也是用的wordpress，其他的还是用不惯，还是WP爽^_^。不过新的blog基本上都是“杂念”了，没有什么ＩＴ、游戏之类的。不受到控制的感觉果然很爽。 ]]>
</description>
<content:encoded>
<![CDATA[
原来的My Donews Blog没有停下：<a href=http://my.donews.com/siwei target="_blank">http://my.donews.com/siwei</a><br /><br />这个新的blog <a href=http://blog.i1421.cn target="_blank">http://blog.i1421.cn</a> 也是用的wordpress，其他的还是用不惯，还是WP爽^_^。不过新的blog基本上都是“杂念”了，没有什么ＩＴ、游戏之类的。不受到控制的感觉果然很爽。 ]]>
</content:encoded>
</item>
<item>
<title>超简单制作带有滚动条的DIV的方法</title>
<link>http://blog.q3acn.com/fio/post/131</link>
<comments>http://blog.q3acn.com/fio/post/131#comments</comments>
<pubDate>Wed, 06 Sep 2006 23:59:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>模板</category><description>
<![CDATA[
from http://www.zachgraeve.com/

有时候做某个DIV时候会发现里面的文字太多了，而你又不想扩大DIV的面积，但是怎么能给这个DIV加上个滚动条呢？ 一句话：

overflow : auto;


ok，搞定，收工。 ]]>
</description>
<content:encoded>
<![CDATA[
from <a href=http://www.zachgraeve.com/ target="_blank">http://www.zachgraeve.com/</a><br /><br />有时候做某个DIV时候会发现里面的文字太多了，而你又不想扩大DIV的面积，但是怎么能给这个DIV加上个滚动条呢？ 一句话：<br /><blockquote><br /><b>overflow : auto;</b><br /></blockquote><br /><br />ok，搞定，收工。 ]]>
</content:encoded>
</item>
<item>
<title>使用CSS进行图片反盗链</title>
<link>http://blog.q3acn.com/fio/post/100</link>
<comments>http://blog.q3acn.com/fio/post/100#comments</comments>
<pubDate>Tue, 05 Sep 2006 09:04:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>模板</category><description>
<![CDATA[
img {
 filter:expression(
 this.不能去掉 ? "" :
 (
 (!this.complete) ? "" :
 this.runtimeStyle.filter = ("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "')") +
 String(this.不能去掉 = true).substr(0, 0) +
 (this.src = "http://www.webjx.com/images/logo.gif").substr(0, 0)
 )
 );
} ]]>
</description>
<content:encoded>
<![CDATA[
img {<br /> filter:expression(<br /> this.不能去掉 ? &quot;&quot; :<br /> (<br /> (!this.complete) ? &quot;&quot; :<br /> this.runtimeStyle.filter = (&quot;progid:DXImageTransform.Microsoft.AlphaImageLoader(src='&quot; + this.src + &quot;')&quot;) +<br /> String(this.不能去掉 = true).substr(0, 0) +<br /> (this.src = &quot;http://www.webjx.com/images/logo.gif&quot;).substr(0, 0)<br /> )<br /> );<br />} ]]>
</content:encoded>
</item>
<item>
<title>利用CSS个性化你的Blog</title>
<link>http://blog.q3acn.com/fio/post/98</link>
<comments>http://blog.q3acn.com/fio/post/98#comments</comments>
<pubDate>Tue, 05 Sep 2006 08:24:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>模板</category><description>
<![CDATA[
1.本文仅针对CSS不熟悉或者刚刚入门的同学，高手请无视……
2.我本人也是CSS菜鸟，所以如果发现错误请毫不留情的指出 :D
3.本代码仅适合Q3acn TeamBlog

------------------------------------

<style>
#header {height:200px;background:url(http://blog.q3acn.com/Images/galleries/fio/14/2006090118171919_big.jpg) left top no-repeat;}
#blogname { left:150px; }
#blogsubtitle { color:#333; top:30px; left: 300px;}
#menu {right:430px; top:180px;}
#menu a {color:#F8251C; text-decoration:none;}
a img {border:0px;}
</style>

------------------------------------
上面就是我现在使用的个性化CSS，可以直接添加到侧边栏的自定义项目中，实现的效果就是我Blog现在的样子。

最上面的图片位于Header层中，也就是#header里面background所指定的url括号中的地址，这个可以修改成任意图片，但是宽度最好是1005，高度要和header中height值一样。

下面几个带有#的容器都是设定菜单、blog名字、子标题的位置和颜色，修改其中的颜色值和数字即可个性化成自己的。

最后要说的是这个代码仅适合KESO模板，其他的模板用起来可能感觉很怪。不过方法都是一样，具体怎么改就看自己的发挥了。具体的容器名称可以打开页面引入的css文件查看。 ]]>
</description>
<content:encoded>
<![CDATA[
1.本文仅针对CSS不熟悉或者刚刚入门的同学，高手请无视……<br />2.我本人也是CSS菜鸟，所以如果发现错误请毫不留情的指出 :D<br />3.本代码仅适合Q3acn TeamBlog<br /><br />------------------------------------<br /><br />&lt;style&gt;<br />#header {height:200px;background:url(<a href=http://blog.q3acn.com/Images/galleries/fio/14/2006090118171919_big.jpg) target="_blank">http://blog.q3acn.com/Images/galleries/fio/14/2006090118171919_big.jpg)</a> left top no-repeat;}<br />#blogname { left:150px; }<br />#blogsubtitle { color:#333; top:30px; left: 300px;}<br />#menu {right:430px; top:180px;}<br />#menu a {color:#F8251C; text-decoration:none;}<br />a img {border:0px;}<br />&lt;/style&gt;<br /><br />------------------------------------<br />上面就是我现在使用的个性化CSS，可以直接添加到侧边栏的自定义项目中，实现的效果就是我Blog现在的样子。<br /><br />最上面的图片位于Header层中，也就是#header里面background所指定的url括号中的地址，这个可以修改成任意图片，但是宽度最好是1005，高度要和header中height值一样。<br /><br />下面几个带有#的容器都是设定菜单、blog名字、子标题的位置和颜色，修改其中的颜色值和数字即可个性化成自己的。<br /><br />最后要说的是这个代码仅适合KESO模板，其他的模板用起来可能感觉很怪。不过方法都是一样，具体怎么改就看自己的发挥了。具体的容器名称可以打开页面引入的css文件查看。 ]]>
</content:encoded>
</item>
<item>
<title>使用CSS反转邮箱地址</title>
<link>http://blog.q3acn.com/fio/post/74</link>
<comments>http://blog.q3acn.com/fio/post/74#comments</comments>
<pubDate>Sun, 03 Sep 2006 03:24:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>模板</category><description>
<![CDATA[
<style type="text/css">
.reverse {unicode-bidi:bidi-override; direction: rtl; color:#f00;}
</style> ]]>
</description>
<content:encoded>
<![CDATA[
&lt;style type=&quot;text/css&quot;&gt;<br />.reverse {unicode-bidi:bidi-override; direction: rtl; color:#f00;}<br />&lt;/style&gt; ]]>
</content:encoded>
</item>
<item>
<title>使用DIV和Span元素制作“链接层”的方法</title>
<link>http://blog.q3acn.com/fio/post/68</link>
<comments>http://blog.q3acn.com/fio/post/68#comments</comments>
<pubDate>Sat, 02 Sep 2006 10:52:00 +0000</pubDate>
<dc:creator>FiO</dc:creator><category>模板</category><description>
<![CDATA[
方法来自ZachRaeve的Blog。

在应用层的时候可以直接加入DHTML的onclick事件：
    <div id="header" onclick="location.href=http://www.example.com;">
为了让用户能更清楚这是一个带有链接的层，可以使用自定义鼠标：
cursor: pointer; 

这样就完成了一个“链接层” ]]>
</description>
<content:encoded>
<![CDATA[
方法来自<a href="http://www.zachgraeve.com/2006/09/01/using-div-and-span-elements-as-clickable-links/" target="_blank">ZachRaeve的Blog</a>。<br /><br />在应用层的时候可以直接加入DHTML的onclick事件：<br />    &lt;div id=&quot;header&quot; onclick=&quot;location.href=http://www.example.com;&quot;&gt;<br />为了让用户能更清楚这是一个带有链接的层，可以使用自定义鼠标：<br />cursor: pointer; <br /><br />这样就完成了一个“链接层” ]]>
</content:encoded>
</item>
</channel></rss>
