<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[聊设计|MyStudio Blog - WebBuild]]></title>
<link>https://blog.imwebs.com/</link>
<description><![CDATA[网站设计建设-平面设计-编程学习]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[webmaster@imwebs.com(Jiexu)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>聊设计|MyStudio Blog</title>
	<url>https://blog.imwebs.com/images/logos.gif</url>
	<link>https://blog.imwebs.com/</link>
	<description>聊设计|MyStudio Blog</description>
</image>

			<item>
			<link>https://blog.imwebs.com/article.asp?id=658</link>
			<title><![CDATA[网页常用 meta]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Wed,25 Oct 2023 10:55:38 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=658</guid>
		<description><![CDATA[<div class="UBBPanel"><div class="UBBTitle"><img src="https://blog.imwebs.com/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp21802"><meta content=&#34;width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0&#34; name=&#34;viewport&#34;/>
<meta name=&#34;format-detection&#34; content=&#34;telephone=no, email=no&#34;/>
<meta name=&#34;apple-mobile-web-app-capable&#34; content=&#34;yes&#34;>
<meta name=&#34;mobile-web-app-capable&#34; content=&#34;yes&#34;>
<meta name=&#34;x5-fullscreen&#34; content=&#34;true&#34;>
<meta name=&#34;full-screen&#34; content=&#34;yes&#34;>
<meta name=&#34;x5-page-mode&#34; content=&#34;app&#34;>
<meta name=&#34;browsermode&#34; content=&#34;application&#34;>
<meta name=&#34;theme-color&#34; content=&#34;#F47932&#34;>
<meta name=&#34;msapplication-tap-highlight&#34; content=&#34;no&#34;>
<meta name=&#34;msapplication-TileColor&#34; content=&#34;#F47932&#34;>
<meta name=&#34;application-name&#34; content=&#34;Page Title&#34;>
<meta name=&#34;apple-mobile-web-app-title&#34; content=&#34;Page Title&#34;>
<meta name=&#34;msapplication-TileImage&#34; content=&#34;/luci-static/atmaterial_Brown/logo.png&#34;/>
<link rel=&#34;icon&#34; href=&#34;/luci-static/atmaterial_Brown/logo.png&#34; sizes=&#34;144x144&#34;>
<link rel=&#34;apple-touch-icon-precomposed&#34; href=&#34;/luci-static/atmaterial_Brown/logo.png&#34; sizes=&#34;144x144&#34;></TEXTAREA><br/><INPUT onclick="runEx('temp21802')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp21802')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp21802')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=648</link>
			<title><![CDATA[[AD]腾讯云数据库回档解决方案]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Sat,20 Feb 2021 10:58:11 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=648</guid>
		<description><![CDATA[作为一名DBA,日常工作中免不了需要做一些救火的事情，如DB使用人员up&#100;ate、del&#101;te手误没有写wh&#101;re条件……，此时的你若是一名云数据库DBA且使用的是腾讯云数据库，该怎么有效处理，再把剩余时间浪费在美好的事情上呢 【<a target="_blank" href="https://cloud.tencent.com/act/cps/redirect?redirect=10&amp;cps_key=e58f2e03dcd94287b56261a736a3964a&amp;from=console" rel="external">查看全文</a>】]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=647</link>
			<title><![CDATA[[AD]5分钟学会如何玩转云数据库组件(迁移，审计，订阅）]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Sat,20 Feb 2021 10:54:25 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=647</guid>
		<description><![CDATA[不小心删除公司数据，会怎么样...不管是传统数据库或者是云数据库，总会遇到一些问题，比如数据迁移，比如数据风险安全，比如数据订阅！今天分享的文章，看腾讯云怎么通过技术手段来确保数据库安全稳定、快捷迁移，推动数据商业分析。【<a target="_blank" href="https://cloud.tencent.com/act/cps/redirect?redirect=9&amp;cps_key=e58f2e03dcd94287b56261a736a3964a&amp;from=console" rel="external">查看全文</a>】]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=617</link>
			<title><![CDATA[ASP.NET + SQLite 部署过程中关于权限的几个要点]]></title>
			<author>webmaster@imwebs.com(Admin)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Sun,19 Jun 2016 09:31:47 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=617</guid>
		<description><![CDATA[ASP.NET + SQLite 部署过程中关于权限的几个要点。第一次用 C# 的小网站上传到服务器，理所当然的碰到很多问题！<br/><br/>首先发布得到的 Web.config 的 &lt;configuration&gt; 节内要加上 <br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code13516);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code13516>&nbsp;&nbsp;&nbsp;&nbsp;&lt;system.web&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;customErrors mode=&#34;Off&#34;/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/system.web&gt;</div></div><br/>而且不能紧靠着 &lt;configuration&gt;，因为 &lt;configuration&gt; 得和 &lt;configSections&gt; 紧紧依靠，WHY？<br/><br/>新建一个网站，如果程序在子目录应该转为应用程序并给他指定适合的 .NET Framework 版本，然而这样可能仍然无法运行 .NET 网站程序。如果空间是 VPS 或所谓某某云，那还得看下对于系统 C 盘 Users 用户组是不是有读取权限，.NET 需要，居然。<br/><br/>网上很多声称配置 ASPNET 用户权限可能解决的问题我一个也没碰到。倒是连连看到 SQLite 抛出 attempt to write a readonly database，unable to open database file 这些错误，能读，不能写数据？！没有权限操作数据库？没错！但这里不是 Users 组或理所当然应该有的访问权限的 IIS_机器名、Guests 或其它，而是 NETWORK SERVICE，它需要有修改权。<br/><br/><br/>]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=615</link>
			<title><![CDATA[一个显示农历日期的 Javascri&#112;t 脚本]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Mon,31 Mar 2014 21:33:00 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=615</guid>
		<description><![CDATA[<strong>显示效果：</strong><br/><div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="https://blog.imwebs.com/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">2014年3月31日 星期一 农历三月初一</div></div><br/><br/><strong>脚本 ConvDateTime.js：</strong><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code93121);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code93121>// Javascri&#112;t Document<br/>function CalConv()<br/>{<br/>FIRSTYEAR = 1998;<br/>LASTYEAR = 2031;<br/><br/>today = new Date();<br/>SolarYear = today.getFullYear();<br/>SolarMonth = today.getMonth() + 1;<br/>SolarDate = today.getDate();<br/>Weekday = today.getDay();<br/>LunarCal = [<br/>new tagLunarCal( 27,&nbsp;&nbsp;5, 3, 43, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1 ),<br/>new tagLunarCal( 46,&nbsp;&nbsp;0, 4, 48, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1 ), /* 88 */<br/>new tagLunarCal( 35,&nbsp;&nbsp;0, 5, 53, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1 ), /* 89 */<br/>new tagLunarCal( 23,&nbsp;&nbsp;4, 0, 59, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 ),<br/>new tagLunarCal( 42,&nbsp;&nbsp;0, 1,&nbsp;&nbsp;4, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 ),<br/>new tagLunarCal( 31,&nbsp;&nbsp;0, 2,&nbsp;&nbsp;9, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0 ),<br/>new tagLunarCal( 21,&nbsp;&nbsp;2, 3, 14, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1 ), /* 93 */<br/>new tagLunarCal( 39,&nbsp;&nbsp;0, 5, 20, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 ),<br/>new tagLunarCal( 28,&nbsp;&nbsp;7, 6, 25, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1 ),<br/>new tagLunarCal( 48,&nbsp;&nbsp;0, 0, 30, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1 ),<br/>new tagLunarCal( 37,&nbsp;&nbsp;0, 1, 35, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1 ), /* 97 */<br/>new tagLunarCal( 25,&nbsp;&nbsp;5, 3, 41, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 ),<br/>new tagLunarCal( 44,&nbsp;&nbsp;0, 4, 46, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 ),<br/>new tagLunarCal( 33,&nbsp;&nbsp;0, 5, 51, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 ),<br/>new tagLunarCal( 22,&nbsp;&nbsp;4, 6, 56, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 ), /* 101 */<br/>new tagLunarCal( 40,&nbsp;&nbsp;0, 1,&nbsp;&nbsp;2, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 ),<br/>new tagLunarCal( 30,&nbsp;&nbsp;9, 2,&nbsp;&nbsp;7, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1 ),<br/>new tagLunarCal( 49,&nbsp;&nbsp;0, 3, 12, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1 ),<br/>new tagLunarCal( 38,&nbsp;&nbsp;0, 4, 17, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0 ), /* 105 */<br/>new tagLunarCal( 27,&nbsp;&nbsp;6, 6, 23, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1 ),<br/>new tagLunarCal( 46,&nbsp;&nbsp;0, 0, 28, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0 ),<br/>new tagLunarCal( 35,&nbsp;&nbsp;0, 1, 33, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0 ),<br/>new tagLunarCal( 24,&nbsp;&nbsp;4, 2, 38, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 ), /* 109 */<br/>new tagLunarCal( 42,&nbsp;&nbsp;0, 4, 44, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ),<br/>new tagLunarCal( 31,&nbsp;&nbsp;0, 5, 49, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0 ),<br/>new tagLunarCal( 21,&nbsp;&nbsp;2, 6, 54, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1 ),<br/>new tagLunarCal( 40,&nbsp;&nbsp;0, 0, 59, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1 ), /* 113 */<br/>new tagLunarCal( 28,&nbsp;&nbsp;6, 2,&nbsp;&nbsp;5, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0 ),<br/>new tagLunarCal( 47,&nbsp;&nbsp;0, 3, 10, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1 ),<br/>new tagLunarCal( 36,&nbsp;&nbsp;0, 4, 15, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1 ),<br/>new tagLunarCal( 25,&nbsp;&nbsp;5, 5, 20, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0 ), /* 117 */<br/>new tagLunarCal( 43,&nbsp;&nbsp;0, 0, 26, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1 ),<br/>new tagLunarCal( 32,&nbsp;&nbsp;0, 1, 31, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0 ),<br/>new tagLunarCal( 22,&nbsp;&nbsp;3, 2, 36, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0 ) ];<br/>/* 农歴年每月之日數 */<br/>SolarCal = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];<br/><br/>/* 农歴年每月之累積日數, 平年與閏年 */<br/>SolarDays = [&nbsp;&nbsp;0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365, 396,&nbsp;&nbsp;0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366, 397 ];<br/>AnimalIdx = [&#34;马&#34;, &#34;羊&#34;, &#34;猴&#34;, &#34;鸡&#34;, &#34;狗&#34;, &#34;猪&#34;, &#34;鼠&#34;, &#34;牛&#34;, &#34;虎&#34;, &#34;兔&#34;, &#34;龙&#34;, &#34;蛇&#34; ];<br/>LocationIdx = [ &#34;南&#34;, &#34;东&#34;, &#34;北&#34;, &#34;西&#34; ];<br/>if ( SolarYear &lt;= FIRSTYEAR || SolarYear &gt; LASTYEAR ) return 1;<br/>sm = SolarMonth - 1;<br/>if ( sm &lt; 0 || sm &gt; 11 ) return 2;<br/>leap = GetLeap( SolarYear );<br/>if ( sm == 1 )<br/>d = leap + 28;<br/>else<br/>d = SolarCal[sm];<br/>if ( SolarDate &lt; 1 || SolarDate &gt; d ) return 3;<br/>y = SolarYear - FIRSTYEAR;<br/>acc = SolarDays[ leap*14 + sm ] + SolarDate;<br/>kc = acc + LunarCal[y].BaseKanChih;<br/>Kan = kc % 10;<br/>Chih = kc % 12;<br/>Location = LocationIdx[kc % 4];<br/>Age = kc % 60;<br/>if ( Age &lt; 22 )<br/>Age = 22 - Age;<br/>else<br/>Age = 82 - Age;<br/>Animal = AnimalIdx[ Chih ];<br/>if ( acc &lt;= LunarCal[y].BaseDays ) {<br/>y--;<br/>LunarYear = SolarYear - 1;<br/>leap = GetLeap( LunarYear );<br/>sm += 12;<br/>acc = SolarDays[leap*14 + sm] + SolarDate;<br/>}<br/>else<br/>LunarYear = SolarYear;<br/>l1 = LunarCal[y].BaseDays;<br/>for ( i=0; i&lt;13; i++ ) {<br/>l2 = l1 + LunarCal[y].MonthDays[i] + 29;<br/>if ( acc &lt;= l2 ) break;<br/>l1 = l2;<br/>}<br/><br/>LunarMonth = i + 1;<br/>LunarDate = acc - l1;<br/>im = LunarCal[y].Intercalation;<br/>if ( im != 0 &amp;&amp; LunarMonth &gt; im ) {<br/>LunarMonth--;<br/>if ( LunarMonth == im ) LunarMonth = -im;<br/>}<br/><br/>if ( LunarMonth &gt; 12 ) LunarMonth -= 12;<br/>today=new Date();<br/><br/>function initArray(){<br/>this.length=initArray.arguments.length<br/>for(var i=0;i&lt;this.length;i++)<br/>this[i+1]=initArray.arguments[i]&nbsp;&nbsp;}<br/>var d=new initArray(&#34;星期日&#34;,&#34;星期一&#34;,&#34;星期二&#34;,&#34;星期三&#34;,&#34;星期四&#34;,&#34;星期五&#34;,&#34;星期六&#34;);<br/><br/>var mm=LunarMonth;<br/>var dd=LunarDate;<br/>if (mm==1)<br/>mm=&#34;正&#34;<br/>else<br/>mm=NumerToChinese(mm);&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br/>if (dd&lt;11)<br/>dd=&#34;初&#34;+NumerToChinese(dd);<br/>else<br/>{<br/>if (dd&lt;20)<br/>dd=&#34;十&#34;+NumerToChinese(dd-10);<br/>else<br/>{<br/>if (dd&lt;30)<br/>&#160;&#160;&#160;&#160;dd=&#34;二十&#34;+NumerToChinese(dd-20);<br/>else<br/>&#160;&#160;&#160;&#160;dd=&#34;三十&#34;+NumerToChinese(dd-30);<br/>}<br/>}<br/>document.write(&#34;&lt;span&gt;&#34;, today.getFullYear(),&#34;年&#34;,today.getMonth()+1,&#34;月&#34;,today.getDate(),&#34;日 &#34;,d[today.getDay()+1],&#34; 农历&#34;+mm+&#34;月&#34;+dd,&#34;&lt;/span&gt;&#34;);<br/>return 0;<br/>}<br/><br/>/*数字转汉字*/<br/>function NumerToChinese(num)<br/>{<br/>var ret=&#34;&#34;;<br/>if (num==0) ret=&#34;&#34;;<br/>if (num==1) ret=&#34;一&#34;;<br/>if (num==2) ret=&#34;二&#34;;<br/>if (num==3) ret=&#34;三&#34;;<br/>if (num==4) ret=&#34;四&#34;;<br/>if (num==5) ret=&#34;五&#34;;<br/>if (num==6) ret=&#34;六&#34;;<br/>if (num==7) ret=&#34;七&#34;;<br/>if (num==8) ret=&#34;八&#34;;<br/>if (num==9) ret=&#34;九&#34;;<br/>if (num==10) ret=&#34;十&#34;;<br/>if (num==11) ret=&#34;十一&#34;;<br/>if (num==12) ret=&#34;腊&#34;;<br/>return ret;<br/>}<br/><br/>/* 求此农歴年是否為閏年, 返回 0 為平年, 1 為閏年 */<br/>function GetLeap( year )<br/>{<br/>if ( year % 400 == 0 )<br/>return 1;<br/>else if ( year % 100 == 0 )<br/>return 0;<br/>else if ( year % 4 == 0 )<br/>return 1;<br/>else<br/>return 0;<br/>}<br/><br/>function tagLunarCal( d, i, w, k, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13) {<br/>this.BaseDays = d;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* 到农歴 1 月 1 日到農曆正月初一的累積日數 */<br/>this.Intercalation = i;&nbsp;&nbsp;&nbsp;&nbsp;/* 閏月月份. 0==此年沒有閏月 */<br/>this.BaseWeekday = w;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* 此年农歴 1 月 1 日為星期幾再減 1 */<br/>this.BaseKanChih = k;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* 此年农歴 1 月 1 日之干支序號減 1 */<br/>this.MonthDays = [ m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13 ]; /* 此農曆年每月之大小, 0==小月(29日), 1==大月(30日) */<br/>}</div></div><br/><br/><strong>调用 ConvDatgeTime.html：</strong><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code32642);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code32642>&lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;&gt;<br/>&lt;html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;&gt;<br/>&lt;head&gt;<br/>&lt;meta http-equiv=&#34;x-ua-compatible&#34; content=&#34;ie=8&#34; /&gt;<br/>&lt;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gbk&#34; /&gt;<br/>&lt;script type=&#34;text/javascri&#112;t&#34; src=&#34;ConvDateTime.js&#34;&gt;&lt;/script&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>&lt;script&gt;<br/>CalConv();<br/>&lt;/script&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;</div></div>]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=613</link>
			<title><![CDATA[jQuery 实现不间隙滚动效果]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Thu,27 Feb 2014 11:22:14 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=613</guid>
		<description><![CDATA[<div class="UBBPanel quotePanel"><div class="UBBTitle"><img src="https://blog.imwebs.com/images/quote.gif" style="margin:0px 2px -3px 0px" alt="引用内容"/> 引用内容</div><div class="UBBContent">/*<br/> * @作者 华子yjh <a href="http://www.cnblogs.com/yangjunhua/" target="_blank" rel="external">http://www.cnblogs.com/yangjunhua/</a><br/> * @source 博客园<br/> * @module jQuery roll<br/> * @param: contentCls 内容容器className<br/> * @param: contentParentId 内容容器父元素节点ID<br/> * @param: configs 配置参数<br/> * <br/> * @config: effect 滚动效果<br/> * @config: duration 滚动1个像素的运行时间(毫秒数)<br/> * @config: delay 开始滚动的延迟时间(毫秒数)<br/> *<br/> */<br/><br/>jQuery.roll(contentCls, contentParentId, configs); </div></div><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="https://blog.imwebs.com/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp63640">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34;>
<meta name=&#34;description&#34; content=&#34;jQuery实现无间隙滚动效果&#34;>
<title>jQuery demo</title>
<style>
body { font: 12px/1.5 tahoma,&#34;microsoft yahei&#34;,&#34;微软雅黑E\8F6F\96C5\9ED1&#34;; }
body, div, ul, li, h1 { margin: 0; padding: 0; }
.news { margin: 100px 0 0 100px; }
.news ul { list-style: none; }
.news-box { width: 600px; margin-left: 20px; height: 24px; background-color: #fcfcfd; overflow: hidden; position: relative; _zoom: 1; }
.news h1 {  margin-bottom: 15px; padding-left: 20px; color: #370188; }
.news-list { position: absolute; }
.news-list { float: left; }
.news-list li { float: left; _display: inline; margin-right: 15px; height: 24px; line-height: 24px; overflow: hidden; word-wrap: normal; }
.news-list li a { text-decoration: none; color: #000; }
.news-list li a:hover {
    -webkit-transition: color .2s linear,background-color .3s linear;
    -moz-transition: color .2s linear,background-color .3s linear;
    -ms-transition: color .2s linear,background-color .3s linear;
    -o-transition: color .2s linear,background-color .3s linear;
    transition: color .2s linear,background-color .3s linear;
    color: #FF4400;
    text-decoration: underline;
}
.news-list li a:visited { color: #290065; }
</style>
<script src=&#34;<a href="http://code.jquery.com/jquery-latest.js" target="_blank" rel="external">http://code.jquery.com/jquery-latest.js</a>&#34;></script>
</head>
<body>
<div id=&#34;J_news&#34; class=&#34;news&#34;>
    <h1>文字列表滚动</h1>
    <div id=&#34;J_Roll_Container&#34; class=&#34;news-box&#34;>
        <ul class=&#34;J_Roll_Content news-list&#34;>
            <li><a href=&#34;<a href="http://news.sina.com.cn/c/2013-01-10/121926003955.shtml" target="_blank" rel="external">http://news.sina.com.cn/c/2013-01-10/121926003955.shtml</a>&#34; target=&#34;_blank&#34;>日方否认将对中国巡航钓鱼岛飞机</a></li>
            <li><a href=&#34;<a href="http://news.hf365.com/system/2013/01/10/012875943.shtml" target="_blank" rel="external">http://news.hf365.com/system/2013/01/10/012875943.shtml</a>&#34; target=&#34;_blank&#34;>日本防卫省否认将对中国飞机警告射击(图)</a></li>
            <li><a href=&#34;<a href="http://news.21cn.com/world/guojisaomiao/2013/01/10/14338977.shtml" target="_blank" rel="external">http://news.21cn.com/world/guojisaomiao/2013/01/10/14338977.shtml</a>&#34; target=&#34;_blank&#34;>日否认警告射击中海监飞机 恐中日因夺岛开战</a></li>
        </ul>    
    </div>
</div>
<script>
jQuery.extend({
    roll: function(contentCls, contentParentId, configs){

        var setTimeID, totalWidth = 0, totalHeight = 0,
            firstContent, secondContent, contents;

        (function(){
            var singleContent, cloneContent, nodeList;

            singleContent = $(contentCls, contentParentId);
            nodeList = singleContent.children();

            if (configs.effect === 'scrollX') {
                $.each(nodeList, function(idx, itm) {
                    totalWidth += $(itm).outerWidth(true);
                });
                singleContent.css({ 'width': totalWidth + 'px' });
            }
            else if (configs.effect === 'scrollY') {
                $.each(nodeList, function(idx, itm) {
                    totalHeight += $(itm).outerHeight(true);
                });
                singleContent.css({ 'height': totalHeight + 'px' });
            }

            cloneContent = singleContent.clone();
            cloneContent.appendTo(contentParentId);

            contents = $(contentCls, contentParentId);
            firstContent = contents[0];
            secondContent = contents[1];
            
            if (configs.effect === 'scrollX') {
                $(firstContent).css({ 'left': 0 });
                $(secondContent).css({ 'left': totalWidth + 'px' });
            }
            else if (configs.effect === 'scrollY') {
                $(firstContent).css({ 'top': 0 });
                $(secondContent).css({ 'top': totalHeight + 'px' });
            }

        })()
        
        function cssAnimate(){
            if (configs.effect === 'scrollX') {
                $(firstContent).css({ left: parseInt(firstContent.style.left, 10) - 1 + 'px' });
                $(secondContent).css({ left: parseInt(secondContent.style.left, 10) - 1 + 'px' });
            
                $.each(contents, function(idx, itm) {
                    if (parseInt(itm.style.left,10) === -totalWidth) {
                        $(itm).css({ left: totalWidth + 'px' });
                    }
                });
            }
            else if (configs.effect === 'scrollY') {
                $(firstContent).css({ top: parseInt(firstContent.style.top, 10) - 1 + 'px' });
                $(secondContent).css({ top: parseInt(secondContent.style.top, 10) - 1 + 'px' });
            
                $.each(contents, function(idx, itm) {
                    if (parseInt(itm.style.top,10) === -totalHeight) {
                        $(itm).css({ top: totalHeight + 'px' });
                    }
                });
            }

            setTimeId = setTimeout(cssAnimate, configs.duration);
        }
        
        function rollRun(){
            setTimeId = setTimeout(cssAnimate, configs.delay);
            return jQuery;
        }
        
        function rollStop(){
            clearTimeout(setTimeId);
            return jQuery;
        }

        return $.extend({
            rollRun: rollRun,
            rollStop: rollStop
        });
    }    
});
</script>
<script>
$(function(){
    var roll_jQuery, contents;

    roll_jQuery = $.roll('.J_Roll_Content', '#J_Roll_Container', { effect: 'scrollX', duration: 40, delay: 500 }).rollRun();
    contents = $('.J_Roll_Content');

    contents.bind('mouseenter', function(){
        roll_jQuery.rollStop();
    });
    contents.bind('mouseleave', function(){
        roll_jQuery.rollRun();
    });
});
</script>
</body>
</html></TEXTAREA><br/><INPUT onclick="runEx('temp63640')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp63640')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp63640')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="https://blog.imwebs.com/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp45886">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34;>
<meta name=&#34;description&#34; content=&#34;jQuery实现无间隙滚动效果&#34;>
<title>jQuery demo</title>
<style>
body { font: 12px/1.5 tahoma, &#34;microsoft yahei&#34;, &#34;微软雅黑E\8F6F\96C5\9ED1&#34;; }
body, div, ul, li, h1 { margin: 0; padding: 0; }
.news { margin: 100px 0 0 100px; }
.news ul { list-style: none; }
.news-box { padding: 20px; width: 310px; height: 192px; background-color: #fcfcfd; overflow: hidden; position: relative; }
.news h1 { margin-bottom: 15px; padding-left: 20px; color: #370188; }
.news-list { position: absolute; }
.news-list li { width: 100%; height: 24px; line-height: 24px; overflow: hidden; word-wrap: normal; }
.news-list li a { text-decoration: none; color: #000; }
.news-list li a:hover {
    -webkit-transition: color .2s linear, background-color .3s linear;
    -moz-transition: color .2s linear, background-color .3s linear;
    -ms-transition: color .2s linear, background-color .3s linear;
    -o-transition: color .2s linear, background-color .3s linear;
    transition: color .2s linear, background-color .3s linear;
    color: #FF4400;
    text-decoration: underline;
}
.news-list li a:visited { color: #290065; }
</style>
<script src=&#34;<a href="http://code.jquery.com/jquery-latest.js" target="_blank" rel="external">http://code.jquery.com/jquery-latest.js</a>&#34;></script>
</head>
<body>
<div id=&#34;J_news&#34; class=&#34;news&#34;>
  <h1>文字列表滚动</h1>
  <div id=&#34;J_Roll_Container&#34; class=&#34;news-box&#34;>
    <ul class=&#34;J_Roll_Content news-list&#34;>
      <li><a href=&#34;<a href="http://news.ifeng.com/world/detail_2013_01/11/21098447_0.shtml" target="_blank" rel="external">http://news.ifeng.com/world/detail_2013_01/11/21098447_0.shtml</a>&#34; target=&#34;_blank&#34;>在澳中国留学生涉嫌接送非法色情业者赚外快被罚在澳中国留学生涉嫌接送非法色情业者赚外快被罚在澳中国留学生涉嫌接送非法色情业者赚外快被罚</a></li>
      <li><a href=&#34;<a href="http://news.qq.com/a/20130111/000993.htm" target="_blank" rel="external">http://news.qq.com/a/20130111/000993.htm</a>&#34; target=&#34;_blank&#34;>印度北部等今冬遭遇极寒天气 已致数百人被冻死</a></li>
      <li><a href=&#34;<a href="http://news.qq.com/a/20130111/001251.htm" target="_blank" rel="external">http://news.qq.com/a/20130111/001251.htm</a>&#34; target=&#34;_blank&#34;>意大利警方禁止挂中国红灯笼 被指危险引燃物</a></li>
      <li><a href=&#34;<a href="http://news.sina.com.cn/c/2013-01-10/121926003955.shtml" target="_blank" rel="external">http://news.sina.com.cn/c/2013-01-10/121926003955.shtml</a>&#34; target=&#34;_blank&#34;>日方否认将对中国巡航钓鱼岛飞机</a></li>
      <li><a href=&#34;<a href="http://news.hf365.com/system/2013/01/10/012875943.shtml" target="_blank" rel="external">http://news.hf365.com/system/2013/01/10/012875943.shtml</a>&#34; target=&#34;_blank&#34;>日本防卫省否认将对中国飞机警告射击(图)</a></li>
      <li><a href=&#34;<a href="http://news.21cn.com/world/guojisaomiao/2013/01/10/14338977.shtml" target="_blank" rel="external">http://news.21cn.com/world/guojisaomiao/2013/01/10/14338977.shtml</a>&#34; target=&#34;_blank&#34;>日否认警告射击中海监飞机 恐中日因夺岛开战</a></li>
      <li><a href=&#34;<a href="http://military.people.com.cn/n/2013/0110/c1011-20150261.html" target="_blank" rel="external">http://military.people.com.cn/n/2013/0110/c1011-20150261.html</a>&#34; target=&#34;_blank&#34;>传解放军举行长白山军演</a></li>
      <li><a href=&#34;<a href="http://news.21cn.com/world/guojisaomiao/2013/01/10/14335623.shtml" target="_blank" rel="external">http://news.21cn.com/world/guojisaomiao/2013/01/10/14335623.shtml</a>&#34; target=&#34;_blank&#34;>中国高新6号反潜机问世 反潜艇性能优于美军P-3C</a></li>
      <li><a href=&#34;<a href="http://opinion.huanqiu.com/opinion_world/2013-01/3467875.html" target="_blank" rel="external">http://opinion.huanqiu.com/opinion_world/2013-01/3467875.html</a>&#34; target=&#34;_blank&#34;>张建刚：2030年中国将圆海洋强国梦</a></li>
      <li><a href=&#34;<a href="http://news.hf365.com/system/2013/01/10/012873928.shtml" target="_blank" rel="external">http://news.hf365.com/system/2013/01/10/012873928.shtml</a>&#34; target=&#34;_blank&#34;>运-20现身试飞中心 可取代伊尔-76任何功能</a></li>
      <li><a href=&#34;<a href="http://mil.sohu.com/20130110/n362988784.shtml" target="_blank" rel="external">http://mil.sohu.com/20130110/n362988784.shtml</a>&#34; target=&#34;_blank&#34;>东海舰队引入大批无人机 饱和攻击让日难以招架</a></li>
    </ul>
  </div>
</div>
<script>
jQuery.extend({
    roll: function(contentCls, contentParentId, configs){

        var setTimeID, totalWidth = 0, totalHeight = 0,
            firstContent, secondContent, contents;

        (function(){
            var singleContent, cloneContent, nodeList;

            singleContent = $(contentCls, contentParentId);
            nodeList = singleContent.children();

            if (configs.effect === 'scrollX') {
                $.each(nodeList, function(idx, itm) {
                    totalWidth += $(itm).outerWidth(true);
                });
                singleContent.css({ 'width': totalWidth + 'px' });
            }
            else if (configs.effect === 'scrollY') {
                $.each(nodeList, function(idx, itm) {
                    totalHeight += $(itm).outerHeight(true);
                });
                singleContent.css({ 'height': totalHeight + 'px' });
            }

            cloneContent = singleContent.clone();
            cloneContent.appendTo(contentParentId);

            contents = $(contentCls, contentParentId);
            firstContent = contents[0];
            secondContent = contents[1];
            
            if (configs.effect === 'scrollX') {
                $(firstContent).css({ 'left': 0 });
                $(secondContent).css({ 'left': totalWidth + 'px' });
            }
            else if (configs.effect === 'scrollY') {
                $(firstContent).css({ 'top': 0 });
                $(secondContent).css({ 'top': totalHeight + 'px' });
            }

        })()
        
        function cssAnimate(){
            if (configs.effect === 'scrollX') {
                $(firstContent).css({ left: parseInt(firstContent.style.left, 10) - 1 + 'px' });
                $(secondContent).css({ left: parseInt(secondContent.style.left, 10) - 1 + 'px' });
            
                $.each(contents, function(idx, itm) {
                    if (parseInt(itm.style.left,10) === -totalWidth) {
                        $(itm).css({ left: totalWidth + 'px' });
                    }
                });
            }
            else if (configs.effect === 'scrollY') {
                $(firstContent).css({ top: parseInt(firstContent.style.top, 10) - 1 + 'px' });
                $(secondContent).css({ top: parseInt(secondContent.style.top, 10) - 1 + 'px' });
            
                $.each(contents, function(idx, itm) {
                    if (parseInt(itm.style.top,10) === -totalHeight) {
                        $(itm).css({ top: totalHeight + 'px' });
                    }
                });
            }

            setTimeId = setTimeout(cssAnimate, configs.duration);
        }
        
        function rollRun(){
            setTimeId = setTimeout(cssAnimate, configs.delay);
            return jQuery;
        }
        
        function rollStop(){
            clearTimeout(setTimeId);
            return jQuery;
        }

        return $.extend({
            rollRun: rollRun,
            rollStop: rollStop
        });
    }    
});
</script> 
<script>
$(function(){
    var roll_jQuery, contents;

    roll_jQuery = $.roll('.J_Roll_Content', '#J_Roll_Container', { effect: 'scrollY', duration: 40, delay: 500 }).rollRun();
    contents = $('.J_Roll_Content');

    contents.bind('mouseenter', function(){
        roll_jQuery.rollStop();
    });
    contents.bind('mouseleave', function(){
        roll_jQuery.rollRun();
    });
});
</script>
</body>
</html></TEXTAREA><br/><INPUT onclick="runEx('temp45886')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp45886')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp45886')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=609</link>
			<title><![CDATA[为 KingCMS 5.10.0810 ASP 增加 CKEditor 和 KindEditor]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Tue,17 Sep 2013 00:27:05 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=609</guid>
		<description><![CDATA[据观察，KingCMS 5.10.0810 ASP 版自带的 FCKEditor 是2.5.1 Build 17566 版本，在一些新的浏览器中已不能正常工作。<br/><br/>直接将 KingCMS 的 FCKEditor 升级比较麻烦，不如添加它添加一个编辑器来得方便。<br/><br/><strong>为 KingCMS 添加 CKEditor 3.0.1</strong><br/>我目前常用的是 CKEditor 3.0.1，这不是目前最新的版本，但足以满足需要。<br/>1、将ckeditor文件夹复制到 \admin\system\editor\ 目录，检查一下，你应该得有\admin\system\editor\ckeditor\contents.css、\admin\system\editor\ckeditor\ckeditor.js、\admin\system\editor\ckeditor\config.js 三个文件，要需要配置一下 config.js；<br/>2、打开 \page\system\fun.asp，搜索定位到：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code72590);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code72590>case else&#39;包括html</div></div><br/>大概在 1232 行的样子，在前面插入代码：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code92480);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code92480>&#160;&#160;&#160;&#160;case &#34;ckeditor&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;style type=&#34;&#34;text/css&#34;&#34;&gt;@import &#34;&#34;../system/editor/ckeditor/contents.css&#34;&#34;;&lt;/style&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;script src=&#34;&#34;../system/editor/ckeditor/ckeditor.js&#34;&#34; type=&#34;&#34;text/javascri&#112;t&#34;&#34;&gt;&lt;/script&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;script src=&#34;&#34;../system/editor/ckeditor/config.js&#34;&#34; type=&#34;&#34;text/javascri&#112;t&#34;&#34;&gt;&lt;/script&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;textarea name=&#34;&#34;&#34;&amp;l1&amp;&#34;&#34;&#34; rows=&#34;&#34;25&#34;&#34; cols=&#34;&#34;100&#34;&#34; id=&#34;&#34;txt&#34;&#34;&gt;&#34;&amp;formencode(l3)&amp;&#34;&lt;/textarea&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;script language=&#34;&#34;javascri&#112;t&#34;&#34; type=&#34;&#34;text/javascri&#112;t&#34;&#34;&gt;CKEDITOR.replace(&#39;txt&#39;);&lt;/script&gt;&#34;</div></div><br/>3、登录到 KingCMS 后台，在“我的帐户”中选择编辑器“ckeditor”，就好了。<br/><br/>CKEditor 3.0.1并没有整合上传功能，这使上传图片变得不很方便，于是我们把目光转向KindEditor，它是国人制作的一款优秀的在线编辑器，并且整合了大多你能想到的功能。<br/><br/><strong>为 KingCMS 添加 KindEditor </strong><br/>1、下载一份 KindEditor，目前最新版本是 4.17，解压缩我们得到一个“kindeditor-4.1.7 ”的文件夹，里面是 kindeditor 的所有文件，把这个文件夹重命名为“kindeditor”，不要版本号了，和 KingCMS 已有的编辑一样只简洁的显示编辑器名称即可。可以按需求将 kindeditor 精简一下，根目录下 4 个js文件有二个文件名中没有 -min 的可以删除，这是没有压缩的版本，asp.net、jsp、php、examples这四个文件夹在 KingCMS 这个 ASP 系统中是没用的，可以删除，asp 目录中的 demo.asp 可以删除；<br/>2、将 kindeditor移到\admin\system\editor\ 目录；<br/>3、打开 \page\system\fun.asp，还是搜索定位到：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code72590);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code72590>case else&#39;包括html</div></div><br/>在前面插入代码：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code58704);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code58704>&#160;&#160;&#160;&#160;case &#34;kindeditor&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;style type=&#34;&#34;text/css&#34;&#34;&gt;@import &#34;&#34;../system/editor/kindeditor/themes/default/default.css&#34;&#34;;&lt;/style&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;style type=&#34;&#34;text/css&#34;&#34;&gt;@import &#34;&#34;../system/editor/kindeditor/plugins/code/prettify.css&#34;&#34;;&lt;/style&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;script src=&#34;&#34;../system/editor/kindeditor/kindeditor-min.js&#34;&#34; type=&#34;&#34;text/javascri&#112;t&#34;&#34;&gt;&lt;/script&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;script src=&#34;&#34;../system/editor/kindeditor/lang/zh_CN.js&#34;&#34; type=&#34;&#34;text/javascri&#112;t&#34;&#34;&gt;&lt;/script&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;script src=&#34;&#34;../system/editor/kindeditor/plugins/code/prettify.js&#34;&#34; type=&#34;&#34;text/javascri&#112;t&#34;&#34;&gt;&lt;/script&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;textarea name=&#34;&#34;&#34;&amp;l1&amp;&#34;&#34;&#34; rows=&#34;&#34;25&#34;&#34; cols=&#34;&#34;100&#34;&#34; id=&#34;&#34;txt&#34;&#34;&gt;&#34;&amp;formencode(l3)&amp;&#34;&lt;/textarea&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;script&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;KindEditor.ready(function(K) {&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;var editor1 = K.cr&#101;ate(&#39;textarea[id=&#34;&#34;txt&#34;&#34;]&#39;, {&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;cssPath : &#39;../system/editor/kindeditor/plugins/code/prettify.css&#39;,&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;uploadJson : &#39;../system/editor/kindeditor/asp/upload_json.asp&#39;,&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;fileManagerJson : &#39;../system/editor/kindeditor/asp/file_manager_json.asp&#39;,&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;allowFileManager : true,&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;afterCr&#101;ate : function() {&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var self = this;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;K.ctrl(document, 13, function() {&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;self.sync();&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;K(&#39;form[name=example]&#39;)[0].submit();&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;});&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;K.ctrl(self.edit.doc, 13, function() {&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;self.sync();&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;K(&#39;form[name=example]&#39;)[0].submit();&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;});&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;});&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&#160;&#160;&#160;&#160;prettyPrint();&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;});&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Il &#34;&lt;/script&gt;&#34;</div></div><br/>4、登录到 KingCMS 后台，在“我的帐户”中选择编辑器“kindeditor”，就可以使用了。<br/>]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=596</link>
			<title><![CDATA[WordPress 更新后 500 错误错误]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Thu,10 Jan 2013 21:26:11 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=596</guid>
		<description><![CDATA[Windows 2003+IIS 建 WP 各种错误，近二次手动更新后各种 500 错误，无法知道错在哪里，而后台网页正常无比，于是打开根目录的 index.php 把<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code9210);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code9210>/** Loads the WordPress Environment and Template */<br/>require(&#39;./wp-blog-header.php&#39;);</div></div><br/>中的 require(&#39;./wp-blog-header.php&#39;); 改成 require(&#39;wp-blog-header.php&#39;); 解决了！就是这样，这算什么路径问题~]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=588</link>
			<title><![CDATA[9月10日百度K站]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Sat,15 Sep 2012 15:34:34 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=588</guid>
		<description><![CDATA[之前我对SEO不太观注，因为我所建的网站一般都是普通的企业网站，所做的仅仅是设置一下Title、Keyword和Description，然而即使只是如此，使用企业名称通常也能获得不错的排名，当然使用竞争激烈的企业产品、服务名做关键词是很难有较好排名的。<br/><br/>前一阵因为<a target="_blank" href="http://www.1979vip.com" rel="external">1979原创摄影</a>对排名的要求，开始关心起所谓的搜索引擎优化。于是我观察到了百度9月巨烈变化，很多网站在9月9日一夜之后失去排名。<br/><img src="https://blog.imwebs.com/download.asp?id=85" border="0" alt=""/><br/><img src="https://blog.imwebs.com/download.asp?id=86" border="0" alt=""/><br/><img src="https://blog.imwebs.com/download.asp?id=87" border="0" alt=""/><br/><img src="https://blog.imwebs.com/download.asp?id=88" border="0" alt=""/><br/><img src="https://blog.imwebs.com/download.asp?id=89" border="0" alt=""/><br/><br/>其中<a target="_blank" href="http://www.1979vip.com" rel="external">1979原创摄影</a>、<a target="_blank" href="http://www.csqiao.com" rel="external">常熟侨联</a>和<a target="_blank" href="http://www.mijmi.com" rel="external">米加米饭团</a>都是都有3－4年的老站，而近期没有做任何大规模的变动。这种现象之前也发生在MyStudio，几乎没有来自百度的流量，Google是最大的流量来源，而且百度的关键词质量很差，和我的博客主旨毫无关系。于是我甚至屏蔽了百度蜘蛛或将来自百度的用户弹回百度首页（真是惭愧，我当时认为使用百度的用户有点2），之后我停止了阻止百度，而现在百度的流量超过了Google，并且来自百度的关键词质量也提升不少。<br/><br/>通过观察：<ul style="list-style-type:1"><br/><li>仅限百度，其它搜索引擎正常；<br/></li><li>这可能是针对IP的K站，但同IP还有小部分网站存活而且有不错的排名（莫非是漏网之鱼？）；<br/></li><li>不是网站结构问题，使用相同结构的网站正常，例如梦兰集团（www.menglan.com）、通润集团（www.tongrun.com）及一些相对影响较小的网站没有发生问题；<br/></li><li>1979vip.com和1979tc.com可能存在优化不当，比如修改Title过于频繁、图片多而文字内容少及文章原创度不强，这在婚纱摄影行业普遍存在；<br/></li><li>百度蜘蛛仍然活跃，site正常，仅关键词排名消失（人工干预？）；<br/></li><li>被K网站流量没有明显减少，线下推广显示出作用，作为企业官方网站有其强大的生命力；<br/></li><li>通过投诉没有效果，甚至可能有反效果；<br/></li><li>总结：现在要做的就是什么也不做，忽视百度。这种对正规企业网站的错误处理必然是不长久的，除非它毫不关心用户体验，其实百度不一定真的关心，从它这次大手笔的K站可以看出，处理问题缺乏谨慎。呵呵~远离百度，谨防上当。<br/></li></ul><br/><br/><ul><li>2012年9月27日，发现当前服务器下一个网站被挂黑链（www.cntbc.com），现已清除，希望是因此遭连坐，静观其效。<br/></li><li>2012年10月3日（4日），发现已基本恢复 70% 的排名，但有些关键词还是不够理想。其中1979vip.com 带 www 的域名居然被百度忽视，而我的设置是纯域名是通过 301 永久重定向到带 www 的域名的，这一个设置 Google 能正确识别，百度却不懂。小结一下：服务器上很多网站失去排名很可能是其中某个站被挂黑链，而被挂黑链的网站可能在百度用域名也查询不到，那么清除黑链重新提交到百度即可；另外婚纱摄影网站很多的图片，对于同一系列的图片设置alt可能有讲究，重复的alt可能被百度误认为堆砌；百度对外链质量识别可能有问题，对于大量优质外链也可能误判为垃圾，所以外链不需要量太大，即使有优质的站让你放外链，也不宜过多，同一网站上万的外链百度会疑神疑鬼；百度一家独大是很可怕的，同一服务器上有一个站被挂黑链事实上和同服其它网站事实上是没有什么关系的，也许可以说明企业实力一般没有能力使用独立服务器，但这种要求太过苛刻，同服连坐我认为是不合理的，虽然我不很欣赏 360，但希望 www.so.com 能够抗衡百度。<br/></li></ul><br/><img src="https://blog.imwebs.com/download.asp?id=93" border="0" alt=""/><br/><img src="https://blog.imwebs.com/download.asp?id=94" border="0" alt=""/><br/><img src="https://blog.imwebs.com/download.asp?id=95" border="0" alt=""/><br/><img src="https://blog.imwebs.com/download.asp?id=96" border="0" alt=""/><br/><img src="https://blog.imwebs.com/download.asp?id=97" border="0" alt=""/><br/>]]></description>
		</item>
		
			<item>
			<link>https://blog.imwebs.com/article.asp?id=585</link>
			<title><![CDATA[为 Dreamweaver 添加 CSS 属性 text-overflow 的自动提示（Hint）]]></title>
			<author>webmaster@imwebs.com(parno)</author>
			<category><![CDATA[WebBuild]]></category>
			<pubDate>Thu,26 Apr 2012 02:15:37 +0800</pubDate>
			<guid>https://blog.imwebs.com/default.asp?id=585</guid>
		<description><![CDATA[不知为什么 Dreamweaver CS3、CS4 直到 CS6 都不支持 CSS 属性 text-overflow，那么自己添加吧！毕竟选择一下比打字方便多了——偷懒是 Programmer 的美德嘛~<br/><br/><strong><span style="color:red">在 Adobe Dreamweaver CS5：</span></strong><br/>用记事本打开 C:\Documents and Settings\Administrator\Application Data\Adobe\Dreamweaver CS5\zh_CN\Configuration\CodeHints 目录下的 CodeHints.xml。<br/><br/><strong>1、修改如下（绿色的为增加内容，其它为原代码）：</strong><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code82911);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code82911><span style="color:green">&nbsp;&nbsp;&lt;menu pattern=&#34;text-overflow:&#34; additionaldismisschars=&#34;;:&#34; allowwhitespaceprefix=&#34;true&#34; displayrestriction=&#34;css&#34; allowmultiplevalues=&#34;true&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;inherit&#34; value=&#34;inherit&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;clip&#34; value=&#34;clip&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;ellipsis&#34; value=&#34;ellipsis&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;!important&#34; value=&#34;!important&#34; icon=&#34;shared/mm/images/hintFlag.gif&#34; /&gt;<br/>&nbsp;&nbsp;&lt;/menu&gt;</span><br/>&nbsp;&nbsp;&lt;menu pattern=&#34;text-transform:&#34; additionaldismisschars=&#34;;:&#34; allowwhitespaceprefix=&#34;true&#34; displayrestriction=&#34;css&#34; allowmultiplevalues=&#34;true&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;capitalize&#34; value=&#34;capitalize&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;inherit&#34; value=&#34;inherit&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;lowercase&#34; value=&#34;lowercase&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;none&#34; value=&#34;none&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;uppercase&#34; value=&#34;uppercase&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;!important&#34; value=&#34;!important&#34; icon=&#34;shared/mm/images/hintFlag.gif&#34; /&gt;<br/>&nbsp;&nbsp;&lt;/menu&gt;</div></div><br/><br/><strong>2、再修改如下（绿色的为增加内容，其它为原代码）：</strong><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code35250);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code35250><span style="color:green">&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;text-overflow&#34; value=&#34;text-overflow:&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;</span><br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;text-transform&#34; value=&#34;text-transform:&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;</div></div><br/><br/><strong>效果如图：</strong><br/><img src="https://blog.imwebs.com/download.asp?id=80" border="0" alt=""/><br/><br/>以上在 Adobe Dreamweaver CS5 实现。<br/><br/><strong><span style="color:red">在 Adobe Dreamweaver CS6：</span></strong><br/>Dreamweaver CS6 的 CSS CodeHints 位置在程序目录的 configuration\CodeHints 文件夹中，文件名是 CSS3_hints.xml。<br/><br/>修改方法如下：<br/>用记事本打开 C:\Program Files\Adobe\Adobe Dreamweaver CS6\configuration\CodeHints 目录下的 CSS3_hints.xml（如果你没有改变安装位置的话）。<br/><strong>1、找到：</strong><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code78234);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code78234> &lt;menuitem label=&#34;text-outline&#34; value=&#34;text-outline:&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;</div></div><br/><strong>在其下面添加一行：</strong><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code2397);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code2397> &lt;menuitem label=&#34;text-overflow&#34; value=&#34;text-overflow:&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;</div></div><br/><br/><strong>2、找到：</strong><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code29909);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code29909>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menu pattern=&#34;text-outline:&#34; additionaldismisschars=&#34;;:&#34; allowwhitespaceprefix=&#34;true&#34; displayrestriction=&#34;css&#34; allowmultiplevalues=&#34;true&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem MMString:label=&#34;code_hints/pick_color&#34; value=&#34;mm_menu_item:colorPicker&#34; icon=&#34;shared/mm/images/hintColor.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;none&#34; value=&#34;none&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;!important&#34; value=&#34;!important&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/menu&gt;</div></div><br/><strong>在其下面添加：</strong><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code94256);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="https://blog.imwebs.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code94256>&nbsp;&nbsp;&nbsp;&nbsp;&lt;menu pattern=&#34;text-overflow:&#34; additionaldismisschars=&#34;;:&#34; allowwhitespaceprefix=&#34;true&#34; displayrestriction=&#34;css&#34; allowmultiplevalues=&#34;true&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;clip&#34; value=&#34;clip&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;ellipsis&#34; value=&#34;ellipsis&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;menuitem label=&#34;!important&#34; value=&#34;!important&#34; icon=&#34;shared/mm/images/hintMisc.gif&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/menu&gt;</div></div><br/><br/><strong>大部分浏览器都支持 text-overflow 这个属性，关于它的详细介绍可以移步 <a target="_blank" href="https://developer.mozilla.org/en-US/docs/CSS/text-overflow" rel="external">https://developer.mozilla.org/</a> 查看。</strong>]]></description>
		</item>
		
</channel>
</rss>
