﻿<?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-追随Java-随笔分类-Javascript</title><link>http://www.blogjava.net/hgq0011/category/2991.html</link><description>简单的事情重复做，就会产生累积效应！</description><language>zh-cn</language><lastBuildDate>Tue, 20 Mar 2007 07:41:47 GMT</lastBuildDate><pubDate>Tue, 20 Mar 2007 07:41:47 GMT</pubDate><ttl>60</ttl><item><title>怎样使得在Applet中加入的快捷键在客户端正常使用呢？</title><link>http://www.blogjava.net/hgq0011/archive/2007/03/20/104896.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 20 Mar 2007 02:41:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2007/03/20/104896.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/104896.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2007/03/20/104896.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/104896.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/104896.html</trackback:ping><description><![CDATA[                     怎样使得在Applet中加入的快捷键在客户端正常使用呢？
    有一个需求要用到applet ，这个到时没有什么问题。但是，用户比较成熟，都习惯用快捷键来操作。我在单独测试的applet 中的快捷键能够使用，但是加入到页面中就不其作用，不知道为什么？能有什么办法呢？谢谢！<img src ="http://www.blogjava.net/hgq0011/aggbug/104896.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2007-03-20 10:41 <a href="http://www.blogjava.net/hgq0011/archive/2007/03/20/104896.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>javascript中string的操作</title><link>http://www.blogjava.net/hgq0011/archive/2006/10/10/74289.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 10 Oct 2006 06:21:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2006/10/10/74289.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/74289.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2006/10/10/74289.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/74289.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/74289.html</trackback:ping><description><![CDATA[
		<a href="http://blog.csdn.net/zhukejun/archive/2006/08/22/1105743.aspx">http://blog.csdn.net/zhukejun/archive/2006/08/22/1105743.aspx</a>
<img src ="http://www.blogjava.net/hgq0011/aggbug/74289.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2006-10-10 14:21 <a href="http://www.blogjava.net/hgq0011/archive/2006/10/10/74289.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转贴]在b/s开发中经常用到的javaScript技术 </title><link>http://www.blogjava.net/hgq0011/archive/2006/09/18/70243.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Mon, 18 Sep 2006 03:36:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2006/09/18/70243.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/70243.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2006/09/18/70243.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/70243.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/70243.html</trackback:ping><description><![CDATA[
		<a href="http://blog.matrix.org.cn/page/pawenwen?entry=%E5%9C%A8b_s%E5%BC%80%E5%8F%91%E4%B8%AD%E7%BB%8F%E5%B8%B8%E7%94%A8%E5%88%B0%E7%9A%84javascript%E6%8A%80%E6%9C%AF">http://blog.matrix.org.cn/page/pawenwen?entry=%E5%9C%A8b_s%E5%BC%80%E5%8F%91%E4%B8%AD%E7%BB%8F%E5%B8%B8%E7%94%A8%E5%88%B0%E7%9A%84javascript%E6%8A%80%E6%9C%AF</a>
<img src ="http://www.blogjava.net/hgq0011/aggbug/70243.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2006-09-18 11:36 <a href="http://www.blogjava.net/hgq0011/archive/2006/09/18/70243.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转贴]给网页图片带来滚动显示效果：Lightbox JS   </title><link>http://www.blogjava.net/hgq0011/archive/2006/05/18/46724.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Thu, 18 May 2006 00:41:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2006/05/18/46724.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/46724.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2006/05/18/46724.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/46724.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/46724.html</trackback:ping><description><![CDATA[
		<a href="http://solidot.org/article.php/20060517070426500">http://solidot.org/article.php/20060517070426500</a>
