<?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html"><![CDATA[Vinci's Blog - 技术文章]]></title>
  <subtitle type="html"><![CDATA[Noting perfect lasts forever,Except in our memories.]]></subtitle>
  <id>http://www.hibloger.com/</id> 
  <link rel="alternate" type="text/html" href="http://www.hibloger.com/" /> 
  <link rel="self" type="application/atom+xml" href="http://www.hibloger.com/atom.asp" /> 
  <generator uri="http://www.pjhome.net/" version="2.4.1022">PJBlog2</generator> 
  <updated>2007-10-26T09:43:50+08:00</updated> 

  <entry>
	  <title type="html"><![CDATA[CSS的Media类型]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2007-10-26T09:43:50+08:00</updated>
	  <published>2007-10-26T09:43:50+08:00</published>
		  <summary type="html"><![CDATA[ CSS属性：<br/>1、媒体（Media）类型<br/><br/>样式单的一个最重要的特点就是它可以作用于多种媒体，比如页面、屏幕、电子合成器等等。特定的属性只能作用于特定的媒体，如&#34;font-size&#34;属性只对可卷动的媒体类型有效（屏幕）。<br/><br/>声明一个媒体属性可以用@import或@media引入：<br/><br/>@import url(loudvoice.css) speech;<br/>@media print {<br/>/* style sheet for print goes here */<br/>}<br/>也可以在文档标记中引入媒体：<br/>&lt;LINK rel=&#34;stylesheet&#34; type=&#34;text/css&#34; media=&#34;print&#34; href=&#34;foo.css&#34;&gt;<br/>可以看出，@import和@media的区别在于，前者引入外部的样式单用于媒体类型，后者直接引入媒体属性。@import的使用方法是@import加样式单文件的URL地址再加媒体类型，可以多个媒体共用一个样式单，媒体类型之间用&#34;，&#34;分割符分开。@media用法则是把媒体类型放在前面，其他规则和rule-set基本一样。下面列出各种媒体类型：<br/>SCREEN：指计算机屏幕。<br/>PRINT：指用于打印机的不透明介质。<br/>PROJECTION：指用于显示的项目。<br/>BRAILLE：盲文系统，指有触觉效果的印刷品。<br/>AURAL：指语音电子合成器。<br/>TV：指电视类型的媒体。<br/>HANDHELD：指手持式显示设备（小屏幕，单色）<br/>ALL：适合于所有媒体。<br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=83" /> 
	  <id>http://www.hibloger.com/default.asp?id=83</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[<Div>垂直居中及容器内图片垂直居中的CSS解决方法]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2007-05-09T10:20:44+08:00</updated>
	  <published>2007-05-09T10:20:44+08:00</published>
		  <summary type="html"><![CDATA[Div与CSS布局，最让人头疼的就是容器内的东西如何垂直居中的问题，我在做站时也遇到，查了一下资料，总结出以下居中办法，兼容IE与及Firefox<br/><br/>方法一<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp4023">
<style type=&#34;text/css&#34;>
<!-- 
* {margin:0;padding:0}
div {
  width:500px;
  height:500px;
  border:1px solid #666;
  overflow:hidden;
  position:relative;
  display:table-cell;
  text-align:center;
  vertical-align:middle
}
div p {
  position:static;
  +position:absolute;
  top:50%
  }
img {
  position:static;
  +position:relative;
  top:-50%;left:-50%;
  }
-->
</style>
<div><p><img src=&#34;<a href="http://www.google.com/intl/en/images/logo.gif" target="_blank">http://www.google.com/intl/en/images/logo.gif</a>&#34; /></p></div>
</TEXTAREA><br/><INPUT onclick="runEx('temp4023')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp4023')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/>方法二<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp95737">
<!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#34;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>div里面图片垂直居中的几个例子</title>
<style type=&#34;text/css&#34;>
<!-- 
body {
  margin:0;padding:0
}
div {
  width:500px;
  height:500px;
  line-height:500px;
  border:1px solid #666;
  overflow:hidden;
  position:relative;
  text-align:center;
}
div p {
  position:static;
  +position:absolute;
  top:50%
}
img {
  position:static;
  +position:relative;
  top:-50%;left:-50%;
  vertical-align:middle
}
p:after {
  content:&#34;.&#34;;font-size:1px;
  visibility:hidden
}
-->
</style>
</head>
<body>
<div><p><img src=&#34;<a href="http://www.google.com/intl/en/images/logo.gif" target="_blank">http://www.google.com/intl/en/images/logo.gif</a>&#34; /></p></div>
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp95737')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp95737')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/>方法三<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp73711">
<!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#34;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>div里面图片垂直居中的几个例子</title>
<style type=&#34;text/css&#34;>
<!-- 
* {margin:0;padding:0}
div {
  width:500px;
  height:500px;
  line-height:500px;
  border:1px solid #666;
  overflow:hidden;
  position:relative;
  text-align:center;
}
div p {
  position:static;
  +position:absolute;
  top:50%;
  vertical-align:middle
}
img {
  position:static;
  +position:relative;
  top:-50%;left:-50%;
  vertical-align:middle
}
-->
</style>
</head>
<body>
<div><p><img src=&#34;<a href="http://www.google.com/intl/en/images/logo.gif" target="_blank">http://www.google.com/intl/en/images/logo.gif</a>&#34; /></p></div>
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp73711')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp73711')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/>方法四（针对背景图片居中）<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp13232">
<!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#34;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>div里面图片垂直居中的几个例子</title>
<style type=&#34;text/css&#34;>
<!-- 
* {margin:0;padding:0;}
div {
  width:500px;border:1px solid #666;
  height:500px;
  background:url(&#34;<a href="http://www.google.com/intl/en/images/logo.gif" target="_blank">http://www.google.com/intl/en/images/logo.gif</a>&#34;) center no-repeat
}
-->
</style>
</head>
<body>
<div></div>
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp13232')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp13232')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=75" /> 
	  <id>http://www.hibloger.com/default.asp?id=75</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[Windows环境下打开PHP Mb_String的方法]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2007-04-29T17:13:56+08:00</updated>
	  <published>2007-04-29T17:13:56+08:00</published>
		  <summary type="html"><![CDATA[Windows环境下打开PHP Mb_String的方法<br/>前几天跑一个Php程序，需要转字符编码，可是一探服务器，居然说不支持Mb_String扩展。我查了Php的扩展库里是有php_mbstring.dll这个文件的。下面将打开的方法告诉大家<br/><br/>1.确保你的Windows/system32下有php_mbstring.dll这个文件，没有就从你Php安装目录extensions里拷入Windows/system32里面。<br/><br/>2.在windows目录下找到php.ini打开编辑，搜索mbstring.dll，找到<br/>;extension=php_mbstring.dll<br/>然后将前面的<strong><span style="color:Red">;</span></strong>号去掉，打开对组件的支持<br/><br/>3.重启PHP服务（如果不会你可重新启一下计算机）<br/><br/>4.完成]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=71" /> 
	  <id>http://www.hibloger.com/default.asp?id=71</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[PJBlog 广告垃圾引用的屏蔽方法]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2007-04-10T16:45:41+08:00</updated>
	  <published>2007-04-10T16:45:41+08:00</published>
		  <summary type="html"><![CDATA[最近Blog上的广告引用太多了，实在是让人心烦。去论坛上查了一下帖子，照着操作了一下，似乎还有效。这里将我更改的文件放出来，大家可以下载回去试一下，注意先备份的你文件先。呵呵<br/><a target="_blank" href="http://www.hibloger.com/soft/debug01.rar">文件下载地址</a><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">具体安装方法如下:<br/><br/>===========================================================<br/>文件trackback.asp<br/>查找<br/>tbID = CheckStr(Request.QueryString(&#34;tbID&#34;))<br/>替换成<br/>tbID = Decrypt(CheckStr(Request.QueryString(&#34;tbID&#34;)))<br/><br/>查找<br/>If Not (IsInteger(Request.QueryString(&#34;tbID&#34;)) AND IsInteger(Request.QueryString(&#34;logID&#34;))) Then<br/>替换成<br/>If Not IsInteger(Decrypt(Request.QueryString(&#34;tbID&#34;))) AND IsInteger(Request.QueryString(&#34;logID&#34;)) Then<br/><br/>查找<br/>Wh&#101;re blog_ID=&#34;&amp;logID&amp;&#34; AND tb_ID=&#34;&amp;CheckStr(Request.QueryString(&#34;tbID&#34;))<br/>替换成<br/>Wh&#101;re blog_ID=&#34;&amp;logID&amp;&#34; AND tb_ID=&#34;&amp;Decrypt(CheckStr(Request.QueryString(&#34;tbID&#34;)))<br/>**有2处<br/><br/><br/><br/>查找<br/>&#39;==================================<br/>&#39;&nbsp;&nbsp;引用通告处理页面<br/>&#39;&nbsp;&nbsp;&nbsp;&nbsp;更新时间: 2006-6-1<br/>&#39;==================================<br/>在下面加入<br/><br/><br/>dim keys,keys1<br/>keys=Request.QueryString(&#34;key&#34;)<br/>keys1=Encrypt((year(now))&amp;(Month(now))&amp;(day(now))&amp;hour(now()))<br/>if keys&lt;&gt;keys1 then<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.c<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.write &#34;&lt;?xml version=&#34;&#34;1.0&#34;&#34; encoding=&#34;&#34;UTF-8&#34;&#34;?&gt;&lt;?xml-stylesheet type=&#34;&#34;text/xsl&#34;&#34; href=&#34;&#34;tb.xsl&#34;&#34;?&gt;&#34;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;response&gt;&lt;error&gt;1&lt;/error&gt;&lt;message&gt;您递交的信息已过期.请检查...&lt;/message&gt;&lt;/response&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;%<br/>else<br/><br/><br/>dim strget<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strget=trim(Request.QueryString(&#34;tbID&#34;))<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if len(strget) &gt; 8 then<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.c<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.write &#34;&lt;?xml version=&#34;&#34;1.0&#34;&#34; encoding=&#34;&#34;UTF-8&#34;&#34;?&gt;&lt;?xml-stylesheet type=&#34;&#34;text/xsl&#34;&#34; href=&#34;&#34;tb.xsl&#34;&#34;?&gt;&#34;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;response&gt;&lt;error&gt;1&lt;/error&gt;&lt;message&gt;您递交的信息有错误.请检查...&lt;/message&gt;&lt;/response&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;%<br/>else<br/><br/>&nbsp;&nbsp;dim tbIDs<br/>&nbsp;&nbsp;tbIDs = Decrypt(CheckStr(Request.QueryString(&#34;tbID&#34;)))<br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if tbIDs &lt; 1 then<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.c<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.write &#34;&lt;?xml version=&#34;&#34;1.0&#34;&#34; encoding=&#34;&#34;UTF-8&#34;&#34;?&gt;&lt;?xml-stylesheet type=&#34;&#34;text/xsl&#34;&#34; href=&#34;&#34;tb.xsl&#34;&#34;?&gt;&#34;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;response&gt;&lt;error&gt;1&lt;/error&gt;&lt;message&gt;您递交的信息有错误.请检查...&lt;/message&gt;&lt;/response&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;%<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>查找<br/>&#39;Trackback response function上面加入<br/>end if<br/>end if<br/>end if<br/><br/><br/>********可以不换***********<br/>查找<br/>Response.Redirect(&#34;search.asp?searchType=trackback&#34;)<br/>替换成<br/>Response.c<br/>Response.write &#34;&lt;?xml version=&#34;&#34;1.0&#34;&#34; encoding=&#34;&#34;UTF-8&#34;&#34;?&gt;&lt;?xml-stylesheet type=&#34;&#34;text/xsl&#34;&#34; href=&#34;&#34;tb.xsl&#34;&#34;?&gt;&#34;<br/>%&gt;<br/>&lt;response&gt;&lt;error&gt;1&lt;/error&gt;&lt;message&gt;日志ID错误.请检查......&lt;/message&gt;&lt;/response&gt;<br/>&lt;%<br/>查找<br/>&lt;response&gt;&lt;error&gt;1&lt;/error&gt;&lt;message&gt;日志没有被引用.&lt;/message&gt;&lt;/response&gt;<br/>替换成<br/>&lt;response&gt;&lt;error&gt;1&lt;/error&gt;&lt;message&gt;日志（ID=&lt;% Response.write tbID %&gt;）没有被引用.&lt;/message&gt;&lt;/response&gt;<br/><br/>********可以不换***********<br/><br/><br/><br/>===========================================================<br/>文件class\cls_article.asp<br/>查找<br/>引用通告地址:&lt;a href=&#34;&lt;%=(SiteURL&amp;&#34;trackback.asp?tbID=&#34;&amp;id)%&gt;&#34; target=&#34;_blank&#34;&gt;&lt;%=(SiteURL&amp;&#34;trackback.asp?tbID=&#34;&amp;id)%&gt;&lt;/a&gt;<br/>替换成<br/>引用通告地址:&lt;a href=&#34;&lt;%=(SiteURL&amp;&#34;trackback.asp?tbID=&#34;&amp;Encrypt(id)&amp;&#34;&amp;key=&#34;&amp;Encrypt((year(now))&amp;(Month(now))&amp;(day(now))&amp;hour(now())))%&gt;&#34; target=&#34;_blank&#34;&gt;&lt;%=(SiteURL&amp;&#34;trackback.asp?tbID=&#34;&amp;Encrypt(id)&amp;&#34;&amp;key=&#34;&amp;Encrypt((year(now))&amp;(Month(now))&amp;(day(now))&amp;hour(now())))%&gt;&lt;/a&gt;<br/>查找<br/>Sub ShowComm(LogID,comDesc,DisComment)<br/>在下面添加<br/>dim k1<br/>k1=Encrypt((year(now))&amp;(Month(now))&amp;(day(now))&amp;hour(now()))<br/>查找<br/>href=&#34;&#34;trackback.asp?action=deltb&amp;tbID=&#34;&amp;commArr(6,Pcount)&amp;&#34;&amp;logID=&#34;&amp;LogID&amp;&#34;&#34;&#34;<br/>替换成<br/>href=&#34;&#34;trackback.asp?action=deltb&amp;tbID=&#34;&amp;Encrypt(commArr(6,Pcount))&amp;&#34;&amp;logID=&#34;&amp;LogID&amp;&#34;&amp;key=&#34;&amp;k1&amp;&#34;&#34;&#34;<br/><br/>查找<br/>TempArticle=Replace(TempArticle,&#34;&lt;&#34;&amp;&#34;%ST(A)%&#34;&amp;&#34;&gt;&#34;,&#34;&#34;)<br/>替换成<br/>dim k1<br/>k1=Encrypt((year(now))&amp;(Month(now))&amp;(day(now))&amp;hour(now()))<br/>TempArticle=Replace(TempArticle,&#34;&lt;&#34;&amp;&#34;%ST(A)%&#34;&amp;&#34;&gt;&#34;,&#34;&#34;)<br/>TempArticle=Replace(TempArticle,&#34;&lt;&#34;&amp;&#34;%ST(KEY)%&#34;&amp;&#34;&gt;&#34;,k1)===========================================================<br/>文件class\cls_logAction.asp<br/>查找<br/>Temp1=Replace(Temp1,&#34;&lt;$trackback$&gt;&#34;,SiteURL&amp;&#34;trackback.asp?tbID=&#34;&amp;LogID)<br/>替换成<br/>Temp1=Replace(Temp1,&#34;&lt;$trackback$&gt;&#34;,SiteURL&amp;&#34;trackback.asp?tbID=&#34;&amp;Encrypt(LogID)&amp;&#34;&amp;key=&#34;&amp;&#34;&lt;&#34;&amp;&#34;%ST(KEY)%&#34;&amp;&#34;&gt;&#34;)===========================================================<br/>文件common\function.asp<br/>在文件最后，%&gt;的上面添加<br/><br/>Function Encrypt(theNumber)<br/>On Error Resume Next<br/>Dim n, szEnc, t, HiN, LoN, i<br/>n = CDbl((theNumber + 1570) ^ 2 - 7 * (theNumber + 1570) - 450)<br/>If n &lt; 0 Then szEnc = &#34;R&#34; Else szEnc = &#34;J&#34;<br/>n = CStr(abs(n))<br/>For i = 1 To Len(n) step 2<br/>&nbsp;&nbsp;t = Mid(n, i, 2)<br/>&nbsp;&nbsp;If Len(t) = 1 Then<br/>&nbsp;&nbsp; szEnc = szEnc &amp; t<br/>&nbsp;&nbsp; Exit For<br/>&nbsp;&nbsp;End If<br/>&nbsp;&nbsp;HiN = (CInt(t) And 240) / 16<br/>&nbsp;&nbsp;LoN = CInt(t) And 15<br/>&nbsp;&nbsp;szEnc = szEnc &amp; Chr(Asc(&#34;M&#34;) + HiN) &amp; Chr(Asc(&#34;C&#34;) + LoN)<br/>Next<br/>Encrypt = szEnc<br/>End Function<br/><br/><br/>Function Decrypt(theNumber)<br/>On Error Resume Next<br/>Dim e, n, sign, t, HiN, LoN, NewN, i<br/>e = theNumber<br/>If Left(e, 1) = &#34;R&#34; Then sign = -1 Else sign = 1<br/>e = Mid(e, 2)<br/>NewN = &#34;&#34;<br/>For i = 1 To Len(e) step 2<br/>&nbsp;&nbsp;t = Mid(e, i, 2)<br/>&nbsp;&nbsp;If Asc(t) &gt;= Asc(&#34;0&#34;) And Asc(t) &lt;= Asc(&#34;9&#34;) Then<br/>&nbsp;&nbsp; NewN = NewN &amp; t<br/>&nbsp;&nbsp; Exit For<br/>&nbsp;&nbsp;End If<br/>&nbsp;&nbsp;HiN = Mid(t, 1, 1)<br/>&nbsp;&nbsp;LoN = Mid(t, 2, 1)<br/>&nbsp;&nbsp;HiN = (Asc(HiN) - Asc(&#34;M&#34;)) * 16<br/>&nbsp;&nbsp;LoN = Asc(LoN) - Asc(&#34;C&#34;)<br/>&nbsp;&nbsp;t = CStr(HiN o&#114; LoN)<br/>&nbsp;&nbsp;If Len(t) = 1 Then t = &#34;0&#34; &amp; t<br/>&nbsp;&nbsp;NewN = NewN &amp; t<br/>Next<br/>e = CDbl(NewN) * sign<br/>Decrypt = CLng((7 + sqr(49 - 4 * (-450 - e))) / 2 - 1570)<br/>End Function<br/>================================================<br/>演示到我的BLOG看。我网络很慢。请您忍耐。<br/>没有修改过这4个文件的用户可以下载下面的覆盖即可。<br/>================================================<br/>使用静态页的需要到后台从新建立所有日记。<br/></div></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=55" /> 
	  <id>http://www.hibloger.com/default.asp?id=55</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[2007 十大网站设计错误]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2007-01-30T09:54:33+08:00</updated>
	  <published>2007-01-30T09:54:33+08:00</published>
		  <summary type="html"><![CDATA[此篇来自于尼尔森最新的Top Ten Mistakes in Web Design，在2007年的升级中，尼尔森再次提出了十大网站设计错误。分别是：<br/><br/>1. Bad Search　<br/><br/>Overly literal search engines reduce usability in that they&#39;re unable to handle typos, plurals, hyphens, and other variants of the query terms. Such search engines are particularly difficult for elderly users, but they hurt everybody. <br/><br/>A related problem is when search engines prioritize results purely on the basis of how many query terms they contain, rather than on each document&#39;s importance. Much better if your search engine calls out &#34;best bets&#34; at the top of the list -- especially for important queries, such as the names of your products. <br/><br/>Search is the user&#39;s lifeline when navigation fails. Even though advanced search can sometimes help, simple search usually works best, and search should be presented as a simple box, since that&#39;s what users are looking for. <br/><br/>注：以下内容并不是翻译<br/>坏的搜索。尼尔森开始质疑起了搜索引擎，近年来的搜索引擎的确做的很火，往往你搜索到一个关健词，搜索引擎按轻重缓急安排搜索结果时，确勿略了可用性。这里尼尔森举到了产品的例子，比如我想搜索的我自己的产品，但无关紧要的关健字却排在了第一位。这的确是很失望的事情，想找重要的东西找不着。那么如果把重要的东西排在前面，即改变搜索引擎的机器算法，人工操作改善可用性。那是否背离的搜索引擎的原则？<br/><br/>2. PDF Files for Online Reading<br/><br/>Users hate coming across a PDF file while browsing, because it breaks their flow. Even simple things like printing o&#114; saving documents are difficult because standard browser commands don&#39;t work. Layouts are often optimized for a sheet of paper, which rarely matches the size of the user&#39;s browser window. Bye-bye smooth scrolling. Hello tiny fonts. <br/><br/>Worst of all, PDF is an undifferentiated blob of content that&#39;s hard to navigate. <br/><br/>PDF is great for printing and for distributing manuals and other big documents that need to be printed. Reserve it for this purpose and convert any information that needs to be browsed o&#114; read on the screen into real web pages. <br/><br/>注：以下内容并不是翻译<br/>在线阅读PDF文档。这个不得不说是“流氓行为”，尼尔森认为在线阅读中断了用户的流程，可能用户就只是打印或下载文档。我是极为反感adobe的这种方式，但无疑，这也是一种给PDF格式的流行铺开道路的途径。你可以认为方式这种是当年的hao123，现在转正为百度了。<br/><br/>3. Not Changing the Color of Visited Links<br/><br/>A good grasp of past navigation helps you understand your current location, since it&#39;s the culmination of your journey. Knowing your past and present locations in turn makes it easier to decide wh&#101;re to go next. Links are a key factor in this navigation process. Users can exclude links that proved fruitless in their earlier visits. Conversely, they might revisit links they found helpful in the past. <br/>Most important, knowing which pages they&#39;ve already visited frees users from unintentionally revisiting the same pages over and over again. <br/><br/>These benefits only accrue under one important assumption: that users can tell the difference between visited and unvisited links because the site shows them in different colors. When visited links don&#39;t change color, users exhibit more navigational disorientation in usability testing and unintentionally revisit the same pages repeatedly. <br/><br/>注：以下内容并不是翻译<br/>不改变访问过后的链接颜色，这个问题不想说了，目前的网易首页这一点做的相当好。<br/><br/>4. Non-Scannable Text<br/><br/>A wall of text is deadly for an interactive experience. Intimidating. Boring. Painful to read. <br/>Write for online, not print. To draw users into the text and support scannability, use well-documented tricks: <br/><br/>subheads <br/>bulleted lists <br/>highlighted keywords <br/>short paragraphs <br/>the inverted pyramid <br/>a simple writing style, and <br/>de-fluffed language devoid of marketese. <br/><br/>不能扫视的文本。这点尼尔森在书中多次提过，用户是在“扫”文字，而不是“阅读”文字，对措辞控制是一个基本功。<br/><br/>5. Fixed Font Size<br/><br/>CSS style sheets unfortunately give websites the power to disable a Web browser&#39;s &#34;change font size&#34; button and specify a fixed font size. About 95% of the time, this fixed size is tiny, reducing readability significantly for most people over the age of 40. <br/>Respect the user&#39;s preferences and let them resize text as needed. Also, specify font sizes in relative terms -- not as an absolute number of pixels. <br/><br/>固定字体大小。CSS可以控制字体的小大，我们大多在使用这一点使文字变为好看的宋体12px，但忽略了超过40岁用户的感受。同时也禁止掉了浏览器的“改变字体大小”的功能。我老爸一直问我，这个站文字太小了，在看到不能改变的时候，我只能告诉老爸使用Maxthon的放大页面功能。<br/> <br/>6. Page Titles With Low Search Engine Visibility<br/><br/>Search is the most important way users discover websites. Search is also one of the most important ways users find their way around individual websites. The humble page title is your main tool to attract new visitors from search listings and to help your existing users to locate the specific pages that they need. <br/>The page title is contained within the HTML &lt;title&gt; tag and is almost always used as the clickable headline for listings on search engine result pages (SERP). Search engines typically show the first 66 characters o&#114; so of the title, so it&#39;s truly microcontent. <br/><br/>Page titles are also used as the default entry in the Favorites when users bookmark a site. For your homepage, begin the with the company name, followed by a brief description of the site. Don&#39;t start with words like &#34;The&#34; o&#114; &#34;Welcome to&#34; unless you want to be alphabetized under &#34;T&#34; o&#114; &#34;W.&#34; <br/><br/>For other pages than the homepage, start the title with a few of the most salient information-carrying words that describe the specifics of what users will find on that page. Since the page title is used as the window title in the browser, it&#39;s also used as the label for that window in the taskbar under Windows, meaning that advanced users will move between multiple windows under the guidance of the first one o&#114; two words of each page title. If all your page titles start with the same words, you have severely reduced usability for your multi-windowing users. <br/><br/>Taglines on homepages are a related subject: they also need to be short and quickly communicate the purpose of the site. <br/><br/>低搜索引擎可视性的页面标题。这一句翻译的不好，讲的是SEO的相关问题，但我认为也是措辞的问题，简洁的能让用户一眼就明白即可。<br/><br/>7. Anything That Looks Like an Advertisement<br/><br/>Sel&#101;ctive attention is very powerful, and Web users have learned to stop paying attention to any ads that get in the way of their goal-driven navigation. (The main exception being text-only search-engine ads.) <br/>Unfortunately, users also ignore legitimate design elements that look like prevalent forms of advertising. After all, when you ignore something, you don&#39;t study it in detail to find out what it is. <br/><br/>Therefore, it is best to avoid any designs that look like advertisements. The exact implications of this guideline will vary with new forms of ads; currently follow these rules: <br/><br/>banner blindness means that users never fixate their eyes on anything that looks like a banner ad due to shape o&#114; position on the page <br/>animation avoidance makes users ignore areas with blinking o&#114; flashing text o&#114; other aggressive animations <br/>pop-up purges mean that users close pop-up windoids before they have even fully rendered; sometimes with great viciousness (a sort of getting-back-at-GeoCities triumph). <br/><br/>任何东西都看起来向广告。可用性和商业还是有冲突的，当我们抛开商业模式谈广告，这是一门学问。这里探讨的是如何把广告变的更好的问题，我听说yahoo的广告是按点击率来算业绩的，我想，未来国内也是这样，很可能会加上一点，用户体验更爽。但至少目前的广告不应该是两帧或三帧闪来闪去。<br/><br/>8. Violating Design Conventions<br/><br/>Consistency is one of the most powerful usability principles: when things always behave the same, users don&#39;t have to worry about what will happen. Instead, they know what will happen based on earlier experience. Every time you release an apple over Sir Isaac Newton, it will dro&#112; on his head. That&#39;s good. <br/>The more users&#39; expectations prove right, the more they will feel in control of the system and the more they will like it. And the more the system breaks users&#39; expectations, the more they will feel insecure. Oops, maybe if I let go of this apple, it will turn into a tomato and jump a mile into the sky. <br/><br/>Jakob&#39;s Law of the Web User Experience states that &#34;users spend most of their time on other websites.&#34; <br/><br/>This means that they form their expectations for your site based on what&#39;s commonly done on most other sites. If you deviate, your site will be harder to use and users will leave. <br/><br/>违反设计习惯。这里尼尔森谈的是继承的问题，我相信老大在深圳UPA会上的讲话，比如：QQ的消息声音是不能改变的。这就是一个习惯的问题，已经有先前的习惯了，违反这个习惯是要负出代价的，当然，如果你有足够的资金的化当我没说。前一段也有小案例，一个朋友把网站首页放到浏览器的右边了，我说这样的突破太大，很多用户会找不到的。这是一个设计习惯，也是一个用户习惯的问题。<br/><br/>9. Opening New Browser Windows<br/><br/>Opening up new browser windows is like a vacuum cleaner sales person who starts a visit by emptying an ash tray on the customer&#39;s carpet. Don&#39;t pollute my screen with any more windows, thanks (particularly since current operating systems have miserable window management). <br/>Designers open new browser windows on the theory that it keeps users on their site. But even disregarding the user-hostile message implied in taking over the user&#39;s machine, the strategy is self-defeating since it disables the Back button which is the normal way users return to previous sites. Users often don&#39;t notice that a new window has opened, especially if they are using a small monitor wh&#101;re the windows are maximized to fill up the screen. So a user who tries to return to the o&#114;igin will be confused by a grayed out Back button. <br/><br/>Links that don&#39;t behave as expected undermine users&#39; understanding of their own system. A link should be a simple hypertext reference that replaces the current page with new content. Users hate unwarranted pop-up windows. When they want the destination to appear in a new page, they can use their browser&#39;s &#34;open in new window&#34; command -- assuming, of course, that the link is not a piece of code that interferes with the browser抯 standard behavior. <br/><br/>打开新浏览器窗口。这个问题不想多说，各个业务是不同的，应该是有区分的，但在流程中不应该打开新窗口，这个是中断了用户的流程。<br/><br/>10. Not Answering Users&#39; Questions<br/><br/>Users are highly goal-driven on the Web. They visit sites because there&#39;s something they want to accomplish -- maybe even buy your product. The ultimate failure of a website is to fail to provide the information users are looking for. <br/>Sometimes the answer is simply not there and you lose the sale because users have to assume that your product o&#114; service doesn&#39;t meet their needs if you don&#39;t tell them the specifics. Other times the specifics are buried under a thick layer of marketese and bland slogans. Since users don&#39;t have time to read everything, such hidden info might almost as well not be there. <br/><br/>The worst example of not answering users&#39; questions is to avoid listing the price of products and services. No B2C ecommerce site would make this mistake, but it&#39;s rife in B2B, wh&#101;re most &#34;enterprise solutions&#34; are presented so that you can&#39;t tell whether they are suited for 100 people o&#114; 100,000 people. Price is the most specific piece of info customers use to understand the nature of an offering, and not providing it makes people feel lost and reduces their understanding of a product line. We have miles of videotape of users asking &#34;Wh&#101;re&#39;s the price?&#34; while tearing their hair out. <br/><br/>Even B2C sites often make the associated mistake of forgetting prices in product lists, such as category pages o&#114; search results. Knowing the price is key in both situations; it lets users differentiate among products and click through to the most relevant ones. <br/><br/>不回答用户的问题。最痛心的是这一点，有时候并不是可用性的问题，商业上不能做，不能告诉用户的观念占据了很大的程度。尼尔森在这里列举了购买产品的例子，在产品的页面中，用户往往不能完全了解产品，没有把握住用户的心理是最失败的部分。我常和同事说flickr在删除相册夹有一个很好的提示，对心理抓的很准，而更巧妙的是，这个提示在操作中完成。]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=50" /> 
	  <id>http://www.hibloger.com/default.asp?id=50</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[Asp 奇偶单元格背景色循环（表格单元色自动更换颜色）]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2006-11-21T21:13:54+08:00</updated>
	  <published>2006-11-21T21:13:54+08:00</published>
		  <summary type="html"><![CDATA[这其实是一个很简单的技巧，可我居然一直不会。主要是以前的程序中没有用到过这个。最近做程序中有用到，就试做了一下。发现确实简单。只要设定一个变量判断是奇数还是偶数来循环就行了。<br/>下面给出一个例子：<br/>首先分别定义奇数行和偶数行的式样（CSS样式部份）：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;style type=&#34;text/css&#34;&gt;<br/>.BgColorWhite {&nbsp;&nbsp;<br/>background-color: #FFFFFF; /*奇数行，我定义为白色背景*/<br/>}<br/>.BgColorGray {<br/>&#160;&#160;&#160;&#160;background-color: #EFEFEF; /*偶数行，我定义为灰色背景*/<br/>&#160;&#160;&#160;&#160;}<br/>&lt;/style&gt;<br/></div></div><br/>然后在程序中给定你的表格的单元格一个变量,如：&lt;%=CSSName%&gt;，把这个变量做为&lt;tr&gt;单元格的样式<br/>完整程序代码：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/> &lt;table width=&#34;90%&#34; height=&#34;20&#34; border=&#34;0&#34; align=&#34;center&#34; cellpadding=&#34;0&#34; cellspacing=&#34;0&#34; &gt;<br/>&lt;% <br/>Set rs=Server.Cr&#101;ateObject(&#34;ADODB.RecordSet&#34;) <br/>if owen1&lt;&gt;&#34;&#34; and owen2 &lt;&gt;&#34;&#34; then<br/>sql=&#34;sel&#101;ct * from news wh&#101;re BigClassName=&#39;&#34;&amp;owen1&amp;&#34;&#39; and SmallClassName=&#39;&#34;&amp;owen2&amp;&#34;&#39; o&#114;der by id desc&#34;<br/>rs.Open sql,conn,1,1<br/>elseif owen1&lt;&gt;&#34;&#34; then<br/>sql=&#34;sel&#101;ct * from news wh&#101;re BigClassName=&#39;&#34;&amp;owen1&amp;&#34;&#39; o&#114;der by id desc&#34;<br/>rs.Open sql,conn,1,1<br/>end if<br/>if rs.eof and rs.bof then<br/>&nbsp;&nbsp;response.Write(&#34;暂时没有记录&#34;)<br/>else <br/>%&gt;<br/><br/>&lt;% <br/>i=i+1&nbsp;&nbsp;<br/>&nbsp;&nbsp;if i mod 2 = 0 then&nbsp;&nbsp; &#39;如果能被2整除（为偶数行）<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CSSName=&#34;BgColorGray&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;else&nbsp;&nbsp; &#39;否则（为单数行）<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CSSName=&#34;BgColorWhite&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;end if&nbsp;&nbsp; <br/> %&gt;<br/><br/>&lt;!--把单元格的样式设为变量--&gt;<br/>&lt;tr class=&lt;%=CSSName%&gt;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#34;2%&#34; height=&#34;20&#34; align=&#34;center&#34;&gt;&lt;img src=&#34;Images/Ico/IcoArrow.gif&#34; width=&#34;12&#34; height=&#34;7&#34; align=&#34;absmiddle&#34; /&gt;&lt;/td&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#34;63%&#34; height=&#34;20&#34; align=&#34;left&#34;&gt;&lt;% if rs(&#34;imagenum&#34;)&lt;&gt;&#34;0&#34; then response.write &#34;&lt;img src=&#39;images/news.gif&#39; border=0 alt=&#39;图片新闻&#39;&gt;&#34; end if %&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&#34;shownews.asp?id=&lt;%= RS(&#34;id&#34;) %&gt;&#34; target=&#34;_blank&#34;&gt;&lt;%= RS(&#34;TITLE&#34;) %&gt;&lt;/a&gt;&lt;/td&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#34;35%&#34; align=&#34;right&#34;&gt;&lt;a href=&#34;shownews.asp?id=&lt;%= RS(&#34;id&#34;) %&gt;&#34; target=&#34;_blank&#34;&gt;&lt;/a&gt;　&lt;span class=&#34;DateAndTime&#34;&gt;[&lt;%= RS(&#34;infotime&#34;) %&gt;]&lt;/span&gt; &lt;/td&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;%<br/>rs.movenext ‘移动到下一条记录<br/>if rs.eof then exit for<br/>next<br/>%&gt;&#160;&#160;&#160;&#160;<br/>&lt;/table&gt;&#160;&#160;&#160;&#160;&nbsp;&nbsp;<br/>&nbsp;&nbsp;</div></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=39" /> 
	  <id>http://www.hibloger.com/default.asp?id=39</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[sql安装出错,安装程序配置服务器失败的终极解决方法]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2006-11-17T11:15:18+08:00</updated>
	  <published>2006-11-17T11:15:18+08:00</published>
		  <summary type="html"><![CDATA[如果你是一个MSSQL的用户，想必经常在安装时遇到各种各样的鸟问题吧。<br/>比如有操作被挂起喽等，那个到简单，打开注册表（开始－运行-Regedit.exe)在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager中找到 PendingFileRenameOperations项目，删除它。这样就可以清除安装暂挂项目了。<br/><br/>我遇到最烦的问题是“sql安装出错,安装程序配置服务器失败”，看了网上各位大大的帖子都是什么删多少条注册表，格式化喽。运行修复程序喽。但最绝的是有时还不一定有用。<br/><br/>小弟经过多方查找，终于找到一个终极武器，不敢私藏，现在共享出来。<br/>是一个注册表程序。你只要解压后运行就可以了。它能修复SQL在安装时发生的各种情况。（包括登陆错误）<br/>你在运行这个文件前，先把你的MSSQL给卸载了， 并移除安装目录。重起后，运行这个文件就可以了。<br/><br/>有慎重者可先备份你的注册表。但我用过多次，没有什么副作用<br/>Enjoy！<br/><img src="http://www.hibloger.com/images/download.gif" alt="下载文件" style="margin:0px 2px -4px 0px"/> <a href="http://www.hibloger.com/attachments/month_0611/420061117111428.rar" target="_blank">点击下载此文件</a><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=37" /> 
	  <id>http://www.hibloger.com/default.asp?id=37</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[让Flash控件在IE环境下自动激活无需调整IE设置]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2006-11-14T16:26:10+08:00</updated>
	  <published>2006-11-14T16:26:10+08:00</published>
		  <summary type="html"><![CDATA[Flash的生存环境是越来越恶劣了。不少浏览器都自动屏蔽了Flash，让Flash制作和开发者越来越头疼。我现在甚至不敢用Flash做任何有指向意义的东西了，如菜单。<br/><br/>更为绝的是IE也开始要提示“单击自动激活Flash控件了”，这个提示让人很烦。我的很多客户，包括我自己都厌烦这个设置。<br/><br/>有方法是教你设置IE浏览器的属性，有的是打补丁。可这些都是客户端的行为，你无法强迫别人怎么做的。<br/><br/>去了Adobe的官方站点看了一下，提供了一种解决方法。我试了一下，嘿，还蛮不错的。在这里提供一下。<br/><br/>1.首先下载这个JS文件<br/><img src="http://www.hibloger.com/images/download.gif" alt="下载文件" style="margin:0px 2px -4px 0px"/> <a href="http://www.hibloger.com/attachments/month_0611/420061114161626.rar" target="_blank">点击下载此文件</a><br/>并且把他放在你网页的根目录，当然你也可以建设一个JS目录存放它，只要引用地址正确就行了。<br/><br/>2. 然后在你的网页代码里的&lt;head&gt;和&lt;/head&gt;之间加上<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">&lt;script type=&#34;text/javascript&#34; src=&#34;ac_runactivecontent.js&#34;&gt;&lt;/script&gt;</div></div><br/>这个用来引用这代JS代码<br/><br/>3.在要插入Flash的地方这样写：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">&lt;script type=&#34;text/javascript&#34;&gt;<br/>// &lt;![CDATA[<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;AC_FL_RunContent( &#39;codebase&#39;,&#39;<a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" target="_blank">http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab</a>#version=6,0,29,0&#39;,&#39;width&#39;,&#39;748&#39;,&#39;height&#39;,&#39;438&#39;, &#39;src&#39;,&#39;Swf/Intro&#39;,&#39;quality&#39;,&#39;high&#39;,&#39;bgcolor&#39;,&#39;#F6F6F6&#39;,&#39;pluginspage&#39;,&#39;<a href="http://www.macromedia.com/go/getflashplayer_loc" target="_blank">http://www.macromedia.com/go/getflashplayer_loc</a>&#39;,&#39;movie&#39;,&#39;Swf/Intro&#39; );<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// ]]&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/script&gt;</div></div><br/>这里你需要记住这几点，每一个参数后面跟的是变量，下面给出说明<br/><strong>Width（宽）&nbsp;&nbsp;height（高）&nbsp;&nbsp;src（路径）（此处无需输入Swf的后缀） quality（质量）&nbsp;&nbsp;bgcolor（背景颜色）。</strong><span style="color:#ff6600">请注意SWF的路径要填两次。上面代码中最后的地方也要填。</span>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=36" /> 
	  <id>http://www.hibloger.com/default.asp?id=36</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[&#34;我的电脑&#34;打开慢的解决方法]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2006-09-30T09:41:32+08:00</updated>
	  <published>2006-09-30T09:41:32+08:00</published>
		  <summary type="html"><![CDATA[<p>家里的机器不知道是中什么招了，在桌面上双击&ldquo;我的电脑&rdquo;，打开要两分钟。而且马上就报虚拟内存不足。<br />用小狮子杀了一下也没找到什么。<br /><br />然后我又想会不会是硬盘上有一些错误文件，于是扫描了硬盘，修复了一些错误。可以再次开机后，双击我的电脑，It dosen't work！<br /><br />于在Baidu上查了一下，好像也没什么好方法，有人说是被捆了木马，有人说是要删掉注册表里的几个值，可以打开看了，那些值是与备份与及检索相关的，怕是删不得。<br /><br />下了个：Ewido v3.5<br /><a href="http://www.jz5u.com/Codelist/Catalog166/2901.html" target="_blank">http://www.jz5u.com/Codelist/Catalog166/2901.html</a> <br />扫描后，提示有十三个注册表文件被感染，修复后，又下一个超级兔子。一阵狂清理，终于搞定了。呵呵。<br />看后就是注册表被感染了。<br /></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=30" /> 
	  <id>http://www.hibloger.com/default.asp?id=30</id> 
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[动网7.1 Sp1 滚动公告及滚动条数的实现方法]]></title>
	  <author>
		 <name>vinci</name>
		 <uri>http://www.hibloger.com/</uri>
		 <email>vincimail@gmail.com</email>
	  </author>
	  <category term="" scheme="http://www.hibloger.com/default.asp?cateID=6" label="技术文章" /> 
	  <updated>2006-09-29T13:52:24+08:00</updated>
	  <published>2006-09-29T13:52:24+08:00</published>
		  <summary type="html"><![CDATA[今天将我哥他的论坛升了一下级，从7.0升到了7.1SP1，发现滚动公告没有了，于是研究了一下，发现新版动网已经是用XTML来调用了。找了一下模板页，果然。下面提供修改的方法：<br/><br/>进入后台——风格模板总管理 → 分页面模板(page_index) → template.html(3)<br/>找到<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">&lt;xsl:variable name=&#34;marquee&#34; sel&#101;ct=&#34;<span style="color:#ff6600">0</span>&#34;/&gt;&lt;!--设置为1则移动公告--&gt;</div></div><br/><strong><span style="color:#ff9900">此处默认是0，改为1就行了。</span></strong><br/><br/>我看了一下，还可以加图片在公告前。方法是：<br/>进入后台——风格模板总管理 → 分页面模板(page_index) → template.html(3)<br/>找到<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"> <span style="color:#ff6600">公告</span>：&lt;xsl:for-each sel&#101;ct=&#34;xml/news[@boardid=$boardid][position() &lt; ($maxposition+1)]&#34;&gt; &lt;a href=&#34;javascript:openScript(\&#39;announcements.asp?boardid={$boardid}\&#39;,500,400)&#34;&gt;&lt;b&gt;&lt;xsl:value-of sel&#101;ct=&#34;@title&#34; disable-output-escaping=&#34;yes&#34;/&gt;&lt;/b&gt;&lt;/a&gt;(&lt;xsl:value-of sel&#101;ct=&#34;translate(@addtime,\&#39;T\&#39;,\&#39; \&#39;)&#34; /&gt;) &lt;/xsl:for-each&gt;</div></div><br/>在“<strong><span style="color:#ff9900">公告</span></strong>”两字前直接加图片地址就行了，如:<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hibloger.com/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><span style="color:#ff6600">&lt;img src=&#34;images/Notice.gif&#34;/&gt;</span>公告：&lt;xsl:for-each sel&#101;ct=&#34;xml/news[@boardid=$boardid][position() &lt; ($maxposition+1)]&#34;&gt; &lt;a href=&#34;javascript:openScript(\&#39;announcements.asp?boardid={$boardid}\&#39;,500,400)&#34;&gt;&lt;b&gt;&lt;xsl:value-of sel&#101;ct=&#34;@title&#34; disable-output-escaping=&#34;yes&#34;/&gt;&lt;/b&gt;&lt;/a&gt;(&lt;xsl:value-of sel&#101;ct=&#34;translate(@addtime,\&#39;T\&#39;,\&#39; \&#39;)&#34; /&gt;) &lt;/xsl:for-each&gt;</div></div><br/><br/>Enjoy!]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hibloger.com/default.asp?id=29" /> 
	  <id>http://www.hibloger.com/default.asp?id=29</id> 
  </entry>	
		
</feed>