<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[E龙]]></title>
<link>http://www.it-long.com/</link>
<description><![CDATA[书山有路勤为径 学海无涯苦作舟]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[yangxinglong@126.com(E龙)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>E龙</title>
	<url>http://www.it-long.com/images/logos.gif</url>
	<link>http://www.it-long.com/</link>
	<description>E龙</description>
</image>

			<item>
			<link>http://www.it-long.com/article/139.htm</link>
			<title><![CDATA[jquery 简单的输入框提示]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[JS]]></category>
			<pubDate>Thu,20 Jan 2011 17:56:36 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=139</guid>
		<description><![CDATA[简单的输入框提示，用jquery写的，主要是进入页面后显示提示信息，隐藏信息，失去焦点后，是否显示提示信息等状态。<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code84875);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code84875><br/><br/>$(document).ready(function(){<br/> $(&#34;.keyword&#34;).val(&#34;请输入关键词&#34;)<br/> $(&#34;.keyword&#34;).click(function(){if($(this).val()==&#34;请输入关键词&#34;){$(this).val(&#34;&#34;)}})<br/> $(&#34;.keyword&#34;).focusout(function(){if($(this).val()&lt;=0){$(this).val(&#34;请输入关键词&#34;)}})<br/>})<br/><br/></div></div><br/><br/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/137.htm</link>
			<title><![CDATA[简易的jQuery 表单认证]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[JS]]></category>
			<pubDate>Sun,19 Sep 2010 17:31:28 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=137</guid>
		<description><![CDATA[随手写了个简单的jQuery 的验证，还有很大的更改空间，alt为说明文字，例如姓名<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code72316);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code72316>&lt;input type=&#34;text&#34; class=&#34;yz&#34; alt=&#34;姓名&#34;/&gt;</div></div><br/>jQuery 代码<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code67380);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code67380><br/>$(document).ready(function(){<br/>&#160;&#160;&#160;&#160;$(&#34;.yz&#34;).focusout(function(){<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var name=$(this).attr(&#34;alt&#34;);<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if($(this).val().length&lt;=0)<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;alert(name+&#34;不能为空&#34;)<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;})<br/>&#160;&#160;&#160;&#160;<br/>&#160;&#160;&#160;&#160;})<br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/136.htm</link>
			<title><![CDATA[jQuery图片垂直左右居中-自适应图片大小]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[JS]]></category>
			<pubDate>Thu,16 Sep 2010 14:52:32 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=136</guid>
		<description><![CDATA[心血来潮写了个简单的jQuery图片垂直左右居中，自适应图片大小<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code48817);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code48817><br/>$(document).ready(function(){<br/>&#160;&#160;&#160;&#160;var img_w=$(&#34;.img img&#34;).width()/2<br/>&#160;&#160;&#160;&#160;var img_h=$(&#34;.img img&#34;).height()/2<br/>&#160;&#160;&#160;&#160;var img_wrap_w=$(&#34;.img&#34;).width()/2<br/>&#160;&#160;&#160;&#160;var img_wrap_h=$(&#34;.img&#34;).height()/2<br/>&#160;&#160;&#160;&#160;$(&#34;.img img&#34;).css(&#34;margin-left&#34;,img_wrap_w-img_w)<br/>&#160;&#160;&#160;&#160;$(&#34;.img img&#34;).css(&#34;margin-top&#34;,img_wrap_h-img_h)<br/>&#160;&#160;&#160;&#160;})<br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/134.htm</link>
			<title><![CDATA[用jQuery写的三栏等高]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[JS]]></category>
			<pubDate>Tue,14 Sep 2010 10:51:16 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=134</guid>
		<description><![CDATA[三栏等高写起来问题很多，纯用css写的话，有很多兼容问题要改，现在用jQuery写了一个，支持无限级等高，代码如下<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code16514);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code16514><br/>$(document).ready(function(){<br/>&#160;&#160;&#160;&#160;var a_height=$(&#34;.a&#34;).height()<br/>&#160;&#160;&#160;&#160;var b_height=$(&#34;.b&#34;).height()<br/>&#160;&#160;&#160;&#160;var c_height=$(&#34;.c&#34;).height()<br/>&#160;&#160;&#160;&#160;function array_max( ){return this.concat().sort(function(a,b){return b-a})[0]; }<br/>&#160;&#160;&#160;&#160;Array.prototype.max = array_max; <br/>&#160;&#160;&#160;&#160;var x =[a_height,b_height,c_height];<br/>&#160;&#160;&#160;&#160;var y = x.max( ); <br/>&#160;&#160;&#160;&#160;$(&#34;.a&#34;).css(&#34;height&#34;,y)<br/>&#160;&#160;&#160;&#160;$(&#34;.b&#34;).css(&#34;height&#34;,y)<br/>&#160;&#160;&#160;&#160;$(&#34;.c&#34;).css(&#34;height&#34;,y)<br/>&#160;&#160;&#160;&#160;})<br/><br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/133.htm</link>
			<title><![CDATA[FlashFXP v3.7.9 注册码]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[My Life]]></category>
			<pubDate>Mon,30 Aug 2010 18:19:05 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=133</guid>
		<description><![CDATA[-------- FlashFXP Registration Data START --------<br/>FLASHFXPwgBloAF1wgAAAAC7W5MNJwTnsl8EkBtRYhwaTGRKIIEcBZm8Yq4KNEoIpQ846TKQAcccWD4Lot8UsdLbAgj0OBA8cj8x4yfL0n2w9PGEAv8P+lpdkS+kQxBAiJRai893WEztek3c+slUSMGq3/Q58Nk1mrKlx5Y8jnEIPhzbBeXkzwLtdErddDdH0yGf2rqzmnnArJTs0tdOcn0kIG6L5zJ80fqGxGotNx7SrFzgu1XnuTKnsnzr/H9/Ig0A<br/>--------&nbsp;&nbsp;FlashFXP Registration Data END&nbsp;&nbsp;--------<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/132.htm</link>
			<title><![CDATA[js随机广告]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[JS]]></category>
			<pubDate>Tue,10 Aug 2010 11:11:21 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=132</guid>
		<description><![CDATA[最近工作需要制作随机banner的效果，最先写了一个<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code98533);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code98533><br/>$(document).ready(function(){ <br/>var how_many_banner=2;<br/>var now= new Date();<br/>var sec=now.getSeconds();<br/>var banner=sec % how_many_banner;<br/>if(banner==0){<br/>&#160;&#160;&#160;&#160;$(&#34;.banner_1&#34;).css(&#34;display&#34;, &#34;block&#34;)<br/>&#160;&#160;&#160;&#160;}<br/>else{<br/>&#160;&#160;&#160;&#160;$(&#34;.banner_2&#34;).css(&#34;display&#34;, &#34;block&#34;)<br/>&#160;&#160;&#160;&#160;}<br/>})<br/></div></div><br/>但是需要载入jQuery库，效率有些低。<br/>昨天写了一个原生的JavaScript代码，不过需要在body写入<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code37245);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code37245><br/>onload=&#34;函数名();&#34;<br/></div></div><br/>广告全部写在html里，css设置广告的display为none;，广告的ID为banner_加上广告的顺序<br/>js代码如下<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code47667);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code47667><br/>&lt;script type=&#34;text/javascript&#34;&gt;<br/>function(banner){<br/>n=99<br/>banner=Math.floor(Math.random()*n+1)<br/>document.getElementById(&#34;banner_&#34;+banner).style.display = &#34;block&#34;;<br/>}<br/>&lt;/script&gt;<br/></div></div><br/>其中n为广告的数量。]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/131.htm</link>
			<title><![CDATA[css中字体与英文]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[CSS]]></category>
			<pubDate>Mon,28 Jun 2010 12:12:25 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=131</guid>
		<description><![CDATA[黑体：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SimHei<br/>宋体：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SimSun<br/>新宋体：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NSimSun<br/>仿宋：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FangSong<br/>楷体：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KaiTi<br/>仿宋_GB2312：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FangSong_GB2312<br/>楷体_GB2312：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KaiTi_GB2312&nbsp;&nbsp;<br/>微软雅黑体：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft YaHei]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/130.htm</link>
			<title><![CDATA[LeapFTP 3.0注册码]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[Literature]]></category>
			<pubDate>Fri,11 Jun 2010 12:56:41 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=130</guid>
		<description><![CDATA[<div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code45967);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code45967><br/>—-LEAPFTP 3.x LICENSE—-<br/><br/>user=www.cnzz.cc<br/>company=FiGHTiNG FOR FUN<br/><br/>key=zBySPvMfL7BK3lTtLKrR3vWR<br/>bRksBfOtj624oBh9ApAYcCFYVPt3<br/>HxhfqUO7uFTrzpAZ7G4wrkklsXFX<br/>aigpYUTAdVJ8XbFAKdn1W1aVtaAR<br/>sJx0+hvvfVDC9+RdhEkBrL7Nfeys<br/>YckjQ1Sd1IvvNKZPwvNkYwVVr6K9<br/>cZzmkY2CJ2yLQ8U8EjYLdeukEi91<br/>PU/Ccr0n5LZAyA4sRkyK4KCuwAQA<br/>1YoNOkBXoLmjoPiL1H4iYTUAfyTn<br/>4c/bTtAFMFWqVcM/sMtstohVT1KU<br/>ljoSRCnRm8UaRdW/mkKoF/yP3N69<br/>MMp5ey4rd1s3FnL/<br/><br/>—-LEAPFTP 3.x LICENSE—-<br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/129.htm</link>
			<title><![CDATA[硕思闪客精灵注册码]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[Literature]]></category>
			<pubDate>Wed,09 Jun 2010 18:36:41 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=129</guid>
		<description><![CDATA[Name: Registered<br/>Code: 031U4A-K03QAX-6YDQBB-JTHN2J-2KEUCV-4MNAD0-KT9BVV-QN3B1W-HDJUZA-0AWPT8-6HWBJR-UBZYMK]]></description>
		</item>
		
			<item>
			<link>http://www.it-long.com/article/128.htm</link>
			<title><![CDATA[自己写的隔行换色]]></title>
			<author>yangxinglong@126.com(杨兴龙)</author>
			<category><![CDATA[JS]]></category>
			<pubDate>Tue,25 May 2010 12:29:49 +0800</pubDate>
			<guid>http://www.it-long.com/default.asp?id=128</guid>
		<description><![CDATA[好久没写东西了，今天自己写了个jQuery的隔行换色，超简单，jQuery果然强悍<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code56389);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code56389><br/>$(function(){ <br/>&#160;&#160;&#160;&#160;$(&#34;li:even&#34;).addClass(&#34;even&#34;)<br/>&#160;&#160;&#160;&#160;$(&#34;li&#34;).hover(<br/>&#160;&#160;&#160;&#160;&nbsp;&nbsp;function () {<br/>&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;$(this).addClass(&#34;hover&#34;);<br/>&#160;&#160;&#160;&#160;&nbsp;&nbsp;},<br/>&#160;&#160;&#160;&#160;&nbsp;&nbsp;function () {<br/>&#160;&#160;&#160;&#160;&nbsp;&nbsp;&nbsp;&nbsp;$(this).removeClass(&#34;hover&#34;);<br/>&#160;&#160;&#160;&#160;&nbsp;&nbsp;}<br/>&#160;&#160;&#160;&#160;);<br/>&#160;&#160;&#160;&#160;$(&#34;li&#34;).toggle(<br/>&nbsp;&nbsp;function () {<br/>&nbsp;&nbsp;&nbsp;&nbsp;$(this).addClass(&#34;click&#34;);<br/>&nbsp;&nbsp;},<br/>&nbsp;&nbsp;function () {<br/>&nbsp;&nbsp;&nbsp;&nbsp;$(this).removeClass(&#34;click&#34;);<br/>&nbsp;&nbsp;}<br/>);<br/>})<br/></div></div><br/>根据需要写id或class限定，也可以用于表格，class可以自己改<br/>我随意添加了几个class<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code12191);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.it-long.com/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code12191><br/>.even{ background-color:red}<br/>ul{padding:0px;margin:0px;}<br/>li{ ist-style-type:none; height:40px; width:100px; margin-top:4px;border:1px solid #999;}<br/>.hover{ background:#CCC}<br/>.click{ background-color:#0F3}<br/></div></div><br/>js可以直接用jQuery1.3.2即可]]></description>
		</item>
		
</channel>
</rss>