<img src ="http://www.blogjava.net/hgq0011/aggbug/46724.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2006-05-18 08:41 <a href="http://www.blogjava.net/hgq0011/archive/2006/05/18/46724.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>页面快捷键ctrl+enter表示</title><link>http://www.blogjava.net/hgq0011/archive/2006/03/16/35535.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Thu, 16 Mar 2006 00:55:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2006/03/16/35535.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/35535.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2006/03/16/35535.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/35535.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/35535.html</trackback:ping><description><![CDATA[<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">event.ctrlKey&nbsp;</span><span style="color: rgb(0, 0, 0);">&amp;&amp;</span><span style="color: rgb(0, 0, 0);">&nbsp;event.keyCode&nbsp;</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">&nbsp;</span><span style="color: rgb(0, 0, 0);">13</span></div><br>
<img src ="http://www.blogjava.net/hgq0011/aggbug/35535.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2006-03-16 08:55 <a href="http://www.blogjava.net/hgq0011/archive/2006/03/16/35535.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转载]制作从屏幕右下方逐渐弹出的消息框</title><link>http://www.blogjava.net/hgq0011/archive/2006/01/06/26896.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Fri, 06 Jan 2006 08:06:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2006/01/06/26896.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/26896.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2006/01/06/26896.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/26896.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/26896.html</trackback:ping><description><![CDATA[<P>&nbsp;</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">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&nbsp;</SPAN><SPAN style="COLOR: #ff0000">http-equiv</SPAN><SPAN style="COLOR: #0000ff">="Content-Type"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;content</SPAN><SPAN style="COLOR: #0000ff">="text/html;&nbsp;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">完美仿MSN右下角弹出广告附带关闭按钮</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 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 id=Codehighlighter1_156_2356_Open_Image onclick="this.style.display='none'; Codehighlighter1_156_2356_Open_Text.style.display='none'; Codehighlighter1_156_2356_Closed_Image.style.display='inline'; Codehighlighter1_156_2356_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_156_2356_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_156_2356_Closed_Text.style.display='none'; Codehighlighter1_156_2356_Open_Image.style.display='inline'; Codehighlighter1_156_2356_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&nbsp;</SPAN><SPAN style="COLOR: #ff0000">language</SPAN><SPAN style="COLOR: #0000ff">="JavaScript"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN id=Codehighlighter1_156_2356_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_156_2356_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: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;!--</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>window.onload&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;getMsg;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>window.onresize&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;resizeDiv;<BR><IMG id=Codehighlighter1_242_243_Open_Image onclick="this.style.display='none'; Codehighlighter1_242_243_Open_Text.style.display='none'; Codehighlighter1_242_243_Closed_Image.style.display='inline'; Codehighlighter1_242_243_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_242_243_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_242_243_Closed_Text.style.display='none'; Codehighlighter1_242_243_Open_Image.style.display='inline'; Codehighlighter1_242_243_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top>window.onerror&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">()</SPAN><SPAN id=Codehighlighter1_242_243_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_242_243_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{}</SPAN></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: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">短信提示使用(asilas添加)</SPAN><SPAN style="COLOR: #008000; 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">&nbsp;divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,i&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</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">function</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;getMsg()<BR><IMG id=Codehighlighter1_355_1137_Open_Image onclick="this.style.display='none'; Codehighlighter1_355_1137_Open_Text.style.display='none'; Codehighlighter1_355_1137_Closed_Image.style.display='inline'; Codehighlighter1_355_1137_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_355_1137_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_355_1137_Closed_Text.style.display='none'; Codehighlighter1_355_1137_Open_Image.style.display='inline'; Codehighlighter1_355_1137_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_355_1137_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_355_1137_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<BR><IMG id=Codehighlighter1_360_1124_Open_Image onclick="this.style.display='none'; Codehighlighter1_360_1124_Open_Text.style.display='none'; Codehighlighter1_360_1124_Closed_Image.style.display='inline'; Codehighlighter1_360_1124_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_360_1124_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_360_1124_Closed_Text.style.display='none'; Codehighlighter1_360_1124_Open_Image.style.display='inline'; Codehighlighter1_360_1124_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">try</SPAN><SPAN id=Codehighlighter1_360_1124_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_360_1124_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>divTop&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.top,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>divLeft&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.left,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>divHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).offsetHeight,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>divWidth&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).offsetWidth,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>docWidth&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;document.body.clientWidth;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>docHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;document.body.clientHeight;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>alert('divTop&nbsp;&nbsp;'</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">divTop)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>alert('divHeight&nbsp;&nbsp;'</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">divHeight)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>alert('docHeight&nbsp;&nbsp;'</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">docHeight)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.top&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.body.scrollTop,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;docHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;divHeight</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.left&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.body.scrollLeft,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;docWidth&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">-</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;divWidth<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.visibility</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">visible</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>objTimer&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;window.setInterval(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">moveDiv()</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</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_1134_1135_Open_Image onclick="this.style.display='none'; Codehighlighter1_1134_1135_Open_Text.style.display='none'; Codehighlighter1_1134_1135_Closed_Image.style.display='inline'; Codehighlighter1_1134_1135_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1134_1135_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1134_1135_Closed_Text.style.display='none'; Codehighlighter1_1134_1135_Open_Image.style.display='inline'; Codehighlighter1_1134_1135_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">catch</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(e)</SPAN><SPAN id=Codehighlighter1_1134_1135_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_1134_1135_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{}</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 src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;resizeDiv()<BR><IMG id=Codehighlighter1_1161_1664_Open_Image onclick="this.style.display='none'; Codehighlighter1_1161_1664_Open_Text.style.display='none'; Codehighlighter1_1161_1664_Closed_Image.style.display='inline'; Codehighlighter1_1161_1664_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1161_1664_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1161_1664_Closed_Text.style.display='none'; Codehighlighter1_1161_1664_Open_Image.style.display='inline'; Codehighlighter1_1161_1664_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_1161_1664_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_1161_1664_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>i</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">if</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(i</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">300</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)&nbsp;closeDiv()&nbsp;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">客户想不用自动消失由用户来自己关闭所以屏蔽这句</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG id=Codehighlighter1_1218_1651_Open_Image onclick="this.style.display='none'; Codehighlighter1_1218_1651_Open_Text.style.display='none'; Codehighlighter1_1218_1651_Closed_Image.style.display='inline'; Codehighlighter1_1218_1651_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1218_1651_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1218_1651_Closed_Text.style.display='none'; Codehighlighter1_1218_1651_Open_Image.style.display='inline'; Codehighlighter1_1218_1651_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">try</SPAN><SPAN id=Codehighlighter1_1218_1651_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_1218_1651_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>divHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).offsetHeight,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>divWidth&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).offsetWidth,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>docWidth&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;document.body.clientWidth;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>docHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;document.body.clientHeight;<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>document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.top&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;docHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">-</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;divHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.body.scrollTop,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.left&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;docWidth&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">-</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;divWidth&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.body.scrollLeft,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</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_1661_1662_Open_Image onclick="this.style.display='none'; Codehighlighter1_1661_1662_Open_Text.style.display='none'; Codehighlighter1_1661_1662_Closed_Image.style.display='inline'; Codehighlighter1_1661_1662_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1661_1662_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1661_1662_Closed_Text.style.display='none'; Codehighlighter1_1661_1662_Open_Image.style.display='inline'; Codehighlighter1_1661_1662_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">catch</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(e)</SPAN><SPAN id=Codehighlighter1_1661_1662_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_1661_1662_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{}</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 src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;moveDiv()<BR><IMG id=Codehighlighter1_1686_2223_Open_Image onclick="this.style.display='none'; Codehighlighter1_1686_2223_Open_Text.style.display='none'; Codehighlighter1_1686_2223_Closed_Image.style.display='inline'; Codehighlighter1_1686_2223_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1686_2223_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1686_2223_Closed_Text.style.display='none'; Codehighlighter1_1686_2223_Open_Image.style.display='inline'; Codehighlighter1_1686_2223_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_1686_2223_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_1686_2223_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">try</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG id=Codehighlighter1_1694_2209_Open_Image onclick="this.style.display='none'; Codehighlighter1_1694_2209_Open_Text.style.display='none'; Codehighlighter1_1694_2209_Closed_Image.style.display='inline'; Codehighlighter1_1694_2209_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1694_2209_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1694_2209_Closed_Text.style.display='none'; Codehighlighter1_1694_2209_Open_Image.style.display='inline'; Codehighlighter1_1694_2209_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_1694_2209_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_1694_2209_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">alert('document.getElementById("eMeng").style.top&nbsp;&nbsp;'+document.getElementById("eMeng").style.top)</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(parseInt(document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.top,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;(docHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">-</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;divHeight&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.body.scrollTop,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)))<BR><IMG id=Codehighlighter1_1927_2018_Open_Image onclick="this.style.display='none'; Codehighlighter1_1927_2018_Open_Text.style.display='none'; Codehighlighter1_1927_2018_Closed_Image.style.display='inline'; Codehighlighter1_1927_2018_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1927_2018_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1927_2018_Closed_Text.style.display='none'; Codehighlighter1_1927_2018_Open_Image.style.display='inline'; Codehighlighter1_1927_2018_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_1927_2018_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_1927_2018_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;window.clearInterval(objTimer)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">objTimer&nbsp;=&nbsp;window.setInterval("resizeDiv()",1)</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;divTop&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;parseInt(document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.top,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">eMeng</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).style.top&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;divTop&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">-</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">alert('scrollTop&nbsp;&nbsp;&nbsp;'+parseInt(document.body.scrollTop,10))</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR><IMG id=Codehighlighter1_2220_2221_Open_Image onclick="this.style.display='none'; Codehighlighter1_2220_2221_Open_Text.style.display='none'; Codehighlighter1_2220_2221_Closed_Image.style.display='inline'; Codehighlighter1_2220_2221_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_2220_2221_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2220_2221_Closed_Text.style.display='none'; Codehighlighter1_2220_2221_Open_Image.style.display='inline'; Codehighlighter1_2220_2221_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">catch</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(e)</SPAN><SPAN id=Codehighlighter1_2220_2221_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_2220_2221_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{}</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 src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;closeDiv()<BR><IMG id=Codehighlighter1_2245_2351_Open_Image onclick="this.style.display='none'; Codehighlighter1_2245_2351_Open_Text.style.display='none'; Codehighlighter1_2245_2351_Closed_Image.style.display='inline'; Codehighlighter1_2245_2351_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_2245_2351_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2245_2351_Closed_Text.style.display='none'; Codehighlighter1_2245_2351_Open_Image.style.display='inline'; Codehighlighter1_2245_2351_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_2245_2351_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_2245_2351_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>document.getElementById('eMeng').style.visibility</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">'hidden';<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">(objTimer)&nbsp;window.clearInterval(objTimer)<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/ExpandedBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">--&gt;</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><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: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">温馨提示代码开始</SPAN><SPAN style="COLOR: #008000">--&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">DIV&nbsp;</SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">=eMeng&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="BORDER-RIGHT:&nbsp;#455690&nbsp;1px&nbsp;solid;&nbsp;BORDER-TOP:&nbsp;#a6b4cf&nbsp;1px&nbsp;solid;&nbsp;Z-INDEX:99999;&nbsp;LEFT:&nbsp;0px;&nbsp;VISIBILITY:&nbsp;hidden;&nbsp;BORDER-LEFT:&nbsp;#a6b4cf&nbsp;1px&nbsp;solid;&nbsp;WIDTH:&nbsp;180px;&nbsp;BORDER-BOTTOM:&nbsp;#455690&nbsp;1px&nbsp;solid;&nbsp;POSITION:&nbsp;absolute;&nbsp;TOP:&nbsp;0px;&nbsp;HEIGHT:&nbsp;116px;&nbsp;BACKGROUND-COLOR:&nbsp;#c9d3f3"</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&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="BORDER-TOP:&nbsp;#ffffff&nbsp;1px&nbsp;solid;&nbsp;BORDER-LEFT:&nbsp;#ffffff&nbsp;1px&nbsp;solid"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;cellSpacing</SPAN><SPAN style="COLOR: #0000ff">=0&nbsp;</SPAN><SPAN style="COLOR: #ff0000">cellPadding</SPAN><SPAN style="COLOR: #0000ff">=0&nbsp;</SPAN><SPAN style="COLOR: #ff0000">width</SPAN><SPAN style="COLOR: #0000ff">="100%"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;bgColor</SPAN><SPAN style="COLOR: #0000ff">=#AFDCF3&nbsp;</SPAN><SPAN style="COLOR: #ff0000">border</SPAN><SPAN style="COLOR: #0000ff">=0</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>&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">TR&nbsp;</SPAN><SPAN style="COLOR: #ff0000">bgColor</SPAN><SPAN style="COLOR: #0000ff">=#6699cc</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">TD&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="font-size:&nbsp;12px;&nbsp;background-image:&nbsp;url('msgTopBg.gif');&nbsp;color:&nbsp;#0f2c8c"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;width</SPAN><SPAN style="COLOR: #0000ff">=30&nbsp;</SPAN><SPAN style="COLOR: #ff0000">height</SPAN><SPAN style="COLOR: #0000ff">=24</SPAN><SPAN style="COLOR: #0000ff">&gt;&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>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">TD&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="font-weight:&nbsp;normal;&nbsp;font-size:&nbsp;12px;&nbsp;background-image:&nbsp;url('msgTopBg.gif');&nbsp;color:&nbsp;#ffffff;&nbsp;padding-left:&nbsp;4px;&nbsp;padding-top:&nbsp;4px"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;vAlign</SPAN><SPAN style="COLOR: #0000ff">=center&nbsp;</SPAN><SPAN style="COLOR: #ff0000">width</SPAN><SPAN style="COLOR: #0000ff">="100%"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;网站温馨提示：</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>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">TD&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="background-image:&nbsp;url('msgTopBg.gif');&nbsp;padding-right:&nbsp;2px;&nbsp;padding-top:&nbsp;2px"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;vAlign</SPAN><SPAN style="COLOR: #0000ff">=center&nbsp;</SPAN><SPAN style="COLOR: #ff0000">align</SPAN><SPAN style="COLOR: #0000ff">=right&nbsp;</SPAN><SPAN style="COLOR: #ff0000">width</SPAN><SPAN style="COLOR: #0000ff">=19</SPAN><SPAN style="COLOR: #0000ff">&gt;&lt;</SPAN><SPAN style="COLOR: #800000">span&nbsp;</SPAN><SPAN style="COLOR: #ff0000">title</SPAN><SPAN style="COLOR: #0000ff">=关闭&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="CURSOR:&nbsp;hand;color:white;font-size:12px;font-weight:bold;margin-right:4px;"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;onclick</SPAN><SPAN style="COLOR: #0000ff">=closeDiv()&nbsp;</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: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&lt;IMG&nbsp;title=关闭&nbsp;style="CURSOR:&nbsp;hand"&nbsp;onclick=closeDiv()&nbsp;hspace=3&nbsp;src="msgClose.jpg"&gt;</SPAN><SPAN style="COLOR: #008000">--&gt;</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>&nbsp;&nbsp;</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>&nbsp;&nbsp;</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>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">TD&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="background-image:&nbsp;url('http://pic.tianyaclub.com/images/windty_bg.jpg');&nbsp;padding-right:&nbsp;1px;&nbsp;padding-bottom:&nbsp;1px"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;colSpan</SPAN><SPAN style="COLOR: #0000ff">=3&nbsp;</SPAN><SPAN style="COLOR: #ff0000">height</SPAN><SPAN style="COLOR: #0000ff">=90</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">DIV&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="BORDER-RIGHT:&nbsp;#b9c9ef&nbsp;1px&nbsp;solid;&nbsp;PADDING-RIGHT:&nbsp;13px;&nbsp;BORDER-TOP:&nbsp;#728eb8&nbsp;1px&nbsp;solid;&nbsp;PADDING-LEFT:&nbsp;13px;&nbsp;FONT-SIZE:&nbsp;12px;&nbsp;PADDING-BOTTOM:&nbsp;13px;&nbsp;BORDER-LEFT:&nbsp;#728eb8&nbsp;1px&nbsp;solid;&nbsp;WIDTH:&nbsp;100%;&nbsp;COLOR:&nbsp;#1f336b;&nbsp;PADDING-TOP:&nbsp;18px;&nbsp;BORDER-BOTTOM:&nbsp;#b9c9ef&nbsp;1px&nbsp;solid;&nbsp;HEIGHT:&nbsp;100%"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">先飞电脑技术网全新改版，免费精品网络资源，你用了吗？</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">BR</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">DIV&nbsp;</SPAN><SPAN style="COLOR: #ff0000">align</SPAN><SPAN style="COLOR: #0000ff">=center&nbsp;</SPAN><SPAN style="COLOR: #ff0000">style</SPAN><SPAN style="COLOR: #0000ff">="word-break:break-all"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&lt;a&nbsp;href="http://pic.tianyaclub.com/default.asp?idWriter=0&amp;Key=0"&nbsp;target="_blank"&gt;</SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">a&nbsp;</SPAN><SPAN style="COLOR: #ff0000">href</SPAN><SPAN style="COLOR: #0000ff">="http://www.xfbbs.com"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;target</SPAN><SPAN style="COLOR: #0000ff">="_blank"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">font&nbsp;</SPAN><SPAN style="COLOR: #ff0000">color</SPAN><SPAN style="COLOR: #0000ff">=#FF0000</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">进入网站浏览</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">font</SPAN><SPAN style="COLOR: #0000ff">&gt;&lt;/</SPAN><SPAN style="COLOR: #800000">a</SPAN><SPAN style="COLOR: #0000ff">&gt;&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><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</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>&nbsp;&nbsp;&nbsp;</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>&nbsp;&nbsp;</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">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">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">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: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">温馨提示代码结束</SPAN><SPAN style="COLOR: #008000">--&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">&nbsp;</SPAN></DIV><img src ="http://www.blogjava.net/hgq0011/aggbug/26896.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2006-01-06 16:06 <a href="http://www.blogjava.net/hgq0011/archive/2006/01/06/26896.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转贴]javascript事件查询综合</title><link>http://www.blogjava.net/hgq0011/archive/2005/09/07/12345.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Wed, 07 Sep 2005 14:33:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2005/09/07/12345.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/12345.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2005/09/07/12345.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/12345.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/12345.html</trackback:ping><description><![CDATA[<TABLE cellPadding=4 width="100%" border=0>
<TBODY>
<TR>
<TD height=19>
<TABLE cellSpacing=3 cellPadding=3 width="100%" bgColor=#eeeeee border=0>
<TBODY>
<TR>
<TD><B><SPAN id=ArticleTitle1_ArticleTitle1_lblTitle>javascript事件查询综合</SPAN></B>&nbsp;&nbsp;&nbsp;&nbsp; 选择自 <A id=ArticleTitle1_ArticleTitle1_AuthorLink href="http://dev.csdn.net/user/feng_sundy">feng_sundy</A> 的 Blog </TD></TR>
<TR>
<TD align=middle bgColor=#003399 height=16><FONT color=#ffffff>关键字</FONT></TD>
<TD width=500>&nbsp; <SPAN id=ArticleTitle1_ArticleTitle1_lblKeywords>javascript事件查询综合</SPAN></TD></TR>
<TR>
<TD align=middle bgColor=#003399 height=16><FONT color=#ffffff>出处</FONT></TD>
<TD>&nbsp; <SPAN id=ArticleTitle1_ArticleTitle1_lblSource></SPAN></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD width=10></TD>
<TD><SPAN id=ArticleContent1_ArticleContent1_lblContent>
<P>javascript事件查询综合 <BR>&nbsp;</P>
<P>javascript事件查询综合<BR>click()&nbsp;&nbsp; 对象.click()&nbsp;&nbsp; 使对象被点击。<BR>closed&nbsp;&nbsp; 对象.closed&nbsp;&nbsp; 对象窗口是否已关闭true/false<BR>clearTimeout(对象) 清除已设置的setTimeout对象<BR>clearInterval(对象) 清除已设置的setInterval对象<BR>confirm("提示信息") 弹出确认框，确定返回true取消返回false<BR>cursor:样式&nbsp; 更改鼠标样式 hand crosshair text wait help default auto e/s/w/n-resize</P>
<P>event.clientX&nbsp; 返回最后一次点击鼠标X坐标值；<BR>event.clientY&nbsp; 返回最后一次点击鼠标Y坐标值；<BR>event.offsetX&nbsp; 返回当前鼠标悬停X坐标值<BR>event.offsetY&nbsp; 返回当前鼠标悬停Y坐标值</P>
<P>document.write(document.lastModified)&nbsp; 网页最后一次更新时间<BR>document.ondblclick=x&nbsp; 当双击鼠标产生事件<BR>document.onmousedown=x&nbsp; 单击鼠标键产生事件</P>
<P>document.body.scrollTop; 返回和设置当前竖向滚动条的坐标值，须与函数配合,<BR>document.body.scrollLeft; 返回和设置当前横向滚动务的坐标值，须与函数配合，<BR>document.title&nbsp; document.title="message"; 当前窗口的标题栏文字<BR>document.bgcolor document.bgcolor="颜色值"; 改变窗口背景颜色<BR>document.Fgcolor document.Fgcolor="颜色值"; 改变正文颜色<BR>document.linkcolor document.linkcolor="颜色值"; 改变超联接颜色<BR>document.alinkcolor document.alinkcolor="颜色值"; 改变正点击联接的颜色<BR>document.VlinkColor document.VlinkColor="颜色值"; 改变已访问联接的颜色<BR>document.forms.length 返回当前页form表单数<BR>document.anchors.length 返回当前页锚的数量<BR>document.links.length 返回当前页联接的数量<BR>document.onmousedown=x 单击鼠标触发事件<BR>document.ondblclick=x 双击鼠标触发事件<BR>defaultStatus&nbsp; window.status=defaultStatus; 将状态栏设置默认显示</P>
<P>function&nbsp; function xx(){...}&nbsp; 定义函数<BR>isNumeric&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 判断是否是数字<BR>innerHTML&nbsp; xx=对象.innerHTML&nbsp; 输入某对象标签中的html源代码<BR>innerText&nbsp; divid.innerText=xx&nbsp; 将以div定位以id命名的对象值设为XX</P>
<P>location.reload(); 使本页刷新，target可等于一个刷新的网页</P>
<P>Math.random()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 随机涵数,只能是0到1之间的数,如果要得到其它数,可以为*10,再取整<BR>Math.floor(number) 将对象number转为整数，舍取所有小数<BR>Math.min(1,2)&nbsp; 返回1,2哪个小<BR>Math.max(1,2)&nbsp; 返回1,2哪个大</P>
<P>navigator.appName 返回当前浏览器名称<BR>navigator.appVersion 返回当前浏览器版本号<BR>navigator.appCodeName 返回当前浏览器代码名字<BR>navigator.userAgent 返回当前浏览器用户代标志</P>
<P>onsubmit&nbsp; onsubmit="return(xx())"&nbsp; 使用函数返回值<BR>opener&nbsp;&nbsp; opener.document.对象&nbsp; 控制原打开窗体对象</P>
<P>prompt&nbsp;&nbsp; xx=window.prompt("提示信息","预定值"); 输入语句<BR>parent&nbsp;&nbsp; parent.框架名.对象 控制框架页面</P>
<P>return&nbsp;&nbsp; return false&nbsp;&nbsp; 返回值<BR>random&nbsp;&nbsp; 随机参数（0至1之间）<BR>reset()&nbsp;&nbsp; form.reset();&nbsp;&nbsp; 使form表单内的数据重置</P>
<P>split("")&nbsp; string.split("")&nbsp; 将string对象字符以逗号隔开<BR>submit()&nbsp; form对象.submit()&nbsp; 使form对象提交数据</P>
<P>String对象的&nbsp; charAt(x)对象 反回指定对象的第多少位的字母<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lastIndexOf("string") 从右到左询找指定字符，没有返回-1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; indexOf("string") 从左到右询找指定字符，没有返回-1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LowerCase()&nbsp; 将对象全部转为小写 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UpperCase()&nbsp; 将对象全部转为大写<BR>substring(0,5)&nbsp; string.substring(x,x)&nbsp; 返回对象中从0到5的字符<BR>setTimeout("function",time) 设置一个超时对象<BR>setInterval("function",time) 设置一个超时对象</P>
<P>toLocaleString() x.toLocaleString()&nbsp; 从x时间对象中获取时间，以字符串型式存在<BR>typeof(变量名)&nbsp;&nbsp; 检查变量的类型，值有：String,Boolean,Object,Function,Underfined</P>
<P>window.event.button==1/2/3 鼠标键左键等于1右键等于2两个键一起按为3<BR>window.screen.availWidth 返回当前屏幕宽度(空白空间)<BR>window.screen.availHeight 返回当前屏幕高度(空白空间)<BR>window.screen.width&nbsp; 返回当前屏幕宽度(分辨率值)<BR>window.screen.height&nbsp; 返回当前屏幕高度(分辨率值)<BR>window.document.body.offsetHeight; 返回当前网页高度<BR>window.document.body.offsetWidth; 返回当前网页宽度<BR>window.resizeTo(0,0)&nbsp; 将窗口设置宽高<BR>window.moveTo(0,0)&nbsp; 将窗口移到某位置<BR>window.focus()&nbsp; 使当前窗口获得焦点<BR>window.scroll(x,y) 窗口滚动条坐标，y控制上下移动，须与函数配合<BR>window.open()&nbsp; window.open("地址","名称","属性") <BR>&nbsp;&nbsp; 属性:toolbar(工具栏),location(地址栏),directions,status(状态栏),<BR>&nbsp;&nbsp; menubar(菜单栏),scrollbar(滚动条),resizable(改变大小),&nbsp; width(宽),height(高),fullscreen(全&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 屏),scrollbars(全屏时无滚动条无参 数,channelmode(宽屏),left(打开窗口x坐标),top(打开窗口y坐标)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.location = 'view-source:' + window.location.href&nbsp; 应用事件查看网页源代码;</P>
<P><BR>a=new Date();&nbsp; //创建a为一个新的时期对象<BR>y=a.getYear(); //y的值为从对象a中获取年份值 两位数年份<BR>y1=a.getFullYear(); //获取全年份数 四位数年份<BR>m=a.getMonth();&nbsp; //获取月份值<BR>d=a.getDate();&nbsp; //获取日期值<BR>d1=a.getDay();&nbsp; //获取当前星期值<BR>h=a.getHours();&nbsp; //获取当前小时数<BR>m1=a.getMinutes(); //获取当前分钟数<BR>s=a.getSeconds(); //获取当前秒钟数</P>
<P><BR>对象.style.fontSize="文字大小";<BR>单位：mm/cm/in英寸/pc帕/pt点/px象素/em文字高<BR>1in=1.25cm<BR>1pc=12pt<BR>1pt=1.2px(800*600分辩率下)</P>
<P>文本字体属性：<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fontSize大小<BR>&nbsp;family字体<BR>&nbsp;color颜色<BR>&nbsp;fontStyle风格，取值为normal一般,italic斜体,oblique斜体且加粗<BR>&nbsp;fontWeight加粗,取值为100到900不等,900最粗,light,normal,bold<BR>&nbsp;letterSpacing间距,更改文字间距离,取值为,1pt,10px,1cm<BR>&nbsp;textDecoration:文字修饰;取值,none不修饰,underline下划线,overline上划线<BR>&nbsp;background:文字背景颜色,<BR>&nbsp;backgroundImage:背景图片,取值为图片的插入路径</P>
<P><BR>点击网页正文函数调用触发器：</P>
<P>1.onClick 当对象被点击<BR>2.onLoad 当网页打开,只能书写在body中<BR>3.onUnload 当网页关闭或离开时,只能书写在body中<BR>4.onmouseover 当鼠标悬于其上时<BR>5.onmouseout 当鼠标离开对象时<BR>6.onmouseup 当鼠标松开<BR>7.onmousedown 当鼠标按下键<BR>8.onFocus 当对象获取焦点时<BR>9.onSelect 当对象的文本被选中时<BR>10.onChange 当对象的内容被改变<BR>11.onBlur 当对象失去焦点<BR>onsubmit=return(ss())表单调用时返回的值</P>
<P>直线&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; border-bottom:1x solid black<BR>虚线&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; border-bottom:1x dotted black<BR>点划线&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; border-bottom:2x dashed black<BR>双线&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; border-bottom:5x double black<BR>槽状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; border-bottom:1x groove black<BR>脊状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; border-bottom:1x ridge black</P>
<P><BR>1.边缘高光glow(color=颜色,strength=亮光大小)&lt;br&gt;<BR>2.水平翻转fliph() 使对象水平翻转180度&lt;br&gt;<BR>3.垂直翻转flipv() 使对象垂直翻转180度&lt;br&gt;<BR>4.对象模糊blur(add=true/false direction=方向 strength=强度)<BR>&nbsp;add指定是否按印象画派进行模糊direction模糊方向strength模糊强度<BR>5.对象透明alpha(opaction=0-100,finishopacity=0-100,style=0/1/2/3)<BR>&nbsp;opaction对象整体不透明值finishopacity当对象利用了渐透明时该项指定结束透明位置的不透明值style指定透明方式0为整体透明，1为线型透明，2为圆型透明，3为矩形透明<BR>6.去除颜色chroma(color=颜色值)使对象中颜色与指定颜色相同区域透明<BR>7.建立阴影dropshadow(color=阴影颜色,offx=水平向左偏离像素,offy=水平向下偏离像素)<BR>8.去色gray()使对象呈灰度显示<BR>9.负片效果invert()使对象呈底片效果<BR>10.高光light()使对象呈黑色显示<BR>11.遮盖mask(color=颜色)使整个对象以指定颜色进行蒙板一次</P>
<P>opacity 表透明度水平.0~100,0表全透明,100表完全不透明<BR>finishopacity表想要设置的渐变透明效果.0~100.<BR>style 表透明区的形状.0表统一形状.1表线形.2表放射形.3表长方形.<BR>startx.starty表渐变透明效果的开始时X和Y坐标.<BR>finishx,finishy渐变透明效果结束时x,y 的坐标.<BR>add有来确定是否在模糊效果中使有原有目标.值为0,1.0表"否",1表"是".<BR>direction设置模糊的方向.0度表垂直向上,45度为一个单位.默认值是向左270度.left,right,down,up.<BR>strength 只能用整数来确定.代表有多少个像素的宽度将受到模糊影响.默认是5个.<BR>color要透明的颜色.<BR>offx,offy分别是x,y 方向阴影的偏移量.<BR>positive指投影方式.0表透明像素生成阴影.1表只给出不透明像素生成阴影..</P>
<P>AddAmbient:加入包围的光源.<BR>AddCone:加入锥形光源.<BR>AddPoint加入点光源<BR>Changcolor:改变光的颜色．<BR>Changstrength:改变光源的强度．<BR>Clear:清除所有的光源．<BR>MoveLight:移动光源．</P>
<P>freq是波纹的频率，在指定在对象上一区需要产生多少个完事的波纹．<BR>lightstrength可对于波纹增强光影的效果．显著0~100正整数，正弦波开始位置是0~360度．0表从0度开始，25表从90度开始．<BR>strength表振幅大小．</P>
<P><BR>hand&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:hand"<BR>crosshair&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:crosshair"<BR>text&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:text"<BR>wait&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:wait"<BR>default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:default"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>help&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:help"<BR>e-resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:e-resize"<BR>ne-resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:ne-resize"<BR>n-resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:n-resize"<BR>nw-resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:nw-resize"<BR>w-resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:w-resize"<BR>s-resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:s-resize"<BR>sw-resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:sw-resize "<BR>se-resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:se-resize"<BR>auto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style="cursor:auto" <BR></P></SPAN><BR></TD></TR></TBODY></TABLE><img src ="http://www.blogjava.net/hgq0011/aggbug/12345.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2005-09-07 22:33 <a href="http://www.blogjava.net/hgq0011/archive/2005/09/07/12345.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>form 和嵌入在该form的 ifram相互得到各自form对象</title><link>http://www.blogjava.net/hgq0011/archive/2005/09/06/12183.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 06 Sep 2005 02:09:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2005/09/06/12183.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/12183.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2005/09/06/12183.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/12183.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/12183.html</trackback:ping><description><![CDATA[<P>form 和嵌入在该form的 ifram相互得到各自form对象:</P>
<P>define</P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV>&lt;form name="mainForm"&gt;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #808080">&lt;</SPAN><SPAN style="COLOR: #000000">input&nbsp;type</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">text</SPAN><SPAN style="COLOR: #000000">"&nbsp;name</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000">"userName"</SPAN><SPAN style="COLOR: #808080">&gt;<BR>&lt;/form&gt;</SPAN></DIV></DIV>
<P>&nbsp;&nbsp;&nbsp; *.jsp中也有一个表单iForm<BR></P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #808080">&lt;</SPAN><SPAN style="COLOR: #000000">ifram&nbsp;name</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000">"iFramForm"</SPAN><SPAN style="COLOR: #808080">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #808080">&lt;</SPAN><SPAN style="COLOR: #0000ff">from</SPAN><SPAN style="COLOR: #000000">&nbsp;name</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000">"iForm"</SPAN><SPAN style="COLOR: #808080">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #808080">&lt;</SPAN><SPAN style="COLOR: #000000">input&nbsp;name</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000">"password"</SPAN><SPAN style="COLOR: #808080">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #808080">&lt;/</SPAN><SPAN style="COLOR: #000000">form</SPAN><SPAN style="COLOR: #808080">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #808080">&lt;/</SPAN><SPAN style="COLOR: #000000">iframform</SPAN><SPAN style="COLOR: #808080">&gt;</SPAN></DIV></DIV>
<P><BR>&nbsp;&nbsp;&nbsp; parent.document.mainForm.userName.value这样就可以在ifram中得到mainForm中的参数了，iFramForm.iForm.password.value这样在mainForm中可以得到ifram中的值了，</P><img src ="http://www.blogjava.net/hgq0011/aggbug/12183.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2005-09-06 10:09 <a href="http://www.blogjava.net/hgq0011/archive/2005/09/06/12183.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>javascript _menu</title><link>http://www.blogjava.net/hgq0011/archive/2005/09/06/12165.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 06 Sep 2005 01:33:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2005/09/06/12165.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/12165.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2005/09/06/12165.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/12165.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/12165.html</trackback:ping><description><![CDATA[发现一个好的javascript网站(<A href="http://www.softcomplex.com/products/tigra_menu/demo/steps/">http://www.softcomplex.com/products/tigra_menu/demo/steps/</A>)有关于用JAVASCRIPT实现下拉菜单。 <img src ="http://www.blogjava.net/hgq0011/aggbug/12165.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2005-09-06 09:33 <a href="http://www.blogjava.net/hgq0011/archive/2005/09/06/12165.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>javascript格式化数字方法</title><link>http://www.blogjava.net/hgq0011/archive/2005/09/06/12150.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 06 Sep 2005 00:28:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2005/09/06/12150.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/12150.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2005/09/06/12150.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/12150.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/12150.html</trackback:ping><description><![CDATA[<FONT size=2>有时在页面中用javascript来处理数字，比如保留几位小数，下面的方法可以帮助你。
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV>&nbsp; /**<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="mailto:*@param">*@param</A> srcStr表示要格式化的数<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="mailto:*@param">*@param</A> nAfterDot 要保留的位数<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/ <BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;FormatNumber(srcStr,nAfterDot){<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;srcStr,nAfterDot;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;resultStr,nTen;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;srcStr&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">srcStr</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;strLen&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;srcStr.length;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;dotPos&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;srcStr.indexOf(</SPAN><SPAN style="COLOR: #000000">"</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">);<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;(dotPos&nbsp;</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">){<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resultStr&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;srcStr</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">&nbsp;(i</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">;i</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">nAfterDot;i</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">){<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resultStr&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;resultStr</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">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;resultStr;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;</SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;((strLen&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">&nbsp;dotPos&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">)&nbsp;</SPAN><SPAN style="COLOR: #000000">&gt;=</SPAN><SPAN style="COLOR: #000000">&nbsp;nAfterDot){<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nAfter&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;dotPos&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;nAfterDot&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nTen&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">(j</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">;j</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">nAfterDot;j</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">){<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nTen&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;nTen</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">10</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resultStr&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;Math.round(parseFloat(srcStr)</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">nTen)</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">nTen;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;resultStr;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;</SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resultStr&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;srcStr;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">&nbsp;(i</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">;i</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">(nAfterDot&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">&nbsp;strLen&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;dotPos&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">);i</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">){<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resultStr&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;resultStr</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">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;resultStr;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>}</SPAN></DIV></DIV></FONT><img src ="http://www.blogjava.net/hgq0011/aggbug/12150.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2005-09-06 08:28 <a href="http://www.blogjava.net/hgq0011/archive/2005/09/06/12150.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>javascript得到屏幕的有效值</title><link>http://www.blogjava.net/hgq0011/archive/2005/09/05/12011.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Mon, 05 Sep 2005 03:29:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2005/09/05/12011.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/12011.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2005/09/05/12011.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/12011.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/12011.html</trackback:ping><description><![CDATA[screen.availWidth<BR>screen.height<img src ="http://www.blogjava.net/hgq0011/aggbug/12011.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2005-09-05 11:29 <a href="http://www.blogjava.net/hgq0011/archive/2005/09/05/12011.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>正则表达式（限制text只允许输入int ,float）</title><link>http://www.blogjava.net/hgq0011/archive/2005/09/01/11763.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Thu, 01 Sep 2005 08:09:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2005/09/01/11763.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/11763.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2005/09/01/11763.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/11763.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/11763.html</trackback:ping><description><![CDATA[正则表达式（限制text只允许输入int ,float）<BR>&nbsp; 
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG id=Codehighlighter1_28_131_Open_Image onclick="this.style.display='none'; Codehighlighter1_28_131_Open_Text.style.display='none'; Codehighlighter1_28_131_Closed_Image.style.display='inline'; Codehighlighter1_28_131_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_28_131_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_28_131_Closed_Text.style.display='none'; Codehighlighter1_28_131_Open_Image.style.display='inline'; Codehighlighter1_28_131_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align=top><SPAN style="COLOR: #000000">function&nbsp;numberCheck&nbsp;(text)&nbsp;</SPAN><SPAN id=Codehighlighter1_28_131_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_28_131_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;regex&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">/^</SPAN><SPAN style="COLOR: #000000">[</SPAN><SPAN style="COLOR: #000000">+|-</SPAN><SPAN style="COLOR: #000000">]</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">\d</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">\.</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">\d</SPAN><SPAN style="COLOR: #000000">*</SPAN><SPAN style="COLOR: #000000">$</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">;<BR><IMG id=Codehighlighter1_92_113_Open_Image onclick="this.style.display='none'; Codehighlighter1_92_113_Open_Text.style.display='none'; Codehighlighter1_92_113_Closed_Image.style.display='inline'; Codehighlighter1_92_113_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_92_113_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_92_113_Closed_Text.style.display='none'; Codehighlighter1_92_113_Open_Image.style.display='inline'; Codehighlighter1_92_113_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;(</SPAN><SPAN style="COLOR: #000000">!</SPAN><SPAN style="COLOR: #000000">regex.test(text))</SPAN><SPAN id=Codehighlighter1_92_113_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_92_113_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">false</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">true</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN></DIV></DIV><img src ="http://www.blogjava.net/hgq0011/aggbug/11763.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2005-09-01 16:09 <a href="http://www.blogjava.net/hgq0011/archive/2005/09/01/11763.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>获取表单对象</title><link>http://www.blogjava.net/hgq0011/archive/2005/09/01/11727.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Thu, 01 Sep 2005 03:46:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2005/09/01/11727.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/11727.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2005/09/01/11727.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/11727.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/11727.html</trackback:ping><description><![CDATA[　　<FONT size=2>如果在表单中一个text的名字加了“.”那么我们怎样来得到它的值呢？<BR></FONT>　　<FONT size=2>就用下面类似的方法来取得：</FONT><BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">document.forms["userForm"].elements["user.firstName"].value;</SPAN></DIV></DIV><img src ="http://www.blogjava.net/hgq0011/aggbug/11727.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2005-09-01 11:46 <a href="http://www.blogjava.net/hgq0011/archive/2005/09/01/11727.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>点选行的背景颜色改变，但上次点的背景颜色保持最初的颜色</title><link>http://www.blogjava.net/hgq0011/archive/2005/08/30/11574.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 30 Aug 2005 08:28:00 GMT</pubDate><guid>http://www.blogjava.net/hgq0011/archive/2005/08/30/11574.html</guid><wfw:comment>http://www.blogjava.net/hgq0011/comments/11574.html</wfw:comment><comments>http://www.blogjava.net/hgq0011/archive/2005/08/30/11574.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/hgq0011/comments/commentRss/11574.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/hgq0011/services/trackbacks/11574.html</trackback:ping><description><![CDATA[<P><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有时要做到在一个Table中点选某一行改变背景颜色，但上次点的背景颜色保持最初的颜色。这样能够让用户知道刚才点选了那一行，还有就是能能行的数据用javascript还原到Form中实现修改数据。<BR>代码如下：<BR>　　</P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><SPAN style="COLOR: #008080">&nbsp;1</SPAN>&nbsp;<SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">form&nbsp;</SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="theForm"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;2</SPAN>&nbsp;<SPAN style="COLOR: #000000">&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">input&nbsp;</SPAN><SPAN style="COLOR: #ff0000">type</SPAN><SPAN style="COLOR: #0000ff">="text"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;name</SPAN><SPAN style="COLOR: #0000ff">="userName"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;3</SPAN>&nbsp;<SPAN style="COLOR: #000000"></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">&nbsp;4</SPAN>&nbsp;<SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">table</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;5</SPAN>&nbsp;<SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">tr&nbsp;</SPAN><SPAN style="COLOR: #ff0000">bgcolor</SPAN><SPAN style="COLOR: #0000ff">="#CCCCCC"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onclick</SPAN><SPAN style="COLOR: #0000ff">="changeBackColor(this,'harryson')"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;6</SPAN>&nbsp;<SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">用户名--Harryson</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;7</SPAN>&nbsp;<SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;8</SPAN>&nbsp;<SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">table</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;9</SPAN>&nbsp;<SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">10</SPAN>&nbsp;<SPAN style="COLOR: #000000"></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">script&nbsp;</SPAN><SPAN style="COLOR: #ff0000">language</SPAN><SPAN style="COLOR: #0000ff">="javascript"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">11</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;sltObj</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">;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">原来的行对象</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">12</SPAN>&nbsp;<SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;befColor&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">""</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">原来行对象的背景颜色</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN>&nbsp;<SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">方法用来改变当前行的背景颜色，还原原来行的背景颜色,把设置的值写到表单中</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">14</SPAN>&nbsp;<SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;changeBackColor(ARG,userName){<BR></SPAN><SPAN style="COLOR: #008080">15</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;(sltObj&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">==</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;ARG)&nbsp;{<BR></SPAN><SPAN style="COLOR: #008080">16</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">return</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">true</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;<BR></SPAN><SPAN style="COLOR: #008080">17</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">else</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">18</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(sltObj</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">)&nbsp;{<BR></SPAN><SPAN style="COLOR: #008080">19</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sltObj.bgColor</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;befColor;<BR></SPAN><SPAN style="COLOR: #008080">20</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR></SPAN><SPAN style="COLOR: #008080">21</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;befColor&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;ARG.bgColor;<BR></SPAN><SPAN style="COLOR: #008080">22</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">alert(befColor);</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">23</SPAN>&nbsp;<SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ARG.bgColor</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">#66CC99</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;<BR></SPAN><SPAN style="COLOR: #008080">24</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">25</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">26</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sltObj&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;ARG;<BR></SPAN><SPAN style="COLOR: #008080">27</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parent.document.theform.userName.value&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;userName;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">表示table是在iframe中</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">28</SPAN>&nbsp;<SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">document.theform.userName.value&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;userName;</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">表示table是相同的from中</SPAN><SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">29</SPAN>&nbsp;<SPAN style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}<BR></SPAN><SPAN style="COLOR: #008080">30</SPAN>&nbsp;<SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">script</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN></DIV></DIV></FONT><BR><FONT size=2>个人还是比较人性化的，：）</FONT><img src ="http://www.blogjava.net/hgq0011/aggbug/11574.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/hgq0011/" target="_blank">Harryson</a> 2005-08-30 16:28 <a href="http://www.blogjava.net/hgq0011/archive/2005/08/30/11574.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>