﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-tambc-文章分类-JavaScript</title><link>http://www.blogjava.net/tambc/category/18608.html</link><description /><language>zh-cn</language><lastBuildDate>Wed, 28 Feb 2007 03:41:02 GMT</lastBuildDate><pubDate>Wed, 28 Feb 2007 03:41:02 GMT</pubDate><ttl>60</ttl><item><title>Ajax客户端发起的禁止使用Cache的指令</title><link>http://www.blogjava.net/tambc/articles/89244.html</link><dc:creator>tambc</dc:creator><author>tambc</author><pubDate>Thu, 21 Dec 2006 03:48:00 GMT</pubDate><guid>http://www.blogjava.net/tambc/articles/89244.html</guid><wfw:comment>http://www.blogjava.net/tambc/comments/89244.html</wfw:comment><comments>http://www.blogjava.net/tambc/articles/89244.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/tambc/comments/commentRss/89244.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/tambc/services/trackbacks/89244.html</trackback:ping><description><![CDATA[
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #000000">xmlhttp.setRequestHeader(</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">If-Modified-Since</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">,</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">0</span>
				<span style="COLOR: #000000">"</span>
				<span style="COLOR: #000000">);</span>
		</div>
<img src ="http://www.blogjava.net/tambc/aggbug/89244.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/tambc/" target="_blank">tambc</a> 2006-12-21 11:48 <a href="http://www.blogjava.net/tambc/articles/89244.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>防止Combox浮在最上层的方法</title><link>http://www.blogjava.net/tambc/articles/89242.html</link><dc:creator>tambc</dc:creator><author>tambc</author><pubDate>Thu, 21 Dec 2006 03:45:00 GMT</pubDate><guid>http://www.blogjava.net/tambc/articles/89242.html</guid><wfw:comment>http://www.blogjava.net/tambc/comments/89242.html</wfw:comment><comments>http://www.blogjava.net/tambc/articles/89242.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/tambc/comments/commentRss/89242.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/tambc/services/trackbacks/89242.html</trackback:ping><description><![CDATA[
		<p>图片：<img src="http://www.blogjava.net/images/blogjava_net/tambc/image/tambc.20060907102521.gif" /></p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">BODY </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">=font-size:12</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />下拉选择框： <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">select </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">=width:200</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />　 </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">经过rebuild的下拉选择框1</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">经过rebuild的下拉选择框2</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">经过rebuild的下拉选择框3</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">经过rebuild的下拉选择框4</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">经过rebuild的下拉选择框5</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">option</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">select</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">div </span>
				<span style="COLOR: #ff0000">align</span>
				<span style="COLOR: #0000ff">=center </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">="position: absolute; line-height: 200px; left: 91; top: 39; width: 300; height: 202; background-color: #d4d0c8; background-repeat: repeat; background-attachment: scroll; border: 1px solid #808080; background-position: 0%"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">层模拟的对话框或菜单</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">div</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">BODY</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img id="Codehighlighter1_535_3280_Open_Image" onclick="this.style.display='none'; Codehighlighter1_535_3280_Open_Text.style.display='none'; Codehighlighter1_535_3280_Closed_Image.style.display='inline'; Codehighlighter1_535_3280_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_535_3280_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_535_3280_Closed_Text.style.display='none'; Codehighlighter1_535_3280_Open_Image.style.display='inline'; Codehighlighter1_535_3280_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">script</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span id="Codehighlighter1_535_3280_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
						<img src="http://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_535_3280_Open_Text">
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />selRebuild() <br /><img id="Codehighlighter1_572_3143_Open_Image" onclick="this.style.display='none'; Codehighlighter1_572_3143_Open_Text.style.display='none'; Codehighlighter1_572_3143_Closed_Image.style.display='inline'; Codehighlighter1_572_3143_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_572_3143_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_572_3143_Closed_Text.style.display='none'; Codehighlighter1_572_3143_Open_Image.style.display='inline'; Codehighlighter1_572_3143_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /></span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> selRebuild()</span>
						<span id="Codehighlighter1_572_3143_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_572_3143_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> l,i,j,w,h,ol,sel,tx,bx <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">!</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">document.all) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">return</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　ol</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">document.getElementsByTagName(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">select</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img id="Codehighlighter1_710_2998_Open_Image" onclick="this.style.display='none'; Codehighlighter1_710_2998_Open_Text.style.display='none'; Codehighlighter1_710_2998_Closed_Image.style.display='inline'; Codehighlighter1_710_2998_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_710_2998_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_710_2998_Closed_Text.style.display='none'; Codehighlighter1_710_2998_Open_Image.style.display='inline'; Codehighlighter1_710_2998_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">for</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(i</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;i</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">ol.length;i</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">++</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)</span>
								<span id="Codehighlighter1_710_2998_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
										<img src="http://www.blogjava.net/images/dot.gif" />
								</span>
								<span id="Codehighlighter1_710_2998_Open_Text">
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　sel</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">ol[i] <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　</span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(sel.rebuild</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">==</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">1</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">continue</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　sel.rebuild</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">1</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　sel.w</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.offsetWidth <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　sel.style.display</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">none</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　l</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;input readonly onmouseup=this.style.backgroundPositionY=0</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　l</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> style=’width:</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.w</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;height:21px;background:url(41.gif) right top no-repeat’&gt;</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　l</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;div onmousedown=event.cancelBubble=true style=position:absolute;cursor:default&gt;&lt;/div&gt;</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　sel.insertAdjacentHTML(</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">afterend</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,l) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　tx</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.nextSibling <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　</span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(sel.length</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　tx.value</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.options[sel.selectedIndex].text <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　bx</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">tx.nextSibling <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　bx.sel</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　document.body.previousSibling <br /><img id="Codehighlighter1_1343_2389_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1343_2389_Open_Text.style.display='none'; Codehighlighter1_1343_2389_Closed_Image.style.display='inline'; Codehighlighter1_1343_2389_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1343_2389_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1343_2389_Closed_Text.style.display='none'; Codehighlighter1_1343_2389_Open_Image.style.display='inline'; Codehighlighter1_1343_2389_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />　　　　tx.onmousedown</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">()</span>
										<span id="Codehighlighter1_1343_2389_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
												<img src="http://www.blogjava.net/images/dot.gif" />
										</span>
										<span id="Codehighlighter1_1343_2389_Open_Text">
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> tx</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">this</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,sel</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">tx.previousSibling,bx</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">tx.nextSibling <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(window.$bxSelectOption</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">!=</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">null</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　　　window.$bxSelectOption.innerHTML</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">""</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　tx.style.backgroundPositionY</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=-</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">17</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　h</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bx.sel.options.length</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">*</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">15</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">3</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(h</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">2</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">||</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">h</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">167</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　　　h</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">167</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　 <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　l</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;div style=’position:absolute;left:-</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.w</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;top:22;width:</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.w</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;height:</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">h</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;background:white;border:1px solid black;overflow:auto’&gt;</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　l</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;table onselectstart=return(false) cellpadding=0 cellspacing=0 style=width:100%;font-size:12&gt;</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img id="Codehighlighter1_1899_2197_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1899_2197_Open_Text.style.display='none'; Codehighlighter1_1899_2197_Closed_Image.style.display='inline'; Codehighlighter1_1899_2197_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1899_2197_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1899_2197_Closed_Text.style.display='none'; Codehighlighter1_1899_2197_Open_Image.style.display='inline'; Codehighlighter1_1899_2197_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">for</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(j</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;j</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.length;j</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">++</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)</span>
												<span id="Codehighlighter1_1899_2197_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
														<img src="http://www.blogjava.net/images/dot.gif" />
												</span>
												<span id="Codehighlighter1_1899_2197_Open_Text">
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　　　l</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;tr height=15 onclick=this.parentNode.parentNode.parentNode.parentNode.optionClick()</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　　　l</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> onmouseover=this.parentNode.parentNode.parentNode.parentNode.optionMove(this.rowIndex)&gt;</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　　　l</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;td valign=bottom style=padding-left:2&gt;</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.options[j].text</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;/td&gt;&lt;/tr&gt;</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
														<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />　　　　　　}</span>
												</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　l</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;/table&gt;&lt;/div&gt;</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　bx.innerHTML</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">l <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　window.$bxSelectOption</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bx <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(bx.sel.length</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　　　bx.optionMove(bx.sel.selectedIndex) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　event.cancelBubble</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">true</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />　　　　}</span>
										</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img id="Codehighlighter1_2425_2694_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2425_2694_Open_Text.style.display='none'; Codehighlighter1_2425_2694_Closed_Image.style.display='inline'; Codehighlighter1_2425_2694_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_2425_2694_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2425_2694_Closed_Text.style.display='none'; Codehighlighter1_2425_2694_Open_Image.style.display='inline'; Codehighlighter1_2425_2694_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />　　　　bx.optionMove</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(index)</span>
										<span id="Codehighlighter1_2425_2694_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
												<img src="http://www.blogjava.net/images/dot.gif" />
										</span>
										<span id="Codehighlighter1_2425_2694_Open_Text">
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> bx</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">this</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,tb <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　tb</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bx.children[</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">].children[</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">] <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(tb.selIndex</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">!=</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">null</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　　　tb.rows[tb.selIndex].style.cssText</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">""</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　tb.selIndex</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Math.min(index,tb.rows.length</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">-</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">1</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　tb.rows[tb.selIndex].style.cssText</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">background:#0A246A;color:white</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />　　　　}</span>
										</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img id="Codehighlighter1_2726_2993_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2726_2993_Open_Text.style.display='none'; Codehighlighter1_2726_2993_Closed_Image.style.display='inline'; Codehighlighter1_2726_2993_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_2726_2993_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2726_2993_Closed_Text.style.display='none'; Codehighlighter1_2726_2993_Open_Image.style.display='inline'; Codehighlighter1_2726_2993_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />　　　　bx.optionClick</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">()</span>
										<span id="Codehighlighter1_2726_2993_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
												<img src="http://www.blogjava.net/images/dot.gif" />
										</span>
										<span id="Codehighlighter1_2726_2993_Open_Text">
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> bx</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">this</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,tx</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bx.previousSibling,sel</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">tx.previousSibling,tb</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bx.children[</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">].children[</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">] <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　sel.selectedIndex</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">tb.selIndex <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　tx.value</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.options[sel.selectedIndex].text <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　bx.innerHTML</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">""</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(sel.onchange</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">!=</span>
												<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">null</span>
												<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　　　sel.onchange() <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />　　　　}</span>
										</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />　　}</span>
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img id="Codehighlighter1_3053_3139_Open_Image" onclick="this.style.display='none'; Codehighlighter1_3053_3139_Open_Text.style.display='none'; Codehighlighter1_3053_3139_Closed_Image.style.display='inline'; Codehighlighter1_3053_3139_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_3053_3139_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3053_3139_Closed_Text.style.display='none'; Codehighlighter1_3053_3139_Open_Image.style.display='inline'; Codehighlighter1_3053_3139_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />　　document.body.attachEvent(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">onmousedown</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">()</span>
								<span id="Codehighlighter1_3053_3139_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
										<img src="http://www.blogjava.net/images/dot.gif" />
								</span>
								<span id="Codehighlighter1_3053_3139_Open_Text">
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　</span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(window.$bxSelectOption</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">!=</span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">null</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　　　window.$bxSelectOption.innerHTML</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">""</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />　　}</span>
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />}</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img id="Codehighlighter1_3168_3278_Open_Image" onclick="this.style.display='none'; Codehighlighter1_3168_3278_Open_Text.style.display='none'; Codehighlighter1_3168_3278_Closed_Image.style.display='inline'; Codehighlighter1_3168_3278_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_3168_3278_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3168_3278_Closed_Text.style.display='none'; Codehighlighter1_3168_3278_Open_Image.style.display='inline'; Codehighlighter1_3168_3278_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /></span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> selReset(sel)</span>
						<span id="Codehighlighter1_3168_3278_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_3168_3278_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">!</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">document.all) <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">return</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> tx</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.nextSibling <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　tx.value</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sel.options[sel.selectedIndex].text <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">script</span>
				<span style="COLOR: #0000ff">&gt;</span>
		</div>
<img src ="http://www.blogjava.net/tambc/aggbug/89242.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/tambc/" target="_blank">tambc</a> 2006-12-21 11:45 <a href="http://www.blogjava.net/tambc/articles/89242.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>美化文件上传界面</title><link>http://www.blogjava.net/tambc/articles/89241.html</link><dc:creator>tambc</dc:creator><author>tambc</author><pubDate>Thu, 21 Dec 2006 03:41:00 GMT</pubDate><guid>http://www.blogjava.net/tambc/articles/89241.html</guid><wfw:comment>http://www.blogjava.net/tambc/comments/89241.html</wfw:comment><comments>http://www.blogjava.net/tambc/articles/89241.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/tambc/comments/commentRss/89241.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/tambc/services/trackbacks/89241.html</trackback:ping><description><![CDATA[
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #008080"> 1</span>
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">head</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080"> 2</span>
				<span style="COLOR: #000000">
						<img id="Codehighlighter1_15_85_Open_Image" onclick="this.style.display='none'; Codehighlighter1_15_85_Open_Text.style.display='none'; Codehighlighter1_15_85_Closed_Image.style.display='inline'; Codehighlighter1_15_85_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
						<img id="Codehighlighter1_15_85_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_15_85_Closed_Text.style.display='none'; Codehighlighter1_15_85_Open_Image.style.display='inline'; Codehighlighter1_15_85_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">style</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span id="Codehighlighter1_15_85_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
						<img src="http://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_15_85_Open_Text">
						<span style="COLOR: #800000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
						<span style="COLOR: #008080"> 3</span>
						<span style="COLOR: #800000; BACKGROUND-COLOR: #f5f5f5">
								<img id="Codehighlighter1_18_48_Open_Image" onclick="this.style.display='none'; Codehighlighter1_18_48_Open_Text.style.display='none'; Codehighlighter1_18_48_Closed_Image.style.display='inline'; Codehighlighter1_18_48_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_18_48_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_18_48_Closed_Text.style.display='none'; Codehighlighter1_18_48_Open_Image.style.display='inline'; Codehighlighter1_18_48_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />*</span>
						<span id="Codehighlighter1_18_48_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">{<img src="http://www.blogjava.net/images/dot.gif" />}</span>
						<span id="Codehighlighter1_18_48_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{</span>
								<span style="COLOR: #ff0000; BACKGROUND-COLOR: #f5f5f5">font-size</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">:</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">12px</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;</span>
								<span style="COLOR: #ff0000; BACKGROUND-COLOR: #f5f5f5">cursor</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">:</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">default</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span>
						</span>
						<span style="COLOR: #800000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
						<span style="COLOR: #008080"> 4</span>
						<span style="COLOR: #800000; BACKGROUND-COLOR: #f5f5f5">
								<img id="Codehighlighter1_56_83_Open_Image" onclick="this.style.display='none'; Codehighlighter1_56_83_Open_Text.style.display='none'; Codehighlighter1_56_83_Closed_Image.style.display='inline'; Codehighlighter1_56_83_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_56_83_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_56_83_Closed_Text.style.display='none'; Codehighlighter1_56_83_Open_Image.style.display='inline'; Codehighlighter1_56_83_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />.hand</span>
						<span id="Codehighlighter1_56_83_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">{<img src="http://www.blogjava.net/images/dot.gif" />}</span>
						<span id="Codehighlighter1_56_83_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{</span>
								<span style="COLOR: #ff0000; BACKGROUND-COLOR: #f5f5f5">cursor</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">:</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">hand</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;</span>
								<span style="COLOR: #ff0000; BACKGROUND-COLOR: #f5f5f5">cursor</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">:</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">pointer</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span>
						</span>
						<span style="COLOR: #800000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
						<span style="COLOR: #008080"> 5</span>
						<span style="COLOR: #800000; BACKGROUND-COLOR: #f5f5f5">
								<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
						</span>
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">style</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080"> 6</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">head</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080"> 7</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
						<br />
				</span>
				<span style="COLOR: #008080"> 8</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">body</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080"> 9</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">form </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">=fm1</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">10</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">div </span>
				<span style="COLOR: #ff0000">id</span>
				<span style="COLOR: #0000ff">=bxAttList</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">11</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />　　</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">div </span>
				<span style="COLOR: #ff0000">id</span>
				<span style="COLOR: #0000ff">=bxAtt </span>
				<span style="COLOR: #ff0000">onmouseover</span>
				<span style="COLOR: #0000ff">="$(’bxAtt1’).style.textDecoration=’underline’"</span>
				<span style="COLOR: #ff0000"> onmouseout</span>
				<span style="COLOR: #0000ff">="$(’bxAtt1’).style.textDecoration=’’"</span>
				<span style="COLOR: #ff0000"> style</span>
				<span style="COLOR: #0000ff">=float:left;width:60</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">12</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />　　　　</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">span </span>
				<span style="COLOR: #ff0000">id</span>
				<span style="COLOR: #0000ff">=bxAtt1 </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">=’position:absolute;padding-top:3;cursor:hand;font-family:宋体’</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">@添加附件</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">span</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">13</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />　　　　</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">span </span>
				<span style="COLOR: #ff0000">id</span>
				<span style="COLOR: #0000ff">=bxAtt2 </span>
				<span style="COLOR: #ff0000">onmouseover</span>
				<span style="COLOR: #0000ff">=this.scrollLeft=100 </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">=position:absolute;width:60;overflow:hidden;filter:alpha(opacity=0);-moz-opacity:0</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">span</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">14</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />　　</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">div</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">15</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">div</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">16</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">form</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">17</span>
				<span style="COLOR: #000000">
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">body</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /></span>
				<span style="COLOR: #008080">18</span>
				<span style="COLOR: #000000">
						<img id="Codehighlighter1_597_1427_Open_Image" onclick="this.style.display='none'; Codehighlighter1_597_1427_Open_Text.style.display='none'; Codehighlighter1_597_1427_Closed_Image.style.display='inline'; Codehighlighter1_597_1427_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" />
						<img id="Codehighlighter1_597_1427_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_597_1427_Closed_Text.style.display='none'; Codehighlighter1_597_1427_Open_Image.style.display='inline'; Codehighlighter1_597_1427_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">script</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span id="Codehighlighter1_597_1427_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
						<img src="http://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_597_1427_Open_Text">
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
						<span style="COLOR: #008080">19</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />file_create() <br /></span>
						<span style="COLOR: #008080">20</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<img id="Codehighlighter1_636_750_Open_Image" onclick="this.style.display='none'; Codehighlighter1_636_750_Open_Text.style.display='none'; Codehighlighter1_636_750_Closed_Image.style.display='inline'; Codehighlighter1_636_750_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_636_750_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_636_750_Closed_Text.style.display='none'; Codehighlighter1_636_750_Open_Image.style.display='inline'; Codehighlighter1_636_750_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />
						</span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> file_create()</span>
						<span id="Codehighlighter1_636_750_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_636_750_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /></span>
								<span style="COLOR: #008080">21</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　$(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bxAtt2</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).innerHTML</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;input onchange=file_change(this) hidefocus type=file name=file1 size=1 class=hand&gt;</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
								<span style="COLOR: #008080">22</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />}</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
						<span style="COLOR: #008080">23</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<img id="Codehighlighter1_777_1270_Open_Image" onclick="this.style.display='none'; Codehighlighter1_777_1270_Open_Text.style.display='none'; Codehighlighter1_777_1270_Closed_Image.style.display='inline'; Codehighlighter1_777_1270_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_777_1270_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_777_1270_Closed_Text.style.display='none'; Codehighlighter1_777_1270_Open_Image.style.display='inline'; Codehighlighter1_777_1270_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />
						</span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> file_change(tx)</span>
						<span id="Codehighlighter1_777_1270_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_777_1270_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /></span>
								<span style="COLOR: #008080">24</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> sName,o <br /></span>
								<span style="COLOR: #008080">25</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　sName</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">tx.value.replace(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">\\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">g,</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).replace(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(.</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">*</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)(.</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">*</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">$2</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /></span>
								<span style="COLOR: #008080">26</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　o</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">document.createElement(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">nobr</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">) <br /></span>
								<span style="COLOR: #008080">27</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　o.style.cssText</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">float:left;margin-right:6;padding-top:3;color:darkgreen</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
								<span style="COLOR: #008080">28</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　o.innerHTML</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">□</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">sName</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;font onclick=$(’bxAttList’).removeChild(this.parentNode);file_repos() class=hand style=color:red;font-weight:bold&gt;</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">unescape(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">%d7</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;/font&gt;</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
								<span style="COLOR: #008080">29</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　tx.style.display</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">none</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
								<span style="COLOR: #008080">30</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　o.appendChild(tx) <br /></span>
								<span style="COLOR: #008080">31</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　$(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bxAttList</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).insertBefore(o,$(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bxAtt</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)) <br /></span>
								<span style="COLOR: #008080">32</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　file_repos() <br /></span>
								<span style="COLOR: #008080">33</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　file_create() <br /></span>
								<span style="COLOR: #008080">34</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />}</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
						<span style="COLOR: #008080">35</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<img id="Codehighlighter1_1294_1339_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1294_1339_Open_Text.style.display='none'; Codehighlighter1_1294_1339_Closed_Image.style.display='inline'; Codehighlighter1_1294_1339_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_1294_1339_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1294_1339_Closed_Text.style.display='none'; Codehighlighter1_1294_1339_Open_Image.style.display='inline'; Codehighlighter1_1294_1339_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />
						</span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> file_repos()</span>
						<span id="Codehighlighter1_1294_1339_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_1294_1339_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /></span>
								<span style="COLOR: #008080">36</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　$(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bxAttList</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).appendChild($(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">bxAtt</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)) <br /></span>
								<span style="COLOR: #008080">37</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />}</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
						<span style="COLOR: #008080">38</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<img id="Codehighlighter1_1357_1425_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1357_1425_Open_Text.style.display='none'; Codehighlighter1_1357_1425_Closed_Image.style.display='inline'; Codehighlighter1_1357_1425_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" />
								<img id="Codehighlighter1_1357_1425_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1357_1425_Closed_Text.style.display='none'; Codehighlighter1_1357_1425_Open_Image.style.display='inline'; Codehighlighter1_1357_1425_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />
						</span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> $(obj)</span>
						<span id="Codehighlighter1_1357_1425_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_1357_1425_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{ <br /></span>
								<span style="COLOR: #008080">39</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />　　</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">return</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">typeof</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(obj)</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">==</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">object</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">?</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">obj:document.getElementById(obj) <br /></span>
								<span style="COLOR: #008080">40</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /></span>
						<span style="COLOR: #008080">41</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
						</span>
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">script</span>
				<span style="COLOR: #0000ff">&gt;</span>
		</div>
<img src ="http://www.blogjava.net/tambc/aggbug/89241.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/tambc/" target="_blank">tambc</a> 2006-12-21 11:41 <a href="http://www.blogjava.net/tambc/articles/89241.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>在WEB页中实现表头表脚和打印分页</title><link>http://www.blogjava.net/tambc/articles/89239.html</link><dc:creator>tambc</dc:creator><author>tambc</author><pubDate>Thu, 21 Dec 2006 03:40:00 GMT</pubDate><guid>http://www.blogjava.net/tambc/articles/89239.html</guid><wfw:comment>http://www.blogjava.net/tambc/comments/89239.html</wfw:comment><comments>http://www.blogjava.net/tambc/articles/89239.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/tambc/comments/commentRss/89239.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/tambc/services/trackbacks/89239.html</trackback:ping><description><![CDATA[
		<p> </p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #0000ff">&lt;!</span>
				<span style="COLOR: #ff00ff">DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">html</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">head</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">meta </span>
				<span style="COLOR: #ff0000">http-equiv</span>
				<span style="COLOR: #0000ff">="Content-Type"</span>
				<span style="COLOR: #ff0000"> content</span>
				<span style="COLOR: #0000ff">="text/html; charset=gb2312"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">title</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">无标题文档</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">title</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img id="Codehighlighter1_180_221_Open_Image" onclick="this.style.display='none'; Codehighlighter1_180_221_Open_Text.style.display='none'; Codehighlighter1_180_221_Closed_Image.style.display='inline'; Codehighlighter1_180_221_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_180_221_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_180_221_Closed_Text.style.display='none'; Codehighlighter1_180_221_Open_Image.style.display='inline'; Codehighlighter1_180_221_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">style</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span id="Codehighlighter1_180_221_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
						<img src="http://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_180_221_Open_Text">
						<span style="COLOR: #800000; BACKGROUND-COLOR: #f5f5f5"> <br /><img id="Codehighlighter1_194_216_Open_Image" onclick="this.style.display='none'; Codehighlighter1_194_216_Open_Text.style.display='none'; Codehighlighter1_194_216_Closed_Image.style.display='inline'; Codehighlighter1_194_216_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_194_216_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_194_216_Closed_Text.style.display='none'; Codehighlighter1_194_216_Open_Image.style.display='inline'; Codehighlighter1_194_216_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />@media print</span>
						<span id="Codehighlighter1_194_216_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">{<img src="http://www.blogjava.net/images/dot.gif" />}</span>
						<span id="Codehighlighter1_194_216_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{</span>
								<span style="COLOR: #ff0000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />INPUT {display</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">:</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">none</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span>
						</span>
						<span style="COLOR: #800000; BACKGROUND-COLOR: #f5f5f5"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />} <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">style</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">head</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">body</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TABLE </span>
				<span style="COLOR: #ff0000">border</span>
				<span style="COLOR: #0000ff">="0"</span>
				<span style="COLOR: #ff0000"> style</span>
				<span style="COLOR: #0000ff">="font-size:9pt;"</span>
				<span style="COLOR: #ff0000"> width</span>
				<span style="COLOR: #0000ff">="300px"</span>
				<span style="COLOR: #ff0000"> align</span>
				<span style="COLOR: #0000ff">="center"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">THEAD </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">="display:table-header-group;font-weight:bold"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD </span>
				<span style="COLOR: #ff0000">colspan</span>
				<span style="COLOR: #0000ff">="2"</span>
				<span style="COLOR: #ff0000"> align</span>
				<span style="COLOR: #0000ff">="center"</span>
				<span style="COLOR: #ff0000"> style</span>
				<span style="COLOR: #0000ff">="font-weight:bold;border:3px double red"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">每页都有的表头</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">THEAD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TBODY </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">="text-align:center"</span>
				<span style="COLOR: #ff0000">"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">="page-break-after:always;"</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">="page-break-after:always;"</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">="page-break-after:always;"</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">表格内容</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TBODY</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TFOOT </span>
				<span style="COLOR: #ff0000">style</span>
				<span style="COLOR: #0000ff">="display:table-footer-group;font-weight:bold"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">TD </span>
				<span style="COLOR: #ff0000">colspan</span>
				<span style="COLOR: #0000ff">="2"</span>
				<span style="COLOR: #ff0000"> align</span>
				<span style="COLOR: #0000ff">="center"</span>
				<span style="COLOR: #ff0000"> style</span>
				<span style="COLOR: #0000ff">="font-weight:bold;border:3px double blue"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">每页都有的表尾</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TD</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TR</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TFOOT</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">TABLE</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">input </span>
				<span style="COLOR: #ff0000">type</span>
				<span style="COLOR: #0000ff">=button </span>
				<span style="COLOR: #ff0000">value</span>
				<span style="COLOR: #0000ff">=" 打  印 "</span>
				<span style="COLOR: #ff0000"> onclick</span>
				<span style="COLOR: #0000ff">=javascript:window.print()</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">body</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">html</span>
				<span style="COLOR: #0000ff">&gt;</span>
		</div>
