<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[Andy's Blog]]></title>
<link>http://www.inlco.cn/</link>
<description><![CDATA[CSS XHTML ASP FLASH 网页设计 WEB技术]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[liujunzuq@163.com(Andy)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>Andy&#39;s Blog</title>
	<url>http://www.inlco.cn/images/logos.gif</url>
	<link>http://www.inlco.cn/</link>
	<description>Andy&#39;s Blog</description>
</image>

			<item>
			<link>http://www.inlco.cn/article/109.htm</link>
			<title><![CDATA[常用JS大收集(二)]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[资源分享]]></category>
			<pubDate>Wed,02 Dec 2009 14:01:25 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=109</guid>
		<description><![CDATA[ 21.让弹出窗口总是在最上面:&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;body&nbsp;&nbsp; onblur=&#34;this.focus();&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;22.不要滚动条?&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;让竖条没有:&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;body&nbsp;&nbsp; style=&#34;overflow:scroll;overflow-y:hidden&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/body&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;让横条没有:&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;body&nbsp;&nbsp; style=&#34;overflow:scroll;overflow-x:hidden&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/body&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;两个都去掉？更简单了&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;body&nbsp;&nbsp; scroll=&#34;no&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/body&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;23.怎样去掉图片链接点击后，图片周围的虚线？&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;a&nbsp;&nbsp; href=&#34;#&#34;&nbsp;&nbsp; onFocus=&#34;this.blur()&#34;&gt;&lt;img&nbsp;&nbsp; src=&#34;/blog/logo.jpg&#34;&nbsp;&nbsp; border=0&gt;&lt;/a&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;24.电子邮件处理提交表单&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;form&nbsp;&nbsp; name=&#34;form1&#34;&nbsp;&nbsp; method=&#34;post&#34;&nbsp;&nbsp; action=&#34;mailto:****@***.com&#34;&nbsp;&nbsp; enctype=&#34;text/plain&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;input&nbsp;&nbsp; type=submit&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/form&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;25.在打开的子窗口刷新父窗口的代码里如何写？&nbsp;&nbsp; <br/>&nbsp;&nbsp;window.opener.location.reload()&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;26.如何设定打开页面的大小&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;body&nbsp;&nbsp; onload=&#34;top.resizeTo(300,200);&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;打开页面的位置&lt;body&nbsp;&nbsp; onload=&#34;top.moveBy(300,200);&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;27.在页面中如何加入不是满铺的背景图片,拉动页面时背景图不动&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;STYLE&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;body&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;{background-image:url(/blog/logo.gif);&nbsp;&nbsp; background-repeat:no-repeat;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;background-position:center;background-attachment:&nbsp;&nbsp; fixed}&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/STYLE&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;28.&nbsp;&nbsp; 检查一段字符串是否全由数字组成&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&nbsp;&nbsp; language=&#34;Javascript&#34;&gt;&lt;!--&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; checkNum(str){return&nbsp;&nbsp; str.match(//D/)==null}&nbsp;&nbsp; <br/>&nbsp;&nbsp;alert(checkNum(&#34;1232142141&#34;))&nbsp;&nbsp; <br/>&nbsp;&nbsp;alert(checkNum(&#34;123214214a1&#34;))&nbsp;&nbsp; <br/>&nbsp;&nbsp;//&nbsp;&nbsp; --&gt;&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;29.&nbsp;&nbsp; 获得一个窗口的大小&nbsp;&nbsp; <br/>&nbsp;&nbsp;document.body.clientWidth;&nbsp;&nbsp; document.body.clientHeight&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;30.&nbsp;&nbsp; 怎么判断是否是字符&nbsp;&nbsp; <br/>&nbsp;&nbsp;if&nbsp;&nbsp; (/[^/x00-/xff]/g.test(s))&nbsp;&nbsp; alert(&#34;含有汉字&#34;);&nbsp;&nbsp; <br/>&nbsp;&nbsp;else&nbsp;&nbsp; alert(&#34;全是字符&#34;);&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;31.TEXTAREA自适应文字行数的多少&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;textarea&nbsp;&nbsp; rows=1&nbsp;&nbsp; name=s1&nbsp;&nbsp; cols=27&nbsp;&nbsp; onpropertychange=&#34;this.style.posHeight=this.scrollHeight&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/textarea&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;32.&nbsp;&nbsp; 日期减去天数等于第二个日期&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&nbsp;&nbsp; language=Javascript&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; cc(dd,dadd)&nbsp;&nbsp; <br/>&nbsp;&nbsp;{&nbsp;&nbsp; <br/>&nbsp;&nbsp;//可以加上错误处理&nbsp;&nbsp; <br/>&nbsp;&nbsp;var&nbsp;&nbsp; a&nbsp;&nbsp; =&nbsp;&nbsp; new&nbsp;&nbsp; Date(dd)&nbsp;&nbsp; <br/>&nbsp;&nbsp;a&nbsp;&nbsp; =&nbsp;&nbsp; a.valueOf()&nbsp;&nbsp; <br/>&nbsp;&nbsp;a&nbsp;&nbsp; =&nbsp;&nbsp; a&nbsp;&nbsp; -&nbsp;&nbsp; dadd&nbsp;&nbsp; *&nbsp;&nbsp; 24&nbsp;&nbsp; *&nbsp;&nbsp; 60&nbsp;&nbsp; *&nbsp;&nbsp; 60&nbsp;&nbsp; *&nbsp;&nbsp; 1000&nbsp;&nbsp; <br/>&nbsp;&nbsp;a&nbsp;&nbsp; =&nbsp;&nbsp; new&nbsp;&nbsp; Date(a)&nbsp;&nbsp; <br/>&nbsp;&nbsp;alert(a.getFullYear()&nbsp;&nbsp; +&nbsp;&nbsp; &#34;年&#34;&nbsp;&nbsp; +&nbsp;&nbsp; (a.getMonth()&nbsp;&nbsp; +&nbsp;&nbsp; 1)&nbsp;&nbsp; +&nbsp;&nbsp; &#34;月&#34;&nbsp;&nbsp; +&nbsp;&nbsp; a.getDate()&nbsp;&nbsp; +&nbsp;&nbsp; &#34;日&#34;)&nbsp;&nbsp; <br/>&nbsp;&nbsp;}&nbsp;&nbsp; <br/>&nbsp;&nbsp;cc(&#34;12/23/2002&#34;,2)&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;33.&nbsp;&nbsp; 选择了哪一个Radio&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;HTML&gt;&lt;script&nbsp;&nbsp; language=&#34;vbscript&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; checkme()&nbsp;&nbsp; <br/>&nbsp;&nbsp;for&nbsp;&nbsp; each&nbsp;&nbsp; ob&nbsp;&nbsp; in&nbsp;&nbsp; radio1&nbsp;&nbsp; <br/>&nbsp;&nbsp;if&nbsp;&nbsp; ob.checked&nbsp;&nbsp; then&nbsp;&nbsp; window.alert&nbsp;&nbsp; ob.value&nbsp;&nbsp; <br/>&nbsp;&nbsp;next&nbsp;&nbsp; <br/>&nbsp;&nbsp;end&nbsp;&nbsp; function&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/script&gt;&lt;BODY&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;INPUT&nbsp;&nbsp; name=&#34;radio1&#34;&nbsp;&nbsp; type=&#34;radio&#34;&nbsp;&nbsp; value=&#34;style&#34;&nbsp;&nbsp; checked&gt;Style&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;INPUT&nbsp;&nbsp; name=&#34;radio1&#34;&nbsp;&nbsp; type=&#34;radio&#34;&nbsp;&nbsp; value=&#34;barcode&#34;&gt;Barcode&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;INPUT&nbsp;&nbsp; type=&#34;button&#34;&nbsp;&nbsp; value=&#34;check&#34;&nbsp;&nbsp; onclick=&#34;checkme()&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/BODY&gt;&lt;/HTML&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;34.脚本永不出错&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;SCRIPT&nbsp;&nbsp; LANGUAGE=&#34;JavaScript&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;!--&nbsp;&nbsp; Hide&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; killErrors()&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;return&nbsp;&nbsp; true;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;window.onerror&nbsp;&nbsp; =&nbsp;&nbsp; killErrors;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;//&nbsp;&nbsp; --&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/SCRIPT&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;35.ENTER键可以让光标移到下一个输入框&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;input&nbsp;&nbsp; onkeydown=&#34;if(event.keyCode==13)event.keyCode=9&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>36.&nbsp;&nbsp; 检测某个网站的链接速度：&nbsp;&nbsp; <br/>&nbsp;&nbsp;把如下代码加入&lt;body&gt;区域中:&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&nbsp;&nbsp; language=Javascript&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;tim=1&nbsp;&nbsp; <br/>&nbsp;&nbsp;setInterval(&#34;tim++&#34;,100)&nbsp;&nbsp; <br/>&nbsp;&nbsp;b=1&nbsp;&nbsp; <br/>&nbsp;&nbsp;var&nbsp;&nbsp; autourl=new&nbsp;&nbsp; Array()&nbsp;&nbsp; <br/>&nbsp;&nbsp;autourl[1]=&#34;www.njcatv.net&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;autourl[2]=&#34;javacool.3322.net&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;autourl[3]=&#34;www.sina.com.cn&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;autourl[4]=&#34;www.nuaa.edu.cn&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;autourl[5]=&#34;www.cctv.com&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; butt(){&nbsp;&nbsp; <br/>&nbsp;&nbsp;document.write(&#34;&lt;form&nbsp;&nbsp; name=autof&gt;&#34;)&nbsp;&nbsp; <br/>&nbsp;&nbsp;for(var&nbsp;&nbsp; i=1;i&lt;autourl.length;i++)&nbsp;&nbsp; <br/>&nbsp;&nbsp;document.write(&#34;&amp;lt;input&nbsp;&nbsp; type=text&nbsp;&nbsp; name=txt&#34;+i+&#34;&nbsp;&nbsp; size=10&nbsp;&nbsp; value=&#34;/blog/测试中......&gt;&#34;&nbsp;&nbsp; =》&lt;input&nbsp;&nbsp; type=text&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;name=url&#34;+i+&#34;&nbsp;&nbsp; size=40&gt;&nbsp;&nbsp; =》&lt;input&nbsp;&nbsp; type=button&nbsp;&nbsp; value=GO&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;onclick=window.open(this.form.url&#34;+i+&#34;.value)&gt;&lt;br&gt;&#34;)&nbsp;&nbsp; <br/>&nbsp;&nbsp;document.write(&#34;&lt;input&nbsp;&nbsp; type=submit&nbsp;&nbsp; value=刷新&gt;&lt;/form&gt;&#34;)&nbsp;&nbsp; <br/>&nbsp;&nbsp;}&nbsp;&nbsp; <br/>&nbsp;&nbsp;butt()&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; auto(url)&nbsp;&nbsp; <br/>&nbsp;&nbsp;else&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;b++&nbsp;&nbsp; <br/>&nbsp;&nbsp;}&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; run(){for(var&nbsp;&nbsp; i=1;i&lt;autourl.length;i++)document.write(&#34;&amp;lt;img&nbsp;&nbsp; src=http://&#34;+autourl+&#34;/&#34;+Math.random()+&#34;&nbsp;&nbsp; width=1&nbsp;&nbsp; height=1&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;onerror=auto(&#34;<a href="http://" target="_blank" rel="external">http://</a>&#34;+autourl+&#34;&#34;)&gt;&#34;)}&nbsp;&nbsp; <br/>&nbsp;&nbsp;run()&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;37.&nbsp;&nbsp; 各种样式的光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;auto&nbsp;&nbsp; ：标准光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;default&nbsp;&nbsp; ：标准箭头&nbsp;&nbsp; <br/>&nbsp;&nbsp;hand&nbsp;&nbsp; ：手形光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;wait&nbsp;&nbsp; ：等待光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;text&nbsp;&nbsp; ：I形光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;vertical-text&nbsp;&nbsp; ：水平I形光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;no-dro&#112;&nbsp;&nbsp; ：不可拖动光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;not-allowed&nbsp;&nbsp; ：无效光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;help&nbsp;&nbsp; ：?帮助光标&nbsp;&nbsp; <br/>&nbsp;&nbsp;all-scroll&nbsp;&nbsp; ：三角方向标&nbsp;&nbsp; <br/>&nbsp;&nbsp;move&nbsp;&nbsp; ：移动标&nbsp;&nbsp; <br/>&nbsp;&nbsp;crosshair&nbsp;&nbsp; ：十字标&nbsp;&nbsp; <br/>&nbsp;&nbsp;e-resize&nbsp;&nbsp; <br/>&nbsp;&nbsp;n-resize&nbsp;&nbsp; <br/>&nbsp;&nbsp;nw-resize&nbsp;&nbsp; <br/>&nbsp;&nbsp;w-resize&nbsp;&nbsp; <br/>&nbsp;&nbsp;s-resize&nbsp;&nbsp; <br/>&nbsp;&nbsp;se-resize&nbsp;&nbsp; <br/>&nbsp;&nbsp;sw-resize&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;38.页面进入和退出的特效&nbsp;&nbsp; <br/>&nbsp;&nbsp;进入页面&lt;meta&nbsp;&nbsp; http-equiv=&#34;Page-Enter&#34;&nbsp;&nbsp; content=&#34;revealTrans(duration=x,&nbsp;&nbsp; transition=y)&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;推出页面&lt;meta&nbsp;&nbsp; http-equiv=&#34;Page-Exit&#34;&nbsp;&nbsp; content=&#34;revealTrans(duration=x,&nbsp;&nbsp; transition=y)&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;这个是页面被载入和调出时的一些特效。duration表示特效的持续时间，以秒为单位。transition表示使用哪种特效，取值为1-23:&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　0&nbsp;&nbsp; 矩形缩小&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　1&nbsp;&nbsp; 矩形扩大&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　2&nbsp;&nbsp; 圆形缩小&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　3&nbsp;&nbsp; 圆形扩大&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　4&nbsp;&nbsp; 下到上刷新&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　5&nbsp;&nbsp; 上到下刷新&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　6&nbsp;&nbsp; 左到右刷新&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　7&nbsp;&nbsp; 右到左刷新&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　8&nbsp;&nbsp; 竖百叶窗&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　9&nbsp;&nbsp; 横百叶窗&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　10&nbsp;&nbsp; 错位横百叶窗&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　11&nbsp;&nbsp; 错位竖百叶窗&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　12&nbsp;&nbsp; 点扩散&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　13&nbsp;&nbsp; 左右到中间刷新&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　14&nbsp;&nbsp; 中间到左右刷新&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　15&nbsp;&nbsp; 中间到上下&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　16&nbsp;&nbsp; 上下到中间&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　17&nbsp;&nbsp; 右下到左上&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　18&nbsp;&nbsp; 右上到左下&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　19&nbsp;&nbsp; 左上到右下&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　20&nbsp;&nbsp; 左下到右上&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　21&nbsp;&nbsp; 横条&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　22&nbsp;&nbsp; 竖条&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　23&nbsp;&nbsp; 以上22种随机选择一种&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;39.在规定时间内跳转&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;META&nbsp;&nbsp; http-equiv=V=&#34;REFRESH&#34;&nbsp;&nbsp; content=&#34;5;URL=http://www.williamlong.info&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;40.网页是否被检索&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;meta&nbsp;&nbsp; name=&#34;ROBOTS&#34;&nbsp;&nbsp; content=&#34;属性值&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　其中属性值有以下一些:&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　属性值为&#34;all&#34;:&nbsp;&nbsp; 文件将被检索，且页上链接可被查询；&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　属性值为&#34;none&#34;:&nbsp;&nbsp; 文件不被检索，而且不查询页上的链接；&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　属性值为&#34;index&#34;:&nbsp;&nbsp; 文件将被检索；&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　属性值为&#34;follow&#34;:&nbsp;&nbsp; 查询页上的链接；&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　属性值为&#34;noindex&#34;:&nbsp;&nbsp; 文件不检索，但可被查询链接；&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　属性值为&#34;nofollow&#34;:&nbsp;&nbsp; 文件不被检索，但可查询页上的链接。&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;最大化窗口？&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&nbsp;&nbsp; language=&#34;JavaScript&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;!--&nbsp;&nbsp; <br/>&nbsp;&nbsp;self.moveTo(0,0)&nbsp;&nbsp; <br/>&nbsp;&nbsp;self.resizeTo(screen.availWidth,screen.availHeight)&nbsp;&nbsp; <br/>&nbsp;&nbsp;//--&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;解决问题：由于层与下拉框之间的优先级是：下拉框&nbsp;&nbsp; &amp;gt;&nbsp;&nbsp; 层，因此在显示的时候，会因为优先级的次序而会出现如上问题。（如果几个元素都是层的话，我们可以通过层的&nbsp;&nbsp; z-index&nbsp;&nbsp; 属性来设置）解决办法就是：给层中放一个优先级比下拉框更高的元素（iframe），从而解决此问题！具体解决代码如下：&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&lt;div&nbsp;&nbsp; id=&#34;menu&#34;&nbsp;&nbsp; style=&#34;position:absolute;&nbsp;&nbsp; visibility:hidden;&nbsp;&nbsp; top:20px;&nbsp;&nbsp; left:20px;&nbsp;&nbsp; width:100px;&nbsp;&nbsp; height:200px;&nbsp;&nbsp; background-color:#6699cc;&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;table&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;&lt;td&gt;item&nbsp;&nbsp; 1&lt;/td&gt;&lt;/tr&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;&lt;td&gt;item&nbsp;&nbsp; 2&lt;/td&gt;&lt;/tr&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;&lt;td&gt;item&nbsp;&nbsp; 3&lt;/td&gt;&lt;/tr&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;&lt;td&gt;item&nbsp;&nbsp; 4&lt;/td&gt;&lt;/tr&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;&lt;td&gt;item&nbsp;&nbsp; 5&lt;/td&gt;&lt;/tr&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/table&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;iframe&nbsp;&nbsp; src=&#34;/blog/javascript:false&#34;&nbsp;&nbsp; style=&#34;position:absolute;&nbsp;&nbsp; visibility:inherit;&nbsp;&nbsp; top:0px;&nbsp;&nbsp; left:0px;&nbsp;&nbsp; width:100px;&nbsp;&nbsp; height:200px;&nbsp;&nbsp; z-index:-1;&nbsp;&nbsp; filter=&#39;progid XImageTransform.Microsoft.Alpha(style=0,opacity=0)&#39;;&#34;&gt;&lt;/iframe&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/div&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&lt;a&nbsp;&nbsp; href=&#34;#&#34;&nbsp;&nbsp; onclick=&#34;document.getElementById(&#39;menu&#39;).style.visibility=&#39;visible&#39;&#34;&gt;menu&lt;/a&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&lt;form&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sel&#101;ct&gt;&lt;option&gt;A&nbsp;&nbsp; form&nbsp;&nbsp; sel&#101;ction&nbsp;&nbsp; list&lt;/option&gt;&lt;/sel&#101;ct&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/form&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;输入框也可以做的很漂亮了&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;div&nbsp;&nbsp; align=&#34;center&#34;&gt;&lt;input&nbsp;&nbsp; type=&#34;hidden&#34;&nbsp;&nbsp; name=&#34;hao&#34;&nbsp;&nbsp; value=&#34;yes&#34;&gt;&nbsp;&nbsp; <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;&nbsp;&nbsp;外向数：&lt;input&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name=answer&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=&#34;color:&nbsp;&nbsp; rgb(255,0,0);&nbsp;&nbsp; border-left:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-right:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-top:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-bottom:&nbsp;&nbsp; 1px&nbsp;&nbsp; solid&nbsp;&nbsp; rgb(192,192,192)&#34;&gt;&nbsp;&nbsp; <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;input&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name=unanswer&nbsp;&nbsp; id=&#34;unanswer&#34;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=&#34;color:&nbsp;&nbsp; rgb(255,0,0);&nbsp;&nbsp; border-left:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-right:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-top:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-bottom:&nbsp;&nbsp; 1px&nbsp;&nbsp; solid&nbsp;&nbsp; rgb(192,192,192)&#34;&gt;&nbsp;&nbsp; <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;br&gt;&nbsp;&nbsp; <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; <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;input&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name=score&nbsp;&nbsp; id=&#34;score&#34;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=&#34;color:&nbsp;&nbsp; rgb(255,0,0);&nbsp;&nbsp; border-left:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-right:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-top:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-bottom:&nbsp;&nbsp; 1px&nbsp;&nbsp; solid&nbsp;&nbsp; rgb(192,192,192)&#34;&gt;&nbsp;&nbsp; <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; <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;input&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name=xgjg&nbsp;&nbsp; id=&#34;xgjg&#34;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;style=&#34;color:&nbsp;&nbsp; rgb(255,0,0);&nbsp;&nbsp; border-left:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-right:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-top:&nbsp;&nbsp; medium&nbsp;&nbsp; none;&nbsp;&nbsp; border-bottom:&nbsp;&nbsp; 1px&nbsp;&nbsp; solid&nbsp;&nbsp; rgb(192,192,192)&#34;&gt;&nbsp;&nbsp; <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;br&gt;&nbsp;&nbsp; <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;br&gt;&nbsp;&nbsp;&nbsp;&nbsp; <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;<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;input&nbsp;&nbsp; onClick=processForm(this.form)&nbsp;&nbsp; style=&#34;FONT-FAMILY:&nbsp;&nbsp; 宋体;&nbsp;&nbsp; FONT-SIZE:&nbsp;&nbsp; 9pt&#34;&nbsp;&nbsp; type=button&nbsp;&nbsp; value=查看结果&nbsp;&nbsp; name=&#34;button&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <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;input&nbsp;&nbsp; type=&#34;reset&#34;&nbsp;&nbsp; name=&#34;Submit&#34;&nbsp;&nbsp; value=&#34;重做&#34;&gt;&nbsp;&nbsp; <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;/div&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;注意：修改&lt;body&gt;为&lt;body&nbsp;&nbsp; onload=&#34;max.Click()&#34;&gt;即为打开最大&nbsp;&nbsp;<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/108.htm</link>
			<title><![CDATA[常用JS大收集(一)]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[资源分享]]></category>
			<pubDate>Wed,02 Dec 2009 13:59:09 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=108</guid>
		<description><![CDATA[1.&nbsp;&nbsp; oncontextmenu=&#34;window.event.returnValue=false&#34;&nbsp;&nbsp; 将彻底屏蔽鼠标右键&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;table&nbsp;&nbsp; border&nbsp;&nbsp; oncontextmenu=return(false)&gt;&lt;td&gt;no&lt;/table&gt;&nbsp;&nbsp; 可用于Table&nbsp;&nbsp; <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;2.&nbsp;&nbsp; &lt;body&nbsp;&nbsp; onsel&#101;ctstart=&#34;return&nbsp;&nbsp; false&#34;&gt;&nbsp;&nbsp; 取消选取、防止复制&nbsp;&nbsp; <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;3.&nbsp;&nbsp; onpaste=&#34;return&nbsp;&nbsp; false&#34;&nbsp;&nbsp; 不准粘贴&nbsp;&nbsp; <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;4.&nbsp;&nbsp; oncopy=&#34;return&nbsp;&nbsp; false;&#34;&nbsp;&nbsp; oncut=&#34;return&nbsp;&nbsp; false;&#34;&nbsp;&nbsp; 防止复制&nbsp;&nbsp; <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;5.&nbsp;&nbsp; &lt;link&nbsp;&nbsp; rel=&#34;Shortcut&nbsp;&nbsp; Icon&#34;&nbsp;&nbsp; href=&#34;favicon.ico&#34;&gt;&nbsp;&nbsp; IE地址栏前换成自己的图标&nbsp;&nbsp;<br/> <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;6.&nbsp;&nbsp; &lt;link&nbsp;&nbsp; rel=&#34;Bookmark&#34;&nbsp;&nbsp; href=&#34;favicon.ico&#34;&gt;&nbsp;&nbsp; 可以在收藏夹中显示出你的图标&nbsp;&nbsp;<br/> <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;7.&nbsp;&nbsp; &lt;input&nbsp;&nbsp; style=&#34;ime-mode:disabled&#34;&gt;&nbsp;&nbsp; 关闭输入法&nbsp;&nbsp; <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;8.&nbsp;&nbsp; 永远都会带着框架&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&nbsp;&nbsp; language=&#34;JavaScript&#34;&gt;&lt;!--&nbsp;&nbsp; <br/>&nbsp;&nbsp;if&nbsp;&nbsp; (window&nbsp;&nbsp; ==&nbsp;&nbsp; top)top.location.href&nbsp;&nbsp; =&nbsp;&nbsp; &#34;frames.htm&#34;;&nbsp;&nbsp; //frames.htm为框架网页&nbsp;&nbsp; <br/>&nbsp;&nbsp;//&nbsp;&nbsp; --&gt;&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;9.&nbsp;&nbsp; 防止被人frame&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;SCRIPT&nbsp;&nbsp; LANGUAGE=JAVASCRIPT&gt;&lt;!--&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;if&nbsp;&nbsp; (top.location&nbsp;&nbsp; !=&nbsp;&nbsp; self.location)top.location=self.location;&nbsp;&nbsp; <br/>&nbsp;&nbsp;//&nbsp;&nbsp; --&gt;&lt;/SCRIPT&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;10.&nbsp;&nbsp; 网页将不能被另存为&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;noscript&gt;&lt;iframe&nbsp;&nbsp; src=&#34;/blog/*.html&gt;&#34;;&lt;/iframe&gt;&lt;/noscript&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;11.&nbsp;&nbsp; &lt;input&nbsp;&nbsp; type=button&nbsp;&nbsp; value=查看网页源代码&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;onclick=&#34;window.location&nbsp;&nbsp; =&nbsp;&nbsp; &#34;view-source:&#34;+&nbsp;&nbsp; &#34;<a href="http://www.williamlong.info" target="_blank" rel="external">http://www.williamlong.info</a>&#34;&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;12.删除时确认&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;a&nbsp;&nbsp; href=&#34;javascript:if(confirm(&#34;确实要删除吗?&#34;))location=&#34;boos.asp?&amp;areyou=删除&amp;page=1&#34;&#34;&gt;删除&lt;/a&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;13.&nbsp;&nbsp; 取得控件的绝对位置&nbsp;&nbsp; <br/>&nbsp;&nbsp;//Javascript&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&nbsp;&nbsp; language=&#34;Javascript&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; getIE(e){&nbsp;&nbsp; <br/>&nbsp;&nbsp;var&nbsp;&nbsp; t=e.offsetTop;&nbsp;&nbsp; <br/>&nbsp;&nbsp;var&nbsp;&nbsp; l=e.offsetLeft;&nbsp;&nbsp; <br/>&nbsp;&nbsp;while(e=e.offsetParent)&nbsp;&nbsp; <br/>&nbsp;&nbsp;alert(&#34;top=&#34;+t+&#34;/nleft=&#34;+l);&nbsp;&nbsp; <br/>&nbsp;&nbsp;}&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;//VBScript&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&nbsp;&nbsp; language=&#34;VBScript&#34;&gt;&lt;!--&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; getIE()&nbsp;&nbsp; <br/>&nbsp;&nbsp;dim&nbsp;&nbsp; t,l,a,b&nbsp;&nbsp; <br/>&nbsp;&nbsp;set&nbsp;&nbsp; a=document.all.img1&nbsp;&nbsp; <br/>&nbsp;&nbsp;t=document.all.img1.offsetTop&nbsp;&nbsp; <br/>&nbsp;&nbsp;l=document.all.img1.offsetLeft&nbsp;&nbsp; <br/>&nbsp;&nbsp;while&nbsp;&nbsp; a.tagName&amp;lt;&gt;&#34;BODY&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;set&nbsp;&nbsp; a&nbsp;&nbsp; =&nbsp;&nbsp; a.offsetParent&nbsp;&nbsp; <br/>&nbsp;&nbsp;t=t+a.offsetTop&nbsp;&nbsp; <br/>&nbsp;&nbsp;l=l+a.offsetLeft&nbsp;&nbsp; <br/>&nbsp;&nbsp;wend&nbsp;&nbsp; <br/>&nbsp;&nbsp;msgbox&nbsp;&nbsp; &#34;top=&#34;&amp;t&amp;chr(13)&amp;&#34;left=&#34;&amp;l,64,&#34;得到控件的位置&#34;&nbsp;&nbsp; <br/>&nbsp;&nbsp;end&nbsp;&nbsp; function&nbsp;&nbsp; <br/>&nbsp;&nbsp;--&amp;gt;&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;14.&nbsp;&nbsp; 光标是停在文本框文字的最后&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&nbsp;&nbsp; language=&#34;javascript&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; cc()&nbsp;&nbsp; <br/>&nbsp;&nbsp;{&nbsp;&nbsp; <br/>&nbsp;&nbsp;var&nbsp;&nbsp; e&nbsp;&nbsp; =&nbsp;&nbsp; event.srcElement;&nbsp;&nbsp; <br/>&nbsp;&nbsp;var&nbsp;&nbsp; r&nbsp;&nbsp; =e.cr&#101;ateTextRange();&nbsp;&nbsp; <br/>&nbsp;&nbsp;r.moveStart(&#34;character&#34;,e.value.length);&nbsp;&nbsp; <br/>&nbsp;&nbsp;r.collapse(true);&nbsp;&nbsp; <br/>&nbsp;&nbsp;r.sel&#101;ct();&nbsp;&nbsp; <br/>&nbsp;&nbsp;}&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;input&nbsp;&nbsp; type=text&nbsp;&nbsp; name=text1&nbsp;&nbsp; value=&#34;123&#34;&nbsp;&nbsp; onfocus=&#34;cc()&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;15.&nbsp;&nbsp; 判断上一页的来源&nbsp;&nbsp; <br/>&nbsp;&nbsp;javascript:&nbsp;&nbsp; <br/>&nbsp;&nbsp;document.referrer <br/><br/>&nbsp;&nbsp;<br/>16.&nbsp;&nbsp; 最小化、最大化、关闭窗口&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;object&nbsp;&nbsp; id=hh1&nbsp;&nbsp; classid=&#34;clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;param&nbsp;&nbsp; name=&#34;Command&#34;&nbsp;&nbsp; value=&#34;Minimize&#34;&gt;&lt;/object&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;object&nbsp;&nbsp; id=hh2&nbsp;&nbsp; classid=&#34;clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;param&nbsp;&nbsp; name=&#34;Command&#34;&nbsp;&nbsp; value=&#34;Maximize&#34;&gt;&lt;/object&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;OBJECT&nbsp;&nbsp; id=hh3&nbsp;&nbsp; classid=&#34;clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;PARAM&nbsp;&nbsp; NAME=&#34;Command&#34;&nbsp;&nbsp; VALUE=&#34;Close&#34;&gt;&lt;/OBJECT&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;input&nbsp;&nbsp; type=button&nbsp;&nbsp; value=最小化&nbsp;&nbsp; onclick=hh1.Click()&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;input&nbsp;&nbsp; type=button&nbsp;&nbsp; value=最大化&nbsp;&nbsp; onclick=hh2.Click()&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;input&nbsp;&nbsp; type=button&nbsp;&nbsp; value=关闭&nbsp;&nbsp; onclick=hh3.Click()&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;本例适用于IE&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;17.屏蔽功能键Shift,Alt,Ctrl&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;function&nbsp;&nbsp; look(){&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;if(event.shiftKey)&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;alert(&#34;禁止按Shift键!&#34;);&nbsp;&nbsp; //可以换成ALT　CTRL&nbsp;&nbsp; <br/>&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;document.onkeydown=look;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;/script&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;18.&nbsp;&nbsp; 网页不会被缓存&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;META&nbsp;&nbsp; HTTP-EQUIV=&#34;pragma&#34;&nbsp;&nbsp; CONTENT=&#34;no-cache&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;META&nbsp;&nbsp; HTTP-EQUIV=&#34;Cache-Control&#34;&nbsp;&nbsp; CONTENT=&#34;no-cache,&nbsp;&nbsp; must-revalidate&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;META&nbsp;&nbsp; HTTP-EQUIV=&#34;expires&#34;&nbsp;&nbsp; CONTENT=&#34;Wed,&nbsp;&nbsp; 26&nbsp;&nbsp; Feb&nbsp;&nbsp; 1997&nbsp;&nbsp; 08:21:57&nbsp;&nbsp; GMT&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;或者&lt;META&nbsp;&nbsp; HTTP-EQUIV=&#34;expires&#34;&nbsp;&nbsp; CONTENT=&#34;0&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;19.怎样让表单没有凹凸感？&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;input&nbsp;&nbsp; type=text&nbsp;&nbsp; style=&#34;border:1&nbsp;&nbsp; solid&nbsp;&nbsp; #000000&#34;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;或&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;input&nbsp;&nbsp; type=text&nbsp;&nbsp; style=&#34;border-left:none;&nbsp;&nbsp; border-right:none;&nbsp;&nbsp; border-top:none;&nbsp;&nbsp; border-bottom:&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;1&nbsp;&nbsp; solid&nbsp;&nbsp; #000000&#34;&gt;&lt;/textarea&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;20.&lt;div&gt;&lt;span&gt;&amp;&lt;layer&gt;的区别？&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;div&gt;(division)用来定义大段的页面元素，会产生转行&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;span&gt;用来定义同一行内的元素，跟&lt;div&gt;的唯一区别是不产生转行&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;layer&gt;是ns的标记，ie不支持，相当于&lt;div&gt; <br/>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/107.htm</link>
			<title><![CDATA[CSS解决网页挂马问题]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[CSS Html]]></category>
			<pubDate>Wed,04 Nov 2009 13:36:54 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=107</guid>
		<description><![CDATA[现在网页木马越来越猖獗，特别对安全意识不高的小网站，自身缺少安全技术方面的专业人才。经常遇到被挂马。现在我们来看看CSS怎么能解决这个问题，两行CSS来解决网页挂马问题，共5种方案<br/><br/>一、<br/><br/>iframe{n1ifm:e&#173;xpression（this.src=‘about:blank’，this.outerHTML=‘’）;}/*这行代码是解决挂IFRAME木马的哦*/<br/><br/>script{nojs1:e&#173;xpression（（this.src.toLowerCase（）.indexOf（‘http’）==0）？document.write（‘木马被成功隔离！’）：‘’）;}<br/><br/>原理：将《script》标记的src拿出来转为小写，再看是不是以“http”开头的外域JS脚本文件，如果是，则页面内容清空并写出“木马被成功隔离！”。反之正常显示。 缺点：访客无法看到被感染了《script》木马的页面。<br/><br/>二、<br/><br/>iframe{nifm2:e&#173;xpression（this.src=‘about:blank’，this.outerHTML=‘’）;}<br/><br/>script{no2js:e&#173;xpression（（this.src.toLowerCase（）.indexOf（‘http’）==0）？document.close（）：‘’）;}<br/><br/>原理：将外域的JS文件的document.write（）使用document.close（）强制关闭。木马内容还没有来得及写完，只有部分被强制缓存输出了，剩下的不会再写了。<br/><br/>三、<br/><br/>iframe{ni3fm:e&#173;xpression（this.src=‘about:blank’，this.outerHTML=‘’）;}<br/><br/>script{n3ojs:e&#173;xpression（（this.src.toLowerCase（）.indexOf（‘http’）==0）？document.execCommand（‘stop’）：‘’）;}<br/><br/>原理：同到外域的JS文件，立即调用IE私有的execCommand方法来停止页面所有请求，所以接下来的外域JS文件也被强制停止下载了。就像我们点了浏览器的“停止”按钮一样。看来这是JS模拟IE停止按钮的一种方法。<br/><br/>四、<br/><br/>iframe{nif4m:e&#173;xpression（this.src=‘about:blank’，this.outerHTML=‘’）;}<br/><br/>script{noj4s:e&#173;xpression（if（this.src.indexOf（‘http’）==0）this.src=‘res://ieframe.dll/dnserror.htm’）;}<br/><br/>原理：将外域的JS文件的src重写成本地IE404错误页面的地址，这样，外域的JS代码不会下载。<br/><br/>五、<br/><br/>iframe{nifm5:e&#173;xpression（this.src=‘about:blank’，this.outerHTML=‘’）;}<br/><br/>script{noj5s:e&#173;xpression（（this.id.toLowerCase（）.indexOf（‘vok’）！=-1）？document.write（‘木马被成功隔离！’）：‘’））;}<br/><br/>第五种方案的页面HTML源代码《script》中要加入以“lh”为前缀的id，如lhWeatherJSapi，《script src=“***/**.js” id=“lhSearchJSapi”》《/script》<br/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/106.htm</link>
			<title><![CDATA[SEO中的几个错误认识]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[SEO]]></category>
			<pubDate>Thu,10 Sep 2009 13:33:10 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=106</guid>
		<description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由于seo资料的时效性很短，所以很多新手在学习seo的过程中往往被那些半懂不懂的人所误导。seo相对于搜索引擎来说是比较被动的，有些理论确实是谁也说不清楚的，谁也解释不了的，只能是猜测，唯一我们能够确定的是，所有的搜索引擎都是把用户最需要的东西提供到最前面。 <br/>&nbsp;&nbsp;&nbsp;&nbsp;很多新手seo在seo学习的过程中还在相信几年前那些一尘不变的观点，所以在自己做站的过程中什么都是问题，不如一定要把页面静态化，一定要在标题上加h1标签，一定要css所有页面。其实完全没有必要。seo中没有太过具体的技术上的东西。<br/><br/><strong>网站页面URL一定要静态化。</strong> <br/>&nbsp;&nbsp;&nbsp;&nbsp;这个现在我都不怎么觉得有很大的区别了，早期的搜索引擎技术不成熟，在对于动态和静态抓去上面是有不同，对于带问号或者其他符号的繁琐的动态URL地址抓去上有点障碍。但是在现在，搜索引擎技术已经很成熟了，对于动态地址同样可以抓取。静态地址是比动态地址有优势，但是这个优势是微乎其微的。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;而且google管理员中文博客当中明确了说明了，不建议站长有意识的修改地址，有时候动态地址还更加的方便google爬虫通过地址参数读取地址中的含义，请看这篇文章动态网址与静态网址<br/><br/><strong>一定要全站div+css </strong><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;来讲讲为什么用div+css有利于搜索引擎抓取。第一，同样的页面，在用传统的table表格和css做出来的网页页面代码和网页大小就不一样，搜索引擎蜘蛛抓去的时候，代码少的肯定抓取速度高。第二，就是页面的显示速度了，用表格做出来的网页是全部下载，全部显示，对于带宽小，或页面代码非常大的网页很明显的可以看出来。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;而css做出来的网页，是下载一点，显示一点，这样显示速度就有明显的区别了。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;所以到底有没有必要全站css这也得看实际情况了，如果网页很简单，没有复杂的背景，或者其他颜色什么的，我感觉用表格做如果很简单方便的话，用表格去做完全没什么问题。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;还是看情况而定，假如是做新站的话，那最好还是div+css，假如网站重新架构的话，需要从表格转变为css还得考虑，看下改了后代码大小和显示速度，看下换成css网站的工程量有多大，根据实际情况而定。<br/><br/><strong>一定要加Keywords和Description </strong><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 我最开始学seo的时候也是以为关键词和描述写好了，网站就能得到很好的排名，而天天研究关键词和描述该怎么写。meta标签都是为搜索引擎提供参考的，也就是说只是参考作用。另一方面的意思就是说如果写的不准确，还不如不写。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;另一方面description本身就是动态的，搜索不同的词，出来的描述是不一样的，搜索引擎会自动为网站判断这些，所以没必要。有时候不加关键词和描述要比加了关键词描述效果好很多。<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/105.htm</link>
			<title><![CDATA[初探 HTML5(转)]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[CSS Html]]></category>
			<pubDate>Thu,10 Sep 2009 13:22:18 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=105</guid>
		<description><![CDATA[<strong>html5如何而来？</strong><br/>HTML isn&#39;t a very good language！它亟待改进。<br/>因此，1999年W3C停止了HTML的工作，2000年发布xhtml的第一个推荐版本。<br/>2002年W3C发布XHTML 2.0第一个草案，令人吃惊的是：XHTML2.0不是向后兼容的（Web 的未来：XHTML 2.0(2003.1.1)）。<br/>随着XHTML的越来越火，绝大多数人都认为它将是web的未来。然而终于有些人坐不住了，面对W3C对HTML的持续冷淡，2004年，由Apple, Mozilla Foundation 和Opera Software组成了The Web Hypertext Application Technology Working Group (WHATWG)，致力于发展HTML和创建Web applications所需的APIs。他们开始制定Web Applications 1.0 规范，这也就是后来HTML5。<br/>WHATWG的努力没有白费，这份规范的草案在2007年通过了W3C的审核。<br/>W3C组织了HTML工作组，并在2008年1月22日公开了第一份草案。<br/>2009年7月2日，W3C宣布在年内停止XHTML 2的工作，而将资源投入转向HTML5工作组（XHTML 2 Working Group Expected to Stop Work End of 2009, W3C to Increase Resources on HTML 5）<br/>在标准化的春风吹满神州之际，xhtml2却溘然而止,HTML5取代上位，我们广大的web工作者是不是需要做什么呢？<br/><br/>我们不需要做什么！<br/>HTML5 的目标是保持HTML当前标准HTML4.01和HTML的XML版本XHTML1.0 向后兼容。<br/>同以前的HTML4一样：它没有名称空间或模式、元素不必结束、浏览器会宽容地对待错误。<br/>对于XHTML1，它也没有什么排斥。<br/>相反的，XHTML2才是不向后兼容的。<br/>所以，我们并不需要非得做什么改变，才能适应在HTML5下面的页面工作。<br/>当然HTML5不会仅仅如此而已，只是HTML5是想让不支持它的浏览器中能够平稳地退化。<br/>随着浏览器的缓慢升级，HTML5的真正好处才会开始慢慢体现，当别人的网页通过html5实现了越来越多的功能之后。到时，你再虑是不是需要做什么——理论上讲，也是不晚的。<br/>我们不需要做什么，但我们可以做的更多<br/><br/><strong>HTML5能做什么？</strong><br/>一句话：很多！HTML5还在草案阶段，他的功能仍将扩展。<br/>首先，我们应该知道，html5已经不只是Hypertext Markup Language，它更是一种Web Hypertext Application Technology。<br/><br/>1. html5增加了一些结构性（Sections）元素：header,footer,nav,section,article,aside，用来替代千篇一律的div布局，非常语义化。<br/><br/>2. 还有meter（数值尺），progress(进度表)，mark（标记）这些语义内联元素。通过自带的属性，可以进行很直接地描述。<br/><br/>3.一些交互元素。details（脚注），datagrid（网格控件——可动态显示树、列表和表格），menu和command（可以做交互菜单）<br/><br/>4. 媒体元素video,audio,source。不需要借助第三方插件，页面就能播放多媒体。<br/><br/>5. canvas元素。脚本绘图，它的最终目标是flash般的动画展示和交互体验。不要以为很遥远，canvas在FireFox1.5就有了，opera,safari也是一样支持甚早（这个标签是就是苹果的发明）。<br/><br/>6. 表单处理功能。HTML5吸收了WHATWG之前的Web Forms 2.0。验证数据是如此简单。<br/><br/>7. 页面元素的拖曳和编辑。<br/><br/>8. HTML5的离线存储技术 <a href="http://dev.w3.org/html5/webstorage/" target="_blank" rel="external">http://dev.w3.org/html5/webstorage/</a><br/>......<br/><br/>好了， HTML5能做的够多了，但他还处在草案阶段，那关键是现在我们能做什么呢？<br/><br/><strong>我们能做什么？</strong><br/>HTML5估计能在2012年之前成为W3C的候选推荐标准，不过在这之前，只要浏览器支持，我们都可以使用html5的功能。<br/><br/>1. HTML5新元素布局。<br/>除了ie系列浏览器外，其它大多数浏览器都能识别HTML5的那些新元素标签，可以对其进行style，这就意味着它们可以使用HTML5的新元素标签进行页面布局。<br/>但问题是ie系列浏览器是无法对其不承认的元素添加样式的，而缺少了IE的支持，大多数人都会束手束脚。解决这个问题的方法早已经了:HTML5 Shiv<br/>很简单:<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;script&gt;<br/>document.cr&#101;ateElement(&#34;元素名称&#34;)<br/>&lt;/script&gt;<br/></div></div><br/><br/>创建文档元素。<br/>批量创建的方法:<br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>(function(){<br/>&nbsp;&nbsp;&nbsp;&nbsp;if(!/*@cc_on!@*/0) return;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;var html5 = &#34;abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,event,source,figure,footer,hgroup,header,mark,menu,meter,nav,output,progress,section,time,video&#34;.split(&#39;,&#39;);&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;for(var i = 0, len = html5.length; i &lt; len; i++ ) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;document.cr&#101;ateElement(html5[i]);&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>})<br/>();<br/></div></div><br/><br/>现在在IE里也可以对HTML5元素进行布局了。<br/>不过，在此之前，我们还需要对这些新元素定义基本的Display style,<br/>这个工作本来一般是由浏览器完成的，比如FireFox的html.css。<br/>现在只能自己对引进的HTML5元素进行定义了。<br/>那么哪些需要定义成display:block;哪些又是不需要呢？这个我们可以看下W3C是怎么定义的：<a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#display-types" rel="external">display-types</a><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>address, article, aside, blockquote, body, center, dd, dialog, dir,<br/>div, dl, dt, figure, footer, form, h1, h2, h3, h4, h5, h6, header,<br/>hgroup, hr, html, legend, listing, menu, nav, ol, p, plaintext, pre,<br/>section, ul, xmp { display: block; }<br/></div></div><br/><br/>刨除HTML老元素，以下这些元素:<br/>article,aside,dialog,figure,footer,header,hgroup,nav,section可以定义为{display:block;}<br/>这篇针对HTML 5 Reset Stylesheet的文章也可以参考下： <a href="http://html5doctor.com/html-5-reset-stylesheet/" target="_blank" rel="external">http://html5doctor.com/html-5-reset-stylesheet/</a>。文章在Eric的CSS Reset的基础上考虑HTML5新元素及W3C规范推荐下对元素进行了style reset。当然reset CSS本身就存在争议的，一般来说，reset CSS是你自己的style，很多东西都可以按你的意愿来定，当然不要太偏离W3C的元素设计本意。<br/>接下来，使用HTML5新元素进行布局就可以随心所欲了<br/>（还是悠着点好,有些元素的使用会产生冲突。而且这种让ie支持的方法使得整个布局都是依靠于js的）。<div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp18940">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>HTML5新标签试用</title>
<style type=&#34;text/css&#34;>
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;}
body {font:normal 12px/140% Georgia,Tahoma,Verdana,Arial,sans-serif;}
article,aside,dialog,figure,footer,header,hgroup,nav,section{display:block;}
ul,ol{list-style:none;}
blockquote, q{quotes:none;}
blockquote:before, blockquote:after,q:before, q:after {content:'';content:none;}
a {margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;background:transparent;}
ins{background-color:#ff9;color:#000;text-decoration:none;}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold;}
del{text-decoration: line-through;}
abbr[title], dfn[title]{border-bottom:1px dotted #000;cursor:help;}
table {border-collapse:collapse;border-spacing:0;}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}
input,sel&#101;ct{vertical-align:middle;}
/* reset over */
body{overflow-x:hidden;}
header{height:60px;background:#669bb7;position:fixed;_position:absolute;left:0;width:100%;}
h1{font:bold 40px/110% Georgia;text-align:center;border-bottom:10px dashed #fff;}
h1 a{text-decoration:none;position:relative;}
h1 span{color:#000;zoom:1;opacity:0.5;filter:alpha(opacity=50);}
h1 b{position:absolute;left:0;margin-left:-2px;margin-top:-1px;color:#fff;cursor:pointer;}
.main{min-width:400px;max-width:970px;overflow:hidden;margin:0 auto;padding-top:70px;_margin:0 20px;}
aside{background:#e2ebf0;float:left;width:160px;padding:5px;margin-right:10px;display:inline;}
.portrait{width:132px;margin:0 auto;padding:5px;text-align:center;border-bottom:1px solid #c0d6df;}
.portrait img{display:block;width:120px;height:180px;padding:3px;background:#fff;border:4px solid #e3e3e3;border-left:2px solid #e0e0e0;border-top:1px solid #e3e3e3;margin-left:1px}
.portrait span{line-height:150%;cursor:help;}
aside nav{padding:5px 10px;}
aside nav li{font-size:14px;line-height:150%;}
aside nav li a{text-decoration:none;color:#005eac;}
section{border-top:20px solid #fff;margin-left:20px;background:#f6f6f6;padding:10px;padding-left:20px;}
article h2{font-size:18px;text-align:center;}
article h2 a{color:#73a6bc}
article h3,article p{margin:8px 0;}
dialog time{padding-left:10px;font-style:italic;}
footer{clear:both;text-align:center;sss}
</style>
<script type=&#34;text/javascript&#34;>
(function(){
if(!/*@cc_on!@*/0) return;     
var html5 = &#34;abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,hgroup,header,mark,menu,meter,nav,output,progress,section,time,video&#34;.split(',');    
for(var i = 0, len = html5.length; i < len; i++ ) {document.cr&#101;ateElement(html5[i]); }})();
</script>
</head>
<body>
<header>
	<h1><a href=&#34;<a href="http://www.cssass.com" target="_blank" rel="external">http://www.cssass.com</a>&#34; target=&#34;_blank&#34;><span>CSSASS</span><b>CSSASS</b></a></h1>
</header>
<div class=&#34;main&#34;>
<aside>
<figure class=&#34;portrait&#34;>
	<img alt=&#34;A boy named oneboys said he is The One.&#34;  src=&#34;<a href="http://center.blueidea.com/data/avatar/000/36/17/22_avatar_middle.jpg" target="_blank" rel="external">http://center.blueidea.com/data/avatar/000/36/17/22_avatar_middle.jpg</a>&#34; />
	<!-- <legend>ONEBOYS</legend>  legend标签在html5之前是只允许作为fieldset的第一个子元素的，所以加在这里会出错。无法实现。我们还是用span来代替-->
	<span><a href=&#34;<a href="http://www.cssass.com" target="_blank" rel="external">http://www.cssass.com</a>&#34; target=&#34;_blank&#34;>ONEBOYS</a></span>
</figure>
<nav>
	<ul>
		<li><a href=&#34;#&#34;>首页</a></li>
		<li><a href=&#34;#&#34;>我的主页</a></li>
		<li><a href=&#34;#&#34;>个人资料</a></li>
		<li><a href=&#34;#&#34;>心情日志</a></li>
	</ul>
</nav>
</aside>
<section>
	<article class=&#34;article1&#34;>
        <h2><a href=&#34;<a href="http://html5doctor.com/html-5-reset-stylesheet/" target="_blank" rel="external">http://html5doctor.com/html-5-reset-stylesheet/</a>&#34; target=&#34;_blank&#34;>HTML 5 Reset Stylesheet</a></h2>
        <p>We’ve had a number of people asking about templates, boilerplates and styling for HTML 5 so to give you all a helping hand and continue on from those basic building blocks that Remy talked about last week I’ve cr&#101;ated a HTML 5 reset stylesheet for you to take away and use, edit, amend and up&#100;ate in your projects.</p>
		<p>Based on Eric Meyers CSS reset, I’ve made a few adjustments from Erics work that we’ll get to later but first here’s the file in full and we’ll then break it down step by step.</p>
		<h3>So what’s new then?</h3>
		<p>Well firstly, I’ve removed those elements that have been deprecated from the HTML 5 specification such as &amp;lt;acronym&amp;gt;, &amp;lt;font&amp;gt; and &amp;lt;big&amp;gt; (We’ll cover deprecated elements in more detail in another post). I’ve added in the the new HTML 5 elements to the reset, to remove any default padding, margin and borders. I’ve then added the explicit display:block declaration for those elements that are required to render as blocks.</p>
		<p>I’ve also removed the :focus part from Eric’s stylesheet. There are two reasons for this; the first is that by declaring outline:0 you remove the focus identifier for keyboard users. The second is that although Eric released his stylesheet in good faith that people would edit it and style :focus, they don’t. You will also notice that I’ve set defaults for <ins>&amp;lt;ins&amp;gt</ins>; as I don’t think they got up&#100;ated very often in Eric’s styles either.</p>
		<p>Another change from Eric’s stylsheet is that I decided to remove the lines that remove bullets from lists, the reason for this is purely personal. I tend to only add the list style back in when using Erics reset anyway. I have however included nav ul {list-style:none;} to at least remove those pesky bullets from your navigation. </p>
		
		<h3>Using attribute sel&#101;ctors</h3>
		<p>You’ll notice that I’ve included attribute selctors for <abbr title=&#34;缩写：abbreviation&#34;>&amp;lt;abbr&amp;gt;</abbr> and <dfn>&amp;lt;dfn&amp;gt;</dfn>, the reason for this is I only want the style to appear if there is a title attribute to be displayed. The reason for this is primarly for accessibility. For example we use &amp;ltabbr&amp;gt regularly on this site but don’t always include a title attribute, that’s because it’s safe to assume all (no matter what device they are using) our readers know what HTML is, however we need to still include &amp;ltabbr&amp;gt to make sure screenreaders read the text as H-T-M-L rather than “HTML” which they struggle to pronounce.</p>
		<h3>What’s that bit about mark?</h3>
		<p><mark>&amp;lt;mark&amp;gt</mark>; is a new element introduced in HTML 5 used to (you guessed it) mark text in a document. The spec describes <mark>&amp;lt;mark&amp;gt</mark>; as “The mark element represents a run of text in one document marked o&#114; highlighted for reference purposes, due to its relevance in another context.”. I anticipate this it will be used for highlighting phrases in search results and similar. We’ll have more on this in a post soon.</p>
		<h3>Wh&#101;re are all those application elements?</h3>
		<p>“Application elements” is the term I’ve used to loosely describe those elements such as &amp;lt;datagrid&amp;gt;, &amp;lt;datalist&amp;gt; etc. Basically those that you are likely to find in web apps rather than websites. These have been left out because at the current time hardly any of what was ‘Web Applications 1.0′ has been implemented by browsers. Also this reset is primarily aimed at those serving their pages as text/html not xml.</p>
		<h3>Go grab it</h3>
		<p>So that basically wraps it up, it’s released under a creative commons license and you can use it for both personal and commercial work. I thought I’d let Google take care of the hosting so go grab it from Google Code and let me know of any thoughts, queries o&#114; improvements you can offer.</p>
	</article>
</section>
</div>
<footer>Copyright &amp;copy; 2009 Cssass.com </footer>
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp18940')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp18940')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/>2. Drag &amp; dro&#112;<br/>Drag &amp; dro&#112;是浏览器支持度比较高的HTML5内容：<br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp10654"><!DOCTYPE HTML>
<html>
<head>
  <title>Drag and Dro&#112;</title>
  <style>
   div {margin: 1em 2em; border: black solid;text-align: center;float:left;height: 9em; width: 12em; }
	img {width:4em;float:left; }
	p{clear:left;}
  </style>
 </head>
<body>
  <h1>Drag and Dro&#112;</h1>
  <div ondro&#112;=&#34;dro&#112;(this, event)&#34; ondragenter=&#34;return false&#34; ondragover=&#34;return false&#34;>
   <p>Good</p>
  </div>
  <div ondro&#112;=&#34;dro&#112;(this, event)&#34; ondragenter=&#34;return false&#34; ondragover=&#34;return false&#34;>
   <p>Bad</p>
  </div>
  <p>
   <img src=&#34;<a href="http://www.baidu.com/img/baidu_logo.gif" target="_blank" rel="external">http://www.baidu.com/img/baidu_logo.gif</a>&#34; id=&#34;baidu&#34; alt=&#34;baidu&#34; ondragstart=&#34;drag(this, event)&#34;>
   <img src=&#34;<a href="http://www.google.cn/intl/zh-CN/images/logo_cn.gif" target="_blank" rel="external">http://www.google.cn/intl/zh-CN/images/logo_cn.gif</a>&#34; id=&#34;google&#34; alt=&#34;google&#34; ondragstart=&#34;drag(this, event)&#34;>
   <img src=&#34;<a href="http://www.blueidea.com/img/common/logo.gif" target="_blank" rel="external">http://www.blueidea.com/img/common/logo.gif</a>&#34; id=&#34;blueidea&#34; alt=&#34;blueidea&#34; ondragstart=&#34;drag(this, event)&#34;>
   <img src=&#34;<a href="http://www.w3.org/Icons/w3c_main" target="_blank" rel="external">http://www.w3.org/Icons/w3c_main</a>&#34; id=&#34;W3C&#34; alt=&#34;W3C&#34; ondragstart=&#34;drag(this, event)&#34;>
  </p>
  <script>
   function drag(target, e) {
     e.dataTransfer.setData('Text', target.id);
   }
   function dro&#112;(target, e) {
     var id = e.dataTransfer.getData('Text');
     target.appendChild(document.getElementById(id));
     e.preventDefault();
   }
  </script>
 </body>
 </html></TEXTAREA><br/><INPUT onclick="runEx('temp10654')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp10654')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/>3. canvas<br/>我们先看一些canvas的示例（不支持ie）：<br/><a href="http://www.agustinfernandez.com.ar/proyectos/canvas/" target="_blank" rel="external">http://www.agustinfernandez.com.ar/proyectos/canvas/</a><br/><a href="http://www.whatwg.org/demos/2008-sept/color/color.html" target="_blank" rel="external">http://www.whatwg.org/demos/2008-sept/color/color.html</a><br/>网上还有一些互动性蛮强的Demo.<br/>canvas应用的发展无疑将威胁到也行进在富Web之路上的Flash和Silverligth这些Web插件。<br/><br/>canvas在safari,firefox,opera很早就有了支持，但IE缺迟迟不予支持，尽管他在ie8中已经开始支持多个HTML5功能。MS的同志很有理由这么做:“HTML 5标准制定之前,某些功能确实已经得以实现,例如Google Gears实现了离线应用程序功能,Flash和silverlight实现了类似Canvas API的功能.在下一代HTML规范中设置这些内容未必非常必要”。要知道MS在silverlight是花了很大力气。事实上，MS在参与HTML5之事上一直非常谨慎，并且希望精简HTML5。<br/>Flash的所有者，HTML5参与者之一Adobe则表现的很轻松：“canvas还很弱，HTML 5 + CSS 3 可能要 10年的时间才能定稿，在这期间，Flash 会持续发展，并提供更好的用户体验”。<br/><br/>尽管IE没有支持canvas功能，但我们可以使用JS模拟达到：<br/><a href="http://excanvas.sourceforge.net" target="_blank" rel="external">http://excanvas.sourceforge.net</a><br/>这是其中的一个Demo,试试你的IE:<br/>3Dcanvas_For_IE.html<br/><br/>4. audio and video<br/>使用FireFox3.5看看下面这个Video Demo。<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp88628"><!DOCTYPE HTML>
<html>
<head>
<title>Video</title>
</head>
<body>
	<h1>Video</h1>
	<video src=&#34;<a href="http://v2v.cc/~j/theora_testsuite/320x240.ogg" target="_blank" rel="external">http://v2v.cc/~j/theora_testsuite/320x240.ogg</a>&#34; controls autoplay >  
	   你的浏览器不支持
	</video>  
	<script>
		var video = document.getElementsByTagName('video')[0];
	</script>
	<p><input type=&#34;button&#34; value=&#34;█ █&#34; onclick=&#34;if (video.paused) video.play(); else video.pause()&#34;></p>
</body>
</html></TEXTAREA><br/><INPUT onclick="runEx('temp88628')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp88628')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/>我们没有引入flash播放器就能播放swf。<br/><br/><br/>在下面这个页面里罗列了各浏览器所支持的HTML5功能：<br/>Implementations in Web browsers<br/><br/>随着浏览器的升级，翻新，他们支持的东西会越来越多，提供给我们前端工作者发挥的空间也越来越大。<br/><br/>文章blog地址：<a href="http://www.cssass.com/blog/index.php/2009/402.html" target="_blank" rel="external">http://www.cssass.com/blog/index.php/2009/402.html</a><br/><br/>HTML5王者归来! coming back soon...&nbsp;&nbsp;期待吧....<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/104.htm</link>
			<title><![CDATA[隔行换色的的讨论与实现]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[CSS Html]]></category>
			<pubDate>Wed,12 Aug 2009 15:18:23 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=104</guid>
		<description><![CDATA[我们在做数据表格时经常需要用到隔行换色，这样可以更好的区分数据。但是要实现这效果方法也很多。那么最好的方法是什么呢？下面我们来看看，有很多朋友想到过很多方法：<br/><br/><strong>一、CSS中的行为e&#173;xpression </strong><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;style&gt;<br/>tr{ yexj00:e&#173;xpression(this.style.background=(rowIndex%2==1)?&#39;orange&#39;:&#39;yellow&#39;)}<br/>&lt;/style&gt;<br/>&lt;table width=456 style=&#34;border-collapse:collapse; table-layout:fixed&#34; border rules=cols&gt;<br/>&lt;tr&gt;<br/> &lt;td&gt; &lt;/td&gt;<br/>&lt;/tr&gt;<br/>&lt;tr&gt;<br/>&lt;td&gt; &lt;/td&gt;<br/>&lt;/tr&gt;<br/>&lt;tr&gt;<br/>&lt;td&gt; &lt;/td&gt;<br/>&lt;/tr&gt;<br/>&lt;tr&gt;<br/>&lt;td&gt; &lt;/td&gt;<br/>&lt;/tr&gt;<br/>&lt;tr&gt;<br/>&lt;td&gt; &lt;/td&gt;<br/>&lt;/tr&gt;<br/>&lt;tr&gt;<br/>&lt;td&gt; &lt;/td&gt;<br/>&lt;/tr&gt;<br/>&lt;/table&gt;<br/></div></div><br/><br/><span style="color:Red">注意：这种方法FF不支持</span><br/><br/><strong>二、写两个样式，不同的行调用不同的样式</strong><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;ul&gt;<br/>&lt;li class=&#34;color_a&#34;&gt;...&lt;/li&gt;<br/>&lt;li&gt;...&lt;/li&gt;<br/>&lt;li class=&#34;color_a&#34;&gt;...&lt;/li&gt;<br/>&lt;li&gt;...&lt;/li&gt;<br/>&lt;/ul&gt;<br/></div></div><br/><br/>注意：这种方法对于程序员来说就比较郁闷了，因为他们在加程序的时候不大好循环。<br/><br/><strong>三、用JS来实现</strong><br/><br/>这样既避免了程序员在加程序时循环的困难，兼容性也很不错。<br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp46844">
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; />
<title>无标题文档</title>
<style type=&#34;text/css&#34;>
<!--
#ejiaA1 {
	width: 550px;
	border-top: #E3E3E3 1px solid;
	border-left: #E3E3E3 1px solid;
}
#ejiaA1 td,#ejiaA1 th {
	padding: 5px;border-right: #E3E3E3 1px solid;
	border-bottom: #E3E3E3 1px solid;
	font-size:12px;
	height:16px; line-height:16px;
}
#ejiaA1 tr td span {color: #686868}
#ejiaA1 tr td span.st1 {color: #ff0000}
--></style>
<script language=&#34;javascript&#34;><!--
function ejiaA1(o,a,b,c,d){
	var t=document.getElementById(o).getElementsByTagName(&#34;tr&#34;);
	for(var i=0;i<t.length;i++){
		t[i].style.backgroundColor=(t[i].sectionRowIndex%2==0)?a:b;
		t[i].onclick=function(){
			if(this.x!=&#34;1&#34;){
				this.x=&#34;1&#34;;//本来打算直接用背景色判断，FF获取到的背景是RGB值，不好判断
				this.style.backgroundColor=d;
			}else{
				this.x=&#34;0&#34;;
				this.style.backgroundColor=(this.sectionRowIndex%2==0)?a:b;
			}
		}
		t[i].onmouseover=function(){
			if(this.x!=&#34;1&#34;)this.style.backgroundColor=c;
		}
		t[i].onmouseout=function(){
			if(this.x!=&#34;1&#34;)this.style.backgroundColor=(this.sectionRowIndex%2==0)?a:b;
		}
	}
}
--></script>
</head>
<body>
<table width=&#34;500&#34; border=&#34;0&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34; id=&#34;ejiaA1&#34;>
  <tr>
    <td colspan=&#34;4&#34;><span class=&#34;st1&#34;>号码：<span>2460</span>　　当前页：<span>第1页 共2页 </span>　　总次数：<span>66</span>　　总时长：<span>284小时36分27秒</span></span></td>
  </tr>
  <tr>
   <th>接入方式</th><th>上网时间</th><th>下网时间</th><th>上网时长</th>
  </tr>
  <tr>
    <td>宽带接入</td>
    <td>2008-4-23　12:40:18</td>
    <td>2008-4-23　14:50:28</td>
    <td>2小时10分10秒</td>
  </tr>
  <tr>
    <td>宽带接入</td>
    <td>2008-4-23　12:40:18</td>
    <td>2008-4-23　14:50:28</td>
    <td>2小时10分10秒</td>
  </tr>
  <tr>
    <td>宽带接入</td>
    <td>2008-4-23　12:40:18</td>
    <td>2008-4-23　14:50:28</td>
    <td>2小时10分10秒</td>
  </tr>
  <tr>
    <td>宽带接入</td>
    <td>2008-4-23　12:40:18</td>
    <td>2008-4-23　14:50:28</td>
    <td>2小时10分10秒</td>
  </tr>
  <tr>
    <td>宽带接入</td>
    <td>2008-4-23　12:40:18</td>
    <td>2008-4-23　14:50:28</td>
    <td>2小时10分10秒</td>
  </tr>
  <tr>
    <td>宽带接入</td>
    <td>2008-4-23　12:40:18</td>
    <td>2008-4-23　14:50:28</td>
    <td>2小时10分10秒</td>
  </tr>
</table>
  <script language=&#34;javascript&#34;><!--
//ejiaA1(&#34;表格名称&#34;,&#34;奇数行背景&#34;,&#34;偶数行背景&#34;,&#34;鼠标经过背景&#34;,&#34;点击后背景&#34;);
ejiaA1(&#34;ejiaA1&#34;,&#34;#fff&#34;,&#34;#F5F5F5&#34;,&#34;#FFFFCC&#34;,&#34;#FFFF84&#34;);
--></script>
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp46844')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp46844')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/103.htm</link>
			<title><![CDATA[CSS实现边框双线的方法]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[CSS Html]]></category>
			<pubDate>Mon,10 Aug 2009 17:51:15 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=103</guid>
		<description><![CDATA[CSS的边框border属性经常会用到，但是，其参数值到底有几个？未必大家都知道。<br/><br/>以下是《CSS属性、浏览器兼容与网页布局》中关于边框样式的部分内容：<br/><br/>8.8.3 边框样式<br/>只定义边框的宽度并不会使元素显示边框，因为边框样式的默认设定为“none（无）”，边框样式规定了边框的线型（实线，双线，点线等），而且也包括4个方向的属性：border-top-style、border-right-style、border-bottom-style、border- left-style和缩写属性border-style。<br/><br/>其具体定义列表如下：<br/><br/>语法：<br/>border-top- style: none | hidden | &lt;关键字&gt; | inherit<br/>border-right- style: none | hidden | &lt;关键字&gt; | inherit<br/>border-bottom- style: none | hidden | &lt;关键字&gt; | inherit<br/>border-left- style: none | hidden | &lt;关键字&gt; | inherit<br/><br/>说明：<br/><br/>设定元素边框的线型值：<br/>none：没有边框。该值迫使border-width的计算值为0。<br/>hidden：和none相似，除非在表格元素中解决边框冲突时。<br/><br/>线型的关键字包括： <br/>dotted：边框是一系列的点。<br/>dashed：边框是一系列的短线条的段。<br/>solid：边框是一条单一的线。<br/><span style="color:Red">double：边框有两条实线。两条线宽和其中的空白的宽度之和等于border-width的值。</span><br/>groove：边框看上去好象是雕刻在画布之内。<br/>ridge：和grove相反，边框看上去好象是从画布中凸出来。<br/>inset：该边框使整个框看上去好象是嵌在画布中。<br/>outset：和inset相反，该边框使整个框看上去好象是从画布中凸出来。<br/>初始值：none<br/>继承性：不继承<br/>适用于：所有元素<br/>媒体：视觉<br/>计算值：同指定值<br/><br/>下面我们看看例子：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp34513">
<!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;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; />
<title>浏览器解释double（双线）边框的差异</title>
<style type=&#34;text/css&#34;>
<!--
body { background:#fff; color:#000; font:small/2 &#34;宋体&#34;, simsun, serif; margin:0; padding:3px; _font-size: x-small; }
legend { background: #F90; border:1px solid #06F; padding:0 5px; }
p { margin:0; padding:0; }
li { background:#CFF; padding: 5px; }
input { background:#ccc;}
.test1 .text1 { border:1px double #06F; }
.test1 .text2 { border:2px double #06F; }
.test1 .text3 { border:3px double #06F; }
.test1 .text4 { border:7px double #06F; }
.test1 .text5 { border:8px double #06F; }
.test1 .text6 { border:9px double #06F; }
.test2 input { background:#666; border:3px double; color:#ccc; padding:2px;  }
.test2 .text1 { border-color:#ccc; }
.test2 .text2 { border-color:#666; }
.test2 .text3 { border-color:#CFF; }
-->
</style>
</head>

<body>
<form action=&#34;#&#34; name=&#34;test&#34;>
  <fieldset>
    <legend>double值的表现</legend>
    <ol class=&#34;test1&#34;>
      <li><input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-width:1px;&#34; class=&#34;text1&#34; /></li>
      <li><input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-width:2px;&#34; class=&#34;text2&#34; /></li>
      <li><input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-width:3px;&#34; class=&#34;text3&#34; /></li>
      <li><input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-width:7px;&#34; class=&#34;text4&#34; /></li>
      <li><input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-width:8px;&#34; class=&#34;text5&#34; /></li>
      <li><input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-width:9px;&#34; class=&#34;text6&#34; /></li>
    </ol>
  </fieldset>
  <fieldset>
    <legend><a name=&#34;test2&#34;>测试2的实现方法</a></legend>
    <p>input { background:#666; border:3px <strong>double</strong>; padding:2px; }</p>
    <p>父元素 li {  background:#CFF; }</p>
    <ol class=&#34;test2&#34;>
      <li>input边框与自身背景色不同：<input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-color:#ccc;&#34; class=&#34;text1&#34; /></li>
      <li>input边框与自身背景色相同：<input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-color:#666;&#34; class=&#34;text2&#34; /></li>
      <li>input边框与父元素背景色相同：<input type=&#34;text&#34; name=&#34;username&#34; value=&#34;border-color:#cff;&#34; class=&#34;text3&#34; /></li>
    </ol>
  </fieldset>
</form>
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp34513')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp34513')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/102.htm</link>
			<title><![CDATA[三列自适应宽度的布局之左右固定中间自适应]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[CSS Html]]></category>
			<pubDate>Thu,23 Jul 2009 10:38:47 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=102</guid>
		<description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我们在WEB实际开发中往往会遇到：两边固定，中间自适应的布局。这种布局很常见。因此，我们应该了解怎么样才能做到这样。下面我们来具体说说：<br/><br/><strong>浮动定位</strong><br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;使用浮动定位方式，从一列到多列的固定宽度及自适应，基本上可以简单完成，包括三列的固定宽度。而在这里给我们提出了一个新的要求，希望有一个三列式布局，基中左栏要求固定宽度，并居左显示，右栏要求固定宽度并居右显示，而中间栏需要在左栏和右栏的中间，根据左右栏的间距变化自动适应。这给布局提出了一个新的要求，而且单纯使用float属性与百分比属性并不能够实现，CSS目前还不支持百分比的计算精确到考虑左栏和右栏的占位，如果对中间栏使用100%宽度的话，它将使用浏览器窗口的宽度，而非左栏与右栏的中间间距，因此我们需要重新的思路来考虑这个问题。<br/><br/><strong>绝对定位</strong><br/><br/>在开始这样的三列布局之前，有必要了解一个新的定位方式——绝对定位。前面的浮动定位方式主要由浏览器根据对象的内容自动进行浮动方向的调整，但是这种方式不能满足定位需求时，就需要新的方法来实现，CSS提供的除去浮动定位之外的另一种定位方式就是绝对定位，绝对定位使用position属性来实现。<br/><br/>position　　用于设置对象的定位方式　　可用值：static/absolute/relative<br/><br/>对页面中的每一个对象而言，默认position属性都是static。<br/>如果将对象设置为position:absolute，对象将根据整个页面的位置进行重新定位，当使用此属性时，可以使用top,right,bottom,left即上右下左四个方向的距离值，以确定对象的具体位置，看如下CSS：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>#layout {<br/>&nbsp;&nbsp;&nbsp;&nbsp;position:absolute;<br/>&nbsp;&nbsp;&nbsp;&nbsp;top:20px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;left:0px;<br/>}<br/></div></div><br/><br/>如果#layout使用了position:absolute;将会变成绝对定位模式，与此同时，当设置top:20px;时它将永远离浏览器窗口的上方20px，而left:0px;将保证它离浏览器左边距为0px。<br/><br/>注意：一个对象如果设置了position:absolute;它将从本质上与其他对象分离出来，它的定位模式不会影响其它对象，也不会被其它对象的浮动定位所影响，从某种意义上说，使用了绝对定位之后，对象就像一个图层一样浮在了网页之上。<br/><br/>绝对定位之后的对象，不会再考虑它与页面中的浮动关系，只需要设置对象的top,right,bottom,left四个方向的值即可。<br/><br/>而在本例中，使用绝对定位则能够很好地解决我们所提出的问题。同样，使用3个div形成我们的三个分栏结构：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>#left {<br/>&nbsp;&nbsp;&nbsp;&nbsp;background-color: #E8F5FE;<br/>&nbsp;&nbsp;&nbsp;&nbsp;border: 1px solid #A9C9E2;<br/>&nbsp;&nbsp;&nbsp;&nbsp;height: 400px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;width: 200px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;position: absolute;<br/>&nbsp;&nbsp;&nbsp;&nbsp;top: 0px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;left: 0px;<br/>}<br/>#right {<br/>&nbsp;&nbsp;&nbsp;&nbsp;background-color: #FFE7F4;<br/>&nbsp;&nbsp;&nbsp;&nbsp;border: 1px solid #F9B3D5;<br/>&nbsp;&nbsp;&nbsp;&nbsp;height: 400px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;width: 200px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;position: absolute;<br/>&nbsp;&nbsp;&nbsp;&nbsp;top: 0px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;right: 0px;<br/>}<br/></div></div><br/><br/>这样，左栏将距左边left:0px;贴着左边缘进行显示，而右栏则将由right: 0px;使得右栏距右显示，而中间的#center将使用普通的CSS样式：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>#center {<br/>&nbsp;&nbsp;&nbsp;&nbsp;background-color: #F2FDDB;<br/>&nbsp;&nbsp;&nbsp;&nbsp;border: 1px solid #A5CF3D;<br/>&nbsp;&nbsp;&nbsp;&nbsp;height: 400px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;margin-right: 202px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;margin-left: 202px;<br/>}<br/></div></div><br/><br/>对于#center，我们不需要再设定其浮动方式，只需要让它有左边外边距永远保持#lef与#right的宽度，便实现了两边各让出202px的自适应宽度，而左右两边让的距离，刚好让#left和#right显示在这个空间中，从而实现了而已要求。<br/><br/><span style="color:Red"><strong>整个代码：</strong></span><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&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;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; /&gt;<br/>&lt;title&gt;三列左右固定宽度中间自适应&lt;/title&gt;<br/>&lt;style&gt;<br/>body{<br/>margin:0px; <br/>}<br/>#left {<br/>background-color: #E8F5FE;<br/>border: 1px solid #A9C9E2;<br/>height: 400px;<br/>width: 100px;<br/>position: absolute;<br/>top: 0px;<br/>left: 0px;<br/>}<br/>#center {<br/>background-color: #F2FDDB;<br/>border: 1px solid #A5CF3D;<br/>height: 400px;<br/>margin-right: 102px;<br/>margin-left: 102px;<br/>}<br/>#right {<br/>background-color: #FFE7F4; <br/>border: 1px solid #F9B3D5;<br/>height: 400px;<br/>width: 100px;<br/>position: absolute;<br/>top: 0px;<br/>right: 0px;<br/>}<br/>&lt;/style&gt;<br/>&lt;/head&gt;<br/><br/>&lt;body&gt;<br/>&lt;div id=&#34;left&#34;&gt;左列&lt;/div&gt;<br/>&lt;div id=&#34;center&#34;&gt;中列&lt;/div&gt;<br/>&lt;div id=&#34;right&#34;&gt;右列&lt;/div&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;<br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/101.htm</link>
			<title><![CDATA[很有用但是几乎被设计师遗忘了的标签]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[CSS Html]]></category>
			<pubDate>Wed,22 Jul 2009 13:34:03 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=101</guid>
		<description><![CDATA[你经常写代码，也经常做项目。但是你是否记得有些WEB标签呢？下面给大家看看是不是已经被很多人遗忘的&lt;fieldset&gt;标签，你现在还用这标签吗？其实使用fieldset、label标签制作form表单很实用。<br/><br/>对于表单，是网页中非常常用的元素。但是在web standard建站的时候，他的排版容易人遗忘，到了真正用到的时候就发现让人头疼，当然我也遇到过。我现在要介绍一个用&lt;fieldset&gt;&lt;/label&gt;标签制作漂亮而且具体亲和力的表单的方法。我们可以从这里面很好的看出&lt;fieldset&gt;标签的作用。<br/><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.inlco.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>&lt;!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" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; /&gt;<br/>&lt;title&gt;www.52css.com&lt;/title&gt;<br/>&lt;style type=&#34;text/css&#34;&gt;<br/>&lt;!--<br/>body {<br/>font-family: Arial, Helvetica, sans-serif;<br/>font-size:12px;<br/>color:#666666;<br/>background:#fff;<br/>text-align:center;<br/>}<br/>* {<br/>margin:0;<br/>padding:0;<br/>}<br/>a {<br/>color:#1E7ACE;<br/>text-decoration:none;<br/>}<br/>a:hover {<br/>color:#000;<br/>text-decoration:underline;<br/>}<br/>h3 {<br/>font-size:14px;<br/>font-weight:bold;<br/>}<br/>pre,p {<br/>color:#1E7ACE;<br/>margin:4px;<br/>}<br/>input, sel&#101;ct,textarea {<br/>padding:1px;<br/>margin:2px;<br/>font-size:11px;<br/>}<br/>.buttom{<br/>padding:1px 10px;<br/>font-size:12px;<br/>border:1px #1E7ACE solid;<br/>background:#D0F0FF;<br/>}<br/>#formwrapper {<br/>width:450px;<br/>margin:15px auto;<br/>padding:20px;<br/>text-align:left;<br/>border:1px #1E7ACE solid;<br/>}<br/>fieldset {<br/>padding:10px;<br/>margin-top:5px;<br/>border:1px solid #1E7ACE;<br/>background:#fff;<br/>}<br/>fieldset legend {<br/>color:#1E7ACE;<br/>font-weight:bold;<br/>padding:3px 20px 3px 20px;<br/>border:1px solid #1E7ACE;<br/>background:#fff;<br/>}<br/>fieldset label {<br/>float:left;<br/>width:120px;<br/>text-align:right;<br/>padding:4px;<br/>margin:1px;<br/>}<br/>fieldset div {<br/>clear:left;<br/>margin-bottom:2px;<br/>}<br/>.enter{ text-align:center;}<br/>.clear {<br/>clear:both;<br/>}<br/>--&gt;<br/>&lt;/style&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>&lt;div id=&#34;formwrapper&#34;&gt;<br/>&lt;h3&gt;已注册用户登录&lt;/h3&gt;<br/>&lt;form action=&#34;&#34; method=&#34;post&#34; name=&#34;apLogin&#34; id=&#34;apLogin&#34;&gt;<br/>&lt;fieldset&gt;<br/>&lt;legend&gt;用户登录&lt;/legend&gt;<br/>&lt;div&gt;<br/>&lt;label for=&#34;Name&#34;&gt;用户名&lt;/label&gt;<br/>&lt;input type=&#34;text&#34; name=&#34;Name&#34; id=&#34;Name&#34; size=&#34;18&#34; maxlength=&#34;30&#34; /&gt;&lt;br /&gt;<br/>&lt;/div&gt;<br/>&lt;div&gt;<br/>&lt;label for=&#34;password&#34;&gt;密码&lt;/label&gt;<br/>&lt;input type=&#34;password&#34; name=&#34;password&#34; id=&#34;password&#34; size=&#34;18&#34; maxlength=&#34;15&#34; /&gt;&lt;br /&gt;<br/>&lt;/div&gt;<br/>&lt;div class=&#34;cookiechk&#34;&gt;<br/>&lt;label&gt;&lt;input type=&#34;checkbox&#34; name=&#34;CookieYN&#34; id=&#34;CookieYN&#34; value=&#34;1&#34; /&gt; &lt;a href=&#34;#&#34; title=&#34;选择是否记录您的信息&#34;&gt;记住我&lt;/a&gt;&lt;/label&gt;<br/>&lt;input name=&#34;login791&#34; type=&#34;submit&#34; class=&#34;buttom&#34; value=&#34;登录&#34; /&gt;<br/>&lt;/div&gt;<br/>&lt;div class=&#34;forgotpass&#34;&gt;&lt;a href=&#34;#&#34;&gt;您忘记密码?&lt;/a&gt;&lt;/div&gt;<br/>&lt;/fieldset&gt;<br/>&lt;/form&gt;&lt;br /&gt;<br/>&lt;h3&gt;未注册创建帐户&lt;/h3&gt;<br/>&lt;form action=&#34;&#34; method=&#34;post&#34; name=&#34;apForm&#34; id=&#34;apForm&#34;&gt;<br/>&lt;fieldset&gt;<br/>&lt;legend&gt;用户注册&lt;/legend&gt;<br/>&lt;p&gt;&lt;strong&gt;您的电子邮箱不会被公布出去,但是必须填写.&lt;/strong&gt; 在您注册之前请先认真阅读服务条款.&lt;/p&gt;<br/>&lt;div&gt;<br/>&lt;label for=&#34;Name&#34;&gt;用户名&lt;/label&gt;<br/>&lt;input type=&#34;text&#34; name=&#34;Name&#34; id=&#34;Name&#34; value=&#34;&#34; size=&#34;20&#34; maxlength=&#34;30&#34; /&gt;<br/>*(最多30个字符)&lt;br /&gt;<br/>&lt;/div&gt;<br/>&lt;div&gt;<br/>&lt;label for=&#34;Email&#34;&gt;电子邮箱&lt;/label&gt;<br/>&lt;input type=&#34;text&#34; name=&#34;Email&#34; id=&#34;Email&#34; value=&#34;&#34; size=&#34;20&#34; maxlength=&#34;150&#34; /&gt; *&lt;br /&gt;<br/>&lt;/div&gt;<br/>&lt;div&gt;<br/>&lt;label for=&#34;password&#34;&gt;密码&lt;/label&gt;<br/>&lt;input type=&#34;password&#34; name=&#34;password&#34; id=&#34;password&#34; size=&#34;18&#34; maxlength=&#34;15&#34; /&gt;<br/>*(最多15个字符)&lt;br /&gt;<br/>&lt;/div&gt;<br/>&lt;div&gt;<br/>&lt;label for=&#34;confirm_password&#34;&gt;重复密码&lt;/label&gt;<br/>&lt;input type=&#34;password&#34; name=&#34;confirm_password&#34; id=&#34;confirm_password&#34; size=&#34;18&#34; maxlength=&#34;15&#34; /&gt;<br/>*&lt;br /&gt;<br/>&lt;/div&gt;<br/>&lt;div&gt;<br/>&lt;label for=&#34;AgreeToTerms&#34;&gt;同意服务条款&lt;/label&gt;<br/>&lt;input type=&#34;checkbox&#34; name=&#34;AgreeToTerms&#34; id=&#34;AgreeToTerms&#34; value=&#34;1&#34; /&gt;<br/>&lt;a href=&#34;#&#34; title=&#34;您是否同意服务条款&#34;&gt;先看看条款？&lt;/a&gt; *&#160;&#160;&#160;&#160;&lt;/div&gt;<br/>&lt;div class=&#34;enter&#34;&gt;<br/>&lt;input name=&#34;cr&#101;ate791&#34; type=&#34;submit&#34; class=&#34;buttom&#34; value=&#34;提交&#34; /&gt;<br/>&lt;input name=&#34;Submit&#34; type=&#34;reset&#34; class=&#34;buttom&#34; value=&#34;重置&#34; /&gt;<br/>&lt;/div&gt;<br/>&lt;p&gt;&lt;strong&gt;* 在提交您的注册信息时, 我们认为您已经同意了我们的服务条款.&lt;br /&gt;<br/>* 这些条款可能在未经您同意的时候进行修改.&lt;/strong&gt;&lt;/p&gt;<br/>&lt;/fieldset&gt;<br/>&lt;/form&gt;<br/>&lt;/div&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;<br/></div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.inlco.cn/article/100.htm</link>
			<title><![CDATA[轻松提高热门关键词（keywords）排名]]></title>
			<author>liujunzuq@163.com(andy)</author>
			<category><![CDATA[SEO]]></category>
			<pubDate>Fri,17 Jul 2009 09:52:13 +0800</pubDate>
			<guid>http://www.inlco.cn/default.asp?id=100</guid>
		<description><![CDATA[在网站优化（SEO）过程中一个很热门的关键词(keywords)，要将他提升到百度、谷歌的第一页，这应该是一项很难的任务。但是只要我们掌握住了方法，还是很轻松的。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;一、网站域名的选择<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;要选择有意义的，最好里面有关键词的拼音或者英文的域名。但是好记也是很重要的。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;二、网站主机的选择<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;主机最好用独立IP，用VPS便宜，又是独立IP，这样可以避免搜索引擎的惩罚，如果是共用IP，里面有一个站被百度和google降权了，也会连累到你，那么你以前所做的工作就白白浪费了!<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;三、网站上线的时间<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;一个刚上线的网站，是不可能受到搜索引擎的喜欢，所以得从内容出发，让网站各个栏目都比较充实，都要有一定的内容。所以第一步选择域名的时候，新旧也是很重要的。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;四、网站的内容<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;每天坚持原创5篇文章，最好可以围绕热门的关键词写一些原创或者伪原创的文章，内容的质量越高越好。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;五、网站的内部优化<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;首页、栏目页、文章页，各页的关键词和描述不能都一样，如果是商业站，利用首页优化品牌和主要关键词，栏目页优化次要关键词,内容页优化长尾关键词。 从内页指向首页不能超过四次，顶部指向，中间指向，低部指向。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;六、网站的外部建设<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;这步是最重要也是最浪费时间的一步，写软文、买外链、登陆分类目录，做友情链接，等等这些，网上这方面有很多介绍，技巧也不少，可以多学习。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;其实要想做一个成功的网站，在你一开始就要做一份SEO计划，决定你的SEO成败就看你定制的SEO计划书!但是不要单单的为了搜索引擎，要做到内容为王才是更重要的。<br/><br/>]]></description>
		</item>
		
</channel>
</rss>