<img src ="http://www.blogjava.net/tambc/aggbug/89239.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/tambc/" target="_blank">tambc</a> 2006-12-21 11:40 <a href="http://www.blogjava.net/tambc/articles/89239.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>textarea控制字符数</title><link>http://www.blogjava.net/tambc/articles/89238.html</link><dc:creator>tambc</dc:creator><author>tambc</author><pubDate>Thu, 21 Dec 2006 03:39:00 GMT</pubDate><guid>http://www.blogjava.net/tambc/articles/89238.html</guid><wfw:comment>http://www.blogjava.net/tambc/comments/89238.html</wfw:comment><comments>http://www.blogjava.net/tambc/articles/89238.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/tambc/comments/commentRss/89238.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/tambc/services/trackbacks/89238.html</trackback:ping><description><![CDATA[功能：<br />1.能够实时判断输入的字节数<br />2.能够自动裁减超过最大长度后的内容<br />3.对粘贴进来的内容一样有效<br />4.对用鼠标拖曳进来的内容也一样有效<br />5.正则表达式的应用和程序的构想<br /><br />源码：<br /><br />&lt;script&gt;<br />function checklen(obj){<br />var lenE = obj.value.length;<br />var lenC = 0;<br />var CJK = obj.value.match(/[\u4E00-\u9FA5\uF900-\uFA2D]/g);<br />if (CJK != null) lenC += CJK.length;<br />tno.innerText = obj.maxlength - lenC - lenE ;<br />if (tno.innerText &lt; 0) {<br />var tmp = 0<br />var cut = obj.value.substring(0, obj.maxlength);<br />for (var i=0; i&lt;cut.length; i++){<br />tmp += /[\u4E00-\u9FA5\uF900-\uFA2D]/.test(cut.charAt(i)) ? 2 : 1;<br />if (tmp &gt; obj.maxlength) break;<br />}<br />obj.value = cut.substring(0, i);<br />}<br />}<br />&lt;/script&gt;<br />&lt;body onload="tno.innerText = s1.maxlength;"&gt;<br />&lt;textarea name="s1" rows="5" cols="50" maxlength="1000" onpropertychange="checklen(this)"&gt;&lt;/textarea&gt;<br />剩余&lt;span id="tno"&gt;&lt;/span&gt;个字符<img src ="http://www.blogjava.net/tambc/aggbug/89238.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/tambc/" target="_blank">tambc</a> 2006-12-21 11:39 <a href="http://www.blogjava.net/tambc/articles/89238.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>文件上传前台控制检测程序</title><link>http://www.blogjava.net/tambc/articles/89237.html</link><dc:creator>tambc</dc:creator><author>tambc</author><pubDate>Thu, 21 Dec 2006 03:36:00 GMT</pubDate><guid>http://www.blogjava.net/tambc/articles/89237.html</guid><wfw:comment>http://www.blogjava.net/tambc/comments/89237.html</wfw:comment><comments>http://www.blogjava.net/tambc/articles/89237.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/tambc/comments/commentRss/89237.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/tambc/services/trackbacks/89237.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 1								&lt;				title				&gt;				文件上传前台控制检测程序 v0.6				&lt;/				title				&gt;				 				  2																								&lt;				style				&gt;																						...&nbsp;&nbsp;<a href='http://www.blogjava.net/tambc/articles/89237.html'>阅读全文</a><img src ="http://www.blogjava.net/tambc/aggbug/89237.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/tambc/" target="_blank">tambc</a> 2006-12-21 11:36 <a href="http://www.blogjava.net/tambc/articles/89237.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>