<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[friend365 - Ajax]]></title>
<link>http://www.friend365.cn/</link>
<description><![CDATA[敬业是对渴望成功的人对待工作的基本要求，思想决定行为，行为形成习惯，习惯决定性格，性格决定命运。永久域名www.friend365.cn]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005-2009 friend365.cn]]></copyright>
<webMaster><![CDATA[friend365@163.com(美丽人生)]]></webMaster>
<generator>friend365.cn</generator> 
<image>
	<title>friend365</title> 
	<url>http://www.friend365.cn/images/logomy.gif</url> 
	<link>http://www.friend365.cn/</link> 
	<description>friend365</description> 
</image>

			<item>
			<link>http://www.friend365.cn/default.asp?id=1087</link>
			<title><![CDATA[AJAX案例：MP3网站]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Fri,20 Mar 2009 09:44:25 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=1087</guid>	
		<description><![CDATA[内容：百度Mp3的试听页面<br /> 特点：采用<span class="t_tag" onclick="tagshow(event)" href="http://www.51ajax.com/bbs/tag.php?name=Ajax">Ajax</span>技术加载歌词，并且歌词根据词曲滚动，并自动把正在演唱的歌词加重显示<br /> <br /> 前几天偶然发现百度MP3的试听歌曲可以实现歌词动态滚动，看了下源文件，终于发现了Ajax的痕迹。准确的说是AJAH，呵呵，而且Only For IE。<br /> <br /> 主要是一个JS函数来实现这个效果，<span class="t_tag" onclick="tagshow(event)" href="http://www.51ajax.com/bbs/tag.php?name=%E4%BB%A3%E7%A0%81">代码</span>如下：
<div class="blockcode"><span onclick="copycode($('code0'));" class="headactions">复制内容到剪贴板</span>
<h5>代码:</h5>
<code id="code0">function lrcInterface(pID,lrcID)<br /> {<br /> &nbsp; &nbsp; var tmpOutput=document.getElementById('LrcShower');<br /> &nbsp; &nbsp; var count=0;<br /> &nbsp; &nbsp; tmpOutput.innerHTML=&quot;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;span style='font-size:12px;margin-left:12px'&gt;&amp;nbsp;正在加载歌词信息，请您稍等片 刻....&quot;;<br /> &nbsp; &nbsp; var tmp=setInterval(getObject,200);<br /> function getObject()<br /> {<br /> &nbsp; &nbsp; bdLRC=new bdSyncLRC();<br /> &nbsp; &nbsp; if(bdLRC!=null)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;clearInterval(tmp);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;bdLRC.setPlayer(pID);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;bdLRC.setURL(lrcID);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;bdLRC.setOutput(&quot;LrcShower&quot;);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;bdLRC.Exchange();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;bdLRC.begin();<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; else<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(count==25)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;clearInterval(tmp);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tmpOutput.innerHTML=&quot;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;span style='font-size:12px;margin-left:12px'&gt;&amp;nbsp;可能是因为网络的原因，系统没有找到合适 的歌词。请稍后重试&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;};<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;else count++;<br /> &nbsp; &nbsp; };<br /> };<br /> };<br /> function bdSyncLRC()<br /> {<br /> &nbsp; &nbsp; var playerObj=null;<br /> &nbsp; &nbsp; var playerTypeStr=null;<br /> &nbsp; &nbsp; var lrcURL=&quot;&quot;;<br /> &nbsp; &nbsp; var lrcShower=&quot;&quot;;<br /> &nbsp; &nbsp; var lrcContent=&quot;&quot;;<br /> &nbsp; &nbsp; var lrcObjArray=new Array();<br /> &nbsp; &nbsp; this.preLRC=new Array();<br /> &nbsp; &nbsp; this.offsetTime=0;<br /> &nbsp; &nbsp; this.scrollMoveLen=20;<br /> &nbsp; &nbsp; if(arguments.length&gt;=1)this.setPlayer(arguments[0]);<br /> &nbsp; &nbsp; if(arguments.length&gt;=2)this.setURL(arguments[1]);<br /> &nbsp; &nbsp; if(arguments.length&gt;=3)this.setOutput(arguments[2]);<br /> };<br /> bdSyncLRC.prototype.setPlayer=function()<br /> {<br /> &nbsp; &nbsp; if(arguments.length&gt;=1)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;arg=arguments[0];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;playerTypeStr=String(arg);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(typeof(arg)==&quot;string&quot;)this.playerObj=document.getElementById(arg);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;else if(typeof(arg)==&quot;object&quot;)this.playerObj=arg;<br /> &nbsp; &nbsp; };<br /> };<br /> bdSyncLRC.prototype.getPlayer=function()<br /> {<br /> &nbsp; &nbsp; if(typeof(document.getElementById(&quot;this.playerObj&quot;))=='object')return this.playerObj;<br /> &nbsp; &nbsp; else return null;<br /> };<br /> bdSyncLRC.prototype.setURL=function()<br /> {<br /> &nbsp; &nbsp; if(arguments.length&gt;=1)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;var lrcDir,lrcFileName;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;lrcDir=String(Math.floor((parseInt(arguments[0])/100)));<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;lrcFileName=arguments[0]+&quot;.lrc&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;this.lrcURL=&quot;/bdlrc/&quot;+lrcDir+&quot;/&quot;+lrcFileName;<br /> &nbsp; &nbsp; };<br /> };<br /> bdSyncLRC.prototype.getURL=function()<br /> {<br /> &nbsp; &nbsp; return this.lrcURL;<br /> };<br /> bdSyncLRC.prototype.setContent=function()<br /> {<br /> &nbsp; &nbsp; if(arguments.length&gt;=1)this.lrcContent=arguments[0];<br /> };<br /> bdSyncLRC.prototype.getContent=function()<br /> {<br /> &nbsp; &nbsp; return this.lrcContent;<br /> };<br /> bdSyncLRC.prototype.setLRC=function()<br /> {<br /> &nbsp; &nbsp; if(arguments.length&gt;=1)this.lrcObjArray=arguments[0];<br /> };<br /> bdSyncLRC.prototype.getLRC=function()<br /> {<br /> &nbsp; &nbsp; return this.lrcObjArray;<br /> };<br /> bdSyncLRC.prototype.setOutput=function(showerId)<br /> {<br /> &nbsp; &nbsp; this.lrcShower=showerId;<br /> };<br /> bdSyncLRC.prototype.getOutput=function()<br /> {<br /> &nbsp; &nbsp; if(this.lrcShower!=&quot;&quot;)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;arg=this.lrcShower;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(typeof(arg)==&quot;string&quot;)return document.getElementById(arg);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;else if(typeof(arg)==&quot;object&quot;)return arg;<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; return null;<br /> };<br /> bdSyncLRC.prototype.multiLRC=function(lrcLine)<br /> {<br /> &nbsp; &nbsp; thisObj=this;<br /> &nbsp; &nbsp; tmpVar=lrcLine.split(&quot;]&quot;);<br /> &nbsp; &nbsp; if(tmpVar.length&gt;=2)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;lrcText=tmpVar[tmpVar.length-1];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;for(j=0;j&lt;tmpVar.length-1;j++)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;lrcTime=tmpVar[j]+&quot;]&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;thisObj.preLRC.push(lrcTime+&quot;&quot;+lrcText);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;};<br /> &nbsp; &nbsp; };<br /> };<br /> bdSyncLRC.prototype.preSyncLRC=function()<br /> {<br /> &nbsp; &nbsp; if(this.getContent()==null||this.getContent()==&quot;&quot;)return;<br /> &nbsp; &nbsp; lrcLines=this.getContent().split(&quot;\n&quot;);<br /> &nbsp; &nbsp; tmpArr=new Array();<br /> &nbsp; &nbsp; for(i=0;i&lt;lrcLines.length;i++)this.multiLRC(replaceStr(lrcLines[i]));<br /> &nbsp; &nbsp; this.preLRC.sort();<br /> &nbsp; &nbsp; var tmpVar=&quot;aaa&quot;;<br /> &nbsp; &nbsp; for(i=this.preLRC.length-1;i&gt;=0;i--)if(this.preLRC[i]==tmpVar)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpVar=this.preLRC[i];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;this.preLRC.splice(i,1);<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; else tmpVar=this.preLRC[i];<br /> &nbsp; &nbsp; preTime=0;<br /> &nbsp; &nbsp; indexLRC=1;<br /> &nbsp; &nbsp; tmpArr[0]=new LRCItem(0,&quot;&quot;);<br /> &nbsp; &nbsp; for(i=0;i&lt;this.preLRC.length;i++)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(this.preLRC[i].length&gt;9)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tmpTime=getLyrcTime(this.preLRC[i]);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tmpLrc=getLyrc(this.preLRC[i]);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if(tmpTime&lt;preTime)continue;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;preTime=tmpTime;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var tmpItem=new LRCItem(tmpTime,tmpLrc);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tmpArr[indexLRC++]=tmpItem;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;};<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; var tmpItem=new LRCItem(3600,&quot;Over...&quot;);<br /> &nbsp; &nbsp; tmpArr[indexLRC]=tmpItem;<br /> &nbsp; &nbsp; this.setLRC(tmpArr);<br /> };<br /> function replaceStr(tmpStr)<br /> {<br /> &nbsp; &nbsp; return tmpStr.replace(/^\s*|\s*$/g,&quot;&quot;);<br /> };<br /> function getLyrc(tmpStr)<br /> {<br /> &nbsp; &nbsp; try<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpArray=tmpStr.split(&quot;]&quot;);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;return tmpArray[tmpArray.length-1];<br /> &nbsp; &nbsp; }<br /> &nbsp; &nbsp; catch(e)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; return&quot;&quot;;<br /> };<br /> function getLyrcTime(tmpStr)<br /> {<br /> &nbsp; &nbsp; try<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpChar=tmpStr.split(&quot;]&quot;)[0].split(&quot;[&quot;)[1];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpVar=tmpChar.split(&quot;:&quot;);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(tmpVar.length&lt;2)return 0;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;min=tmpVar[1].split(&quot;.&quot;)[0];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpInt=parseInt(tmpVar[0])*60+parseFloat(min);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(!isNaN(tmpInt))return tmpInt;<br /> &nbsp; &nbsp; }<br /> &nbsp; &nbsp; catch(e)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; return 0;<br /> };<br /> function LRCItem()<br /> {<br /> &nbsp; &nbsp; var lrcTime=-1;<br /> &nbsp; &nbsp; var lrcContent=&quot;&quot;;<br /> &nbsp; &nbsp; if(arguments.length&gt;=2)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;this.lrcTime=arguments[0];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;this.lrcContent=arguments[1];<br /> &nbsp; &nbsp; };<br /> };<br /> bdSyncLRC.prototype.Exchange=function()<br /> {<br /> &nbsp; &nbsp; var xmlhttp=null;<br /> &nbsp; &nbsp; if(window.XMLHttpRequest)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;xmlhttp=new XMLHttpRequest();<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; else<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(window.ActiveXObject)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;try<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; xmlhttp=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;catch (ee)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; xmlhttp=new ActiveXObject(&quot;MSXML.XMLHTTP&quot;);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;};<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;};<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; var tmpURL=this.getURL();<br /> &nbsp; &nbsp; thisObj=this;<br /> &nbsp; &nbsp; var tmpStr=&quot;&quot;;<br /> &nbsp; &nbsp; try<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;xmlhttp.open(&quot;GET&quot;,tmpURL,false);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;xmlhttp.onreadystatechange=function()<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if((xmlhttp.readyState==4)&amp;&amp;(xmlhttp.status==200))<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; tmpStr=bdBytes2Str(xmlhttp.responseBody);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; thisObj.setContent(tmpStr);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;};<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;};<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;xmlhttp.send(null);<br /> &nbsp; &nbsp; }<br /> &nbsp; &nbsp; catch(ee)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp; };<br /> };<br /> bdSyncLRC.prototype.begin=function()<br /> {<br /> &nbsp; &nbsp; thisObj=this;<br /> &nbsp; &nbsp; tmpPlayerObj=thisObj.getPlayer();<br /> &nbsp; &nbsp; var tmpOutput=document.getElementById('LrcShower');<br /> &nbsp; &nbsp; var tmpI=setInterval(getlrc,100);<br /> &nbsp; &nbsp; var count=0;<br /> function getlrc()<br /> {<br /> &nbsp; &nbsp; if(typeof(thisObj.getContent())!=&quot;undefined&quot;)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;clearInterval(tmpI);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;thisObj.preSyncLRC();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;var tmp,i,tmpArray;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpArray=thisObj.getLRC();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmp=&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;for(i=0;i&lt;tmpArray.length;i++)tmp+=&quot;&lt;span style='font-size:12px;margin-left:12px'&gt;&amp;nbsp;&lt;font color=#000000&gt;&quot;+replaceStr(tmpArray[i].lrcContent)+&quot;&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;thisObj.getOutput().innerHTML=tmp;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;getPlayingTime(thisObj.getPlayer(),thisObj);<br /> &nbsp; &nbsp; };<br /> &nbsp; &nbsp; else<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(count==50)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;clearInterval(tmpI);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tmpOutput.innerHTML=&quot;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;span style='font-size:12px;margin-left:12px'&gt;&amp;nbsp;可能是因为网络的原因，系统没有找到合适 的歌词。请稍后重试&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;};<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;else count++;<br /> &nbsp; &nbsp; };<br /> };<br /> };<br /> function getPlayingTime(playerObj,bdLRCObj)<br /> {<br /> &nbsp; &nbsp; try<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpbdLRCObj=bdLRCObj;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;var tmpPlayerObj=playerObj;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(typeof(tmpPlayerObj)==&quot;string&quot;)tmpPlayerObj=document.getElementById(tmpPlayerObj);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;window.setTimeout(&quot;getPlayingTime(tmpPlayerObj,tmpbdLRCObj)&quot;,1000);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;bdsyncLyrc(tmpbdLRCObj);<br /> &nbsp; &nbsp; }<br /> &nbsp; &nbsp; catch(e)<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;document.title=&quot;getPlayingTime...&quot;+e.toString();<br /> &nbsp; &nbsp; };<br /> };<br /> var preMatchLrcLine=-1;<br /> function bdsyncLyrc(bdLRCObj)<br /> {<br /> &nbsp; &nbsp; try<br /> &nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpPlayer=bdLRCObj.getPlayer();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(playerTypeStr==&quot;MediaPlayer1&quot;)playerStatus=tmpPlayer.PlayState;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;else playerStatus=tmpPlayer.GetPlayState();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(playerStatus!=2&amp;&amp;playerTypeStr==&quot;MediaPlayer1&quot;)return;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(tmpPlayer)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if(playerTypeStr==&quot;MediaPlayer1&quot;)currentTime=tmpPlayer.CurrentPosition;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;else&nbsp; &nbsp; &nbsp; &nbsp; currentTime=tmpPlayer.GetPosition()/1000;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;bdLRCObj.preSyncLRC();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tmpLrcs=bdLRCObj.getLRC();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tmpScroll=bdLRCObj.getOutput();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;tmpScrollId=bdLRCObj.getOutput();<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;perLength=bdLRCObj.scrollMoveLen;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var tmpLrcContent=new Array(20);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var color=new Array(21);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var lineCount=new Array(tmpLrcs.length);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var perLineCount=new Array(tmpLrcs.length);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var i;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;for(i=0;i&lt;tmpLrcs.length;i++)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; lineCount[i]=Math.floor(tmpLrcs[i].lrcContent.length/67);<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; perLineCount[i]=0;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; for(j=0;j&lt;i;j++)perLineCount[i]+=lineCount[j];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;};<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[0]=&quot;#000000&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[1]=&quot;#0d0500&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[2]=&quot;#1a0a00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[3]=&quot;#270f00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[4]=&quot;#341400&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[5]=&quot;#411900&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[6]=&quot;#4e1e00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[7]=&quot;#5b2300&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[8]=&quot;#682800&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[9]=&quot;#752d00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[10]=&quot;#823200&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[11]=&quot;#8f3700&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[12]=&quot;#9c3c00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[13]=&quot;#a94100&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[14]=&quot;#b64600&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[15]=&quot;#c34b00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[16]=&quot;#d05000&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[17]=&quot;#dd5500&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[18]=&quot;#ea5a00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[19]=&quot;#f75f00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;color[20]=&quot;#ff5a00&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;for(i=0;i&lt;20;i++)tmpLrcContent[i]=&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;+&quot;&lt;br&gt;&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var tmpMatchLrcLine=0;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;for(j=0;j&lt;tmpLrcs.length;j++)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; nowLrc=tmpLrcs[j];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; nextLrc=tmpLrcs[(j&lt;tmpLrcs.length-1)?j+1:j];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; nowTime=nowLrc.lrcTime+bdLRCObj.offsetTime;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; nextTime=nextLrc.lrcTime+bdLRCObj.offsetTime;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if(nowTime&lt;=currentTime&amp;&amp;currentTime&lt;nextTime)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpMatchLrcLine=j;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;for(i=0;i&lt;20;i++)tmpLrcContent[i]+=&quot;&lt;span style='font-weight:bold;font-size:12px;margin-left:12px'&gt;&amp;nbsp;&lt;font color=&quot;+color[i+1]+&quot;&gt;&quot;+replaceStr(tmpLrcs[j].lrcContent)+&quot;&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;j+=1;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpInt=tmpLrcs.length-j;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;for(;j&lt;tmpLrcs.length;j++)for(i=0;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i&lt;20;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i++)tmpLrcContent[i]+=&quot;&lt;span style='font-size:12px;margin-left:12px'&gt;&amp;nbsp;&lt;font color=#000000&gt;&quot;+replaceStr(tmpLrcs[j].lrcContent)+&quot;&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(tmpInt&lt;8)for(j=0;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;j&lt;=8-tmpInt;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;j++)for(i=0;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i&lt;20;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i++)tmpLrcContent[i]+=&quot;&lt;span style='font-size:12px;margin-left:12px'&gt;&amp;nbsp;&lt;font color=#000000&gt;&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;break;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; };<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; else<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;if(j==preMatchLrcLine)for(i=0;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i&lt;20;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i++)tmpLrcContent[i]+=&quot;&lt;span style='font-size:12px;margin-left:12px'&gt;&amp;nbsp;&lt;font color=&quot;+color[19-i]+&quot;&gt;&quot;+replaceStr(tmpLrcs[j].lrcContent)+&quot;&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;else for(i=0;i&lt;20;i++)tmpLrcContent[i]+=&quot;&lt;span style='font-size:12px;margin-left:12px'&gt;&amp;nbsp;&lt;font color=#000000&gt;&quot;+replaceStr(tmpLrcs[j].lrcContent)+&quot;&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&quot;;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; };<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;};<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if(preMatchLrcLine!=tmpMatchLrcLine)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if(Math.abs(tmpMatchLrcLine-preMatchLrcLine)&gt;1)<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpScroll.innerHTML=tmpLrcContent[19];<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpScrollId.scrollTop=(tmpMatchLrcLine+perLineCount[tmpMatchLrcLine]+1)*perLength;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;tmpScrollId.scrollTop=(tmpMatchLrcLine+perLineCount[tmpMatchLrcLine]+1)*perLength;<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; };<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; else<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; {<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;var count=0;<br /> function scrollAdd()<br /> {<br /> &nbsp; &nbsp; tmpScroll.innerHTML=tmpLrcContent[19];<br /> &nbsp; &nbsp; tmpScrollId.scrollTop+=2*(1+lineCount[preMatchLrcLine]);<br /> &nbsp; &nbsp; count++;<br /> &nbsp; &nbsp; if(count==10)clearInterval(loaderInterval);<br /> };<br /> var loaderInterval=setInterval(scrollAdd,25);<br /> };<br /> };<br /> preMatchLrcLine=tmpMatchLrcLine;<br /> };<br /> }<br /> catch(e)<br /> {<br /> document.title=&quot;bdsyncLyrc=&quot;+e.toString();<br /> };<br /> };</code></div>
还有一个VBScript函数，供上面函数中调用，用来解决乱码问题
<div class="blockcode"><span onclick="copycode($('code1'));" class="headactions">复制内容到剪贴板</span>
<h5>代码:</h5>
<code id="code1">&lt;SCRIPT language=VBScript&gt;<br /> Function bdBytes2Str(vIn)<br />  &nbsp; &nbsp; &nbsp; &nbsp; strReturn = &quot;&quot;<br />  &nbsp; &nbsp; &nbsp; &nbsp; For i = 1 To LenB(vIn)<br /> ThisCharCode = AscB(MidB(vIn,i,1))<br /> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If ThisCharCode &lt; &amp;H80 Then<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; strReturn = strReturn &amp; Chr(ThisCharCode)<br /> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Else<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; NextCharCode = AscB(MidB(vIn,i+1,1))<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; strReturn = strReturn &amp; Chr(CLng(ThisCharCode) * &amp;H100 + CInt(NextCharCode))<br /> &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i = i + 1<br /> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br /> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Next<br /> &nbsp; &nbsp; bdBytes2Str = strReturn<br /> &nbsp; &nbsp; &nbsp; &nbsp; End Function<br /> &lt;/SCRIPT&gt;</code></div>]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=1086</link>
			<title><![CDATA[用独立服务器的站长常犯的错误]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Fri,20 Mar 2009 09:41:09 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=1086</guid>	
		<description><![CDATA[<font color="#0000ff">1、除非你确认自己掌握了，否则不要去试WIN2003的防火墙<br /> WIN2003防火墙打开后，默认是禁止3389端口的，有的朋友是改了端口却忘记了在防火墙里开放新的端口。有的朋友则人根本<br /> 不会改端口，直接在服务器上试的，结果没改成功，重启就进不去了。</font><br /> <br /> <font color="blue">2、千万小心，不要禁用了网卡<br /> 在服务器上可要小心，本地连接上右键一下，然后左键一下，很可能就点了禁用了。结果可想而知。</font><br /> <br /> <font color="blue">3、别忘记了更改超管密码<br /> 一般IDC给用户的服务器装完了系统都有个默认的密码的，不修改的话很容易被黑。</font><br /> <br /> <font color="blue">4、请用检测软件查看您服务器的硬件<br /> 使用检测软件可以得到你服务器中大部分硬件的品牌和型号，比如你可以知道租用商是否真的给你使用的是金士顿内存。这样</font><br /> <font color="blue">，当你的服务器发生故障时，你就可以根据这些信息来判断是否有可能的是硬件问题。</font><br /> <br /> <font color="blue">5、不要在服务器上浏览<span class="t_tag" onclick="tagshow(event)" href="http://www.51ajax.com/bbs/tag.php?name=%E7%BD%91%E9%A1%B5">网页</span>或者运行没有用过的程序<br /> 或者说不要给服务器太多不安全的因素。在服务器上浏览网页将可能使服务器感染木马或者病毒。在服务器上运行没有用过的</font><br /> <font color="blue">程序也有同样的危险，或者有可能导致服务器上的默认设置被改变。</font><br /> <br /> <font color="blue">6、尽量不要一边看<span class="t_tag" onclick="tagshow(event)" href="http://www.51ajax.com/bbs/tag.php?name=%E6%95%99%E7%A8%8B">教程</span>一边在服务器上设置<br /> 阿江并不是一个笨人，但是有时候还是会犯错误的，所以就算教程是最新的最完整的，最好先在自己的电脑上演练一遍，确认</font><br /> <font color="blue">没有问题了再在服务器上测试。</font><br /> <br /> <font color="blue">8、有了服务器，就要学着去使用它。<br /> 使用服务器，这看似很简单的事情，其实是一门很大的学问，没有哪个高手可以说他可以解决服务器里的所有的问题，更没有</font><br /> <font color="blue">谁敢说他的服务器不会被黑。那么千万不要把维护服务器的希望寄托在临时找人帮忙上，要么就找个能长期帮自己的人，要么</font><br /> <font color="blue">就干脆聘技术员，最好还是自己尽快学起来，因为没有谁会比你自己更了解你的服务器了。</font><br /> <br /> <font color="blue">9、一定不要忘记了做备份<br /> 虽然大多数时候备份是用不上的，但是一旦用上的时候没有备份那就是天大的灾难。在使用服务器的初期，误操作导致数据丢</font><br /> <font color="blue">失的可能性很大，病毒和黑客入侵也会使你的网站数据毁于一旦，并且不要忘记了服务器最容易损坏的硬件就是硬盘。</font><br /> <font color="blue"><br /></font><font color="blue" />]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=1085</link>
			<title><![CDATA[Ajax的安全性问题]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Fri,20 Mar 2009 09:38:27 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=1085</guid>	
		<description><![CDATA[最近学习清华的网站开发非常之旅《Ajax从入门到精通》。学到一些东西，与大家分享一下。Ajax虽然很好<br /> ，但是在安全上需要注意。根据书中讲解，总结了以下3个法则。<br /> <br /> （1）身份验证<br /> &nbsp; &nbsp; 在传统Web应用程序中，当用户需要访问某些受保护的页面时，就需要先对用户进行身份验证，验证通常<br /> 在被访问的页面上进行。在Ajax中，用户访问少数几个页面，而这些少量的页面通过XMLHttpRequest请求后<br /> 台页面以获得丰富的数据或进行各种操作。这时身份验证不能仅仅在被用户访问的少数几个页面上进行，而<br /> 同时也需要在与这些页面发生数据交互的所有后台页面上进行。<br /> （2）防范SQL注入<br /> &nbsp; &nbsp; 虽然Ajax请求是在浏览器后台发生的，用户不能直接控制，但是因为Ajax技术总是基于HTTP模型，所以<br /> 即使使用Ajax来代替传统模式的交互，在面对SQL注入攻击时仍然没有任何先天优势。所以所有传统Web应用<br /> 程序使用的防范SQL注入的方法，Ajax应用程序都需要。<br /> 防范SQL注入的一般方法是对用户提交的数据进行验证，以及对输出的错误信息进行必要的处理。对提交的数<br /> 据进行验证包括数据类型的检查、数据长度的检查以及一些与SQL语句有关的敏感字符的过滤。对错误信息的<br /> 处理表示当SQL语句发生错误时，不要直接将错误信息暴露给用户，而是输出一个替代的、不包含任何内部错<br /> 误信息的友好错误提示，这样攻击者就不能依靠错误提示对数据库结构进行猜解。<br /> （3）防范JavaScript注入<br /> &nbsp; &nbsp; 一般情况下，这种攻击是毫无意义的，因为攻击者改变的只是页面在攻击者本地的一个副本。但是如果<br /> 在一个高度依赖客户端脚本的应用程序中，某个关键的数据被修改了，而当这个数据被提交到后台程序时，<br /> 且没有对其有效性进行足够的验证，则可能产生严重的后果。<br /> &nbsp; &nbsp; 防范JavaScript注入的方法，就是将关键的业务逻辑放在后台处理，这样就可以避免JavaScript注入的<br /> 攻击，同时还需要对关键的业务数据建立有效的校验机制，以防止虚假数据的提交。<br /> 大家要对这本书感兴趣，可以看看<a target="_blank" href="http://www.china-pub.com/42679">http://www.china-pub.com/42679</a>。]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=1054</link>
			<title><![CDATA[EXT2.2入门(二)]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Wed,11 Feb 2009 16:02:06 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=1054</guid>	
		<description><![CDATA[<br/>使用了一下<br/>Ext.MessageBox<br/>Ext.Window<br/><br/>具体使用场景<br/>1、给出信息提示框<br/>Ext.MessageBox.alert(&#34;提示信息&#34;, &#34;没有可查看的照片！&#34;);<br/><br/>2、弹出窗口显示一个图片<br/>在原有页面加入如下HTML<br/>&lt;div id=&#34;hello-win&#34; class=&#34;x-hidden&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#34;x-window-header&#34;&gt;照片浏览&lt;/div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id=&#34;hello-tabs&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id=&#34;clickPicture&#34; title=&#34;照片浏览&#34; style=&#34;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:700px;height:600px;&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br/>&lt;/div&gt;<br/>其中的AlphaImageLoader滤镜是用来在IE7上加载图片的本地或远程URL用的<br/>在JAVASCRIPT中操作如下：<br/>changePictureUrl(&#34;clickPicture&#34;, path);<br/>//以上代码，先装在图片，下面再显示窗口<br/>if (!win) {<br/>&nbsp;&nbsp; win = new Ext.Window({<br/>&nbsp;&nbsp;&nbsp;&nbsp;applyTo : &#39;hello-win&#39;,<br/>&nbsp;&nbsp;&nbsp;&nbsp;layout : &#39;fit&#39;,<br/>&nbsp;&nbsp;&nbsp;&nbsp;width : 710,<br/>&nbsp;&nbsp;&nbsp;&nbsp;height : 670,<br/>&nbsp;&nbsp;&nbsp;&nbsp;closeAction : &#39;hide&#39;,<br/>&nbsp;&nbsp;&nbsp;&nbsp;plain : true,<br/>&nbsp;&nbsp;&nbsp;&nbsp;items : new Ext.TabPanel({<br/>&nbsp;&nbsp;&nbsp;&nbsp; applyTo : &#39;hello-tabs&#39;,<br/>&nbsp;&nbsp;&nbsp;&nbsp; autoTabs : true,<br/>&nbsp;&nbsp;&nbsp;&nbsp; activeTab : 0,<br/>&nbsp;&nbsp;&nbsp;&nbsp; deferredRender : false,<br/>&nbsp;&nbsp;&nbsp;&nbsp; border : false<br/>&nbsp;&nbsp;&nbsp;&nbsp;}),<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;buttons : [{<br/>&nbsp;&nbsp;&nbsp;&nbsp; text : &#39;关闭&#39;,<br/>&nbsp;&nbsp;&nbsp;&nbsp; handler : function() {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;win.hide();<br/>&nbsp;&nbsp;&nbsp;&nbsp; }<br/>&nbsp;&nbsp;&nbsp;&nbsp;}]<br/>&nbsp;&nbsp; });<br/>}<br/>win.show();<br/> <br/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=1053</link>
			<title><![CDATA[EXT2.2入门(一)]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Wed,11 Feb 2009 15:56:10 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=1053</guid>	
		<description><![CDATA[EXT2.2入门(一)<br/><br/>下载地址：<br/><a href="http://www.extjs.com/products/extjs/download.php" target="_blank">http://www.extjs.com/products/extjs/download.php</a><br/><br/>下载文件<br/>ext-2.2.zip<br/><br/>必要的最小集合是这样：<br/>ext-all.js，<br/>adapter/ext/ext-base.js，<br/>build/locale/ext-lang-zh_CN.js<br/>整个resources目录。<br/><br/>ext-all.js，adapter/ext/ext-base.js就包含了ext的所有功能，所有的js脚本都在这里了。<br/>build/locale/ext-lang-zh_CN.js是中文翻译。<br/>resources目录下是css样式表和图片。<br/><br/>使用时，在页面中导入,页面文件helloworld.html（一个最简单的例子）如下：<br/>&lt;html&gt;<br/>&lt;head&gt;<br/>&lt;title&gt;ÖÐÎÄ&lt;/title&gt;<br/>&lt;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=UTF-8&#34;&gt;<br/>&lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;../resources/ext/resources/css/ext-all.css&#34; /&gt;<br/>&lt;script type=&#34;text/javascript&#34; src=&#34;../resources/ext/ext-base.js&#34;&gt;&lt;/script&gt;<br/>&lt;script type=&#34;text/javascript&#34; src=&#34;../resources/ext/ext-all.js&#34;&gt;&lt;/script&gt;<br/>&lt;script type=&#34;text/javascript&#34; src=&#34;../resources/ext/ext-lang-zh_CN.js&#34;&gt;&lt;/script&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>中文<br/>&lt;script&gt;<br/>Ext.onReady(function(){<br/>&nbsp;&nbsp;&nbsp;&nbsp;Ext.MessageBox.alert(&#39;中文helloworld&#39;, &#39;中文Hello World.&#39;);<br/>});<br/>&lt;/script&gt;<br/>&lt;/html&gt;<br/><br/>有了这个例子，就开始照着sample一个一个学习吧<br/><br/>eclipse插件spket<br/><a href="http://www.spket.com/up" target="_blank">http://www.spket.com/up</a>&#100;ate/<br/><br/>安装之后在菜单<br/>Window---&gt;Preferences----&gt;Spket----&gt;JavaScript Profiles<br/>中新建<br/>EXTJS-----&gt;Add Library ---&gt;Add File ---&gt;<br/>选择EXT2.2的sources文件夹下面的ext.jsb<br/>然后所有的JS文件用spket的edit打开。这样就会在写js的时候有ext的自动补齐功能了<br/><br/>需要破解的话，要下载<br/><br/><a href="http://sillycat.3adisk.com/down_89243.shtml" target="_blank">http://sillycat.3adisk.com/down_89243.shtml</a><br/><br/>com.spket.ui_1.6.12.jar<br/><br/>放到eclipse的plugins下面替换原来的就可以了<br/><br/>安装EXT的帮助<br/><br/>下载最新版本的ADOBE AIR<br/><br/><a href="http://get.adobe.com/cn/air/" target="_blank">http://get.adobe.com/cn/air/</a><br/><br/>EXT的API文档帮助<br/><br/><a href="http://extjs.com/products/extjs/download.php" target="_blank">http://extjs.com/products/extjs/download.php</a><br/> <br/>]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=982</link>
			<title><![CDATA[js获得当年前的日期]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Tue,19 Aug 2008 11:16:33 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=982</guid>	
		<description><![CDATA[&lt;script&gt;<br/>function GetqToday()<br/>{<br/>&nbsp;&nbsp;&nbsp;&nbsp;var today = new Date();<br/>&nbsp;&nbsp;&nbsp;&nbsp;var year = (today.getYear()-1).toString();<br/>&nbsp;&nbsp;&nbsp;&nbsp;var month = (today.getMonth()+1).toString();<br/>&nbsp;&nbsp;&nbsp;&nbsp;var day = today.getDate().toString();<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;if(month.length == 1)<br/>&nbsp;&nbsp;&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;month = &#34;0&#34;+month;<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;if(day.length == 1)<br/>&nbsp;&nbsp;&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;day = &#34;0&#34;+day;<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;var strToday = year+month+day;<br/>&nbsp;&nbsp;&nbsp;&nbsp;return strToday;<br/>}<br/>&lt;/script&gt;]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=981</link>
			<title><![CDATA[支持ie和firefox的关闭js代码]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Tue,19 Aug 2008 11:15:19 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=981</guid>	
		<description><![CDATA[最近做项目的时候碰到一个问题：<br/>在js里面使用window.close()，IE下工作正常，但是FireFox下有时可以，有时不行。<br/>搜索发现，可以这样解决：<br/>&lt;script&nbsp;&nbsp; language=&#34;javascript&#34;&nbsp;&nbsp; type=&#34;text/javascript&#34;&gt;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;function&nbsp;&nbsp; closeWindow()&nbsp;&nbsp; {&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;window.open(&#39;&#39;,&#39;_parent&#39;,&#39;&#39;);&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;window.close();&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;}&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&lt;/script&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&lt;a&nbsp;&nbsp; href=&#34;javascript:closeWindow();&#34;&gt;Close&nbsp;&nbsp; Window&lt;/a&gt;<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=964</link>
			<title><![CDATA[使用javascript+xml技术实现分页浏览]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Fri,25 Jul 2008 13:14:45 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=964</guid>	
		<description><![CDATA[<p><font color="#000000">基于web的技术中，分页是一个老的不能再老的，但大家津津乐道的问题，随着xml技术的日渐应用，把xml应用到分页当中，也是一种可能，当然网上的教程很多，当我都是看得稀里糊涂，索性自己写一个，与大家分享、指正。</font></p>
<p><font color="#000000">共有两个文件tmh.htm &amp; tt.xml</font></p>
<p><font color="#000000">源代码如下：</font></p>
<p>
<table style="BORDER-RIGHT: #cccccc 1px dotted; TABLE-LAYOUT: fixed; BORDER-TOP: #cccccc 1px dotted; BORDER-LEFT: #cccccc 1px dotted; BORDER-BOTTOM: #cccccc 1px dotted" cellspacing="0" cellpadding="6" width="95%" align="center" border="0">
    <tbody>
        <tr>
            <td style="WORD-WRAP: break-word" bgcolor="#fdfddf">
            <p><font color="#000000">tmh.htm<br />___________________________________________________</font></p>
            <p><font color="#000000">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;<br />&lt;HTML&gt;<br />&lt;HEAD&gt;<br />&lt;TITLE&gt; New Document &lt;/TITLE&gt;<br />&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;EditPlus&quot;&gt;<br />&lt;META NAME=&quot;Author&quot; CONTENT=&quot;&quot;&gt;<br />&lt;META NAME=&quot;Keywords&quot; CONTENT=&quot;&quot;&gt;<br />&lt;META NAME=&quot;Description&quot; CONTENT=&quot;&quot;&gt;<br />&lt;link rel=&quot;stylesheet&quot; href=&quot;../website.css&quot; type=&quot;text/css&quot;&gt;<br />&lt;/HEAD&gt;<br />&lt;BODY&gt;<br />&lt;script language=&quot;javascript&quot;&gt;<br />//****************变量相关定义**************<br />//* author:海仔　 *<br />//* Email:rautinee@21cn.com　*<br />//*本程序可自由传播使用，但请务必保留此信息*<br />//****************************************<br />var pagenum=4; //每页显示几条信息<br />var page=0 ;<br />var contpage ;<br />var BodyText=&quot;&quot;;<br />var xmlDoc = new ActiveXObject(&quot;Microsoft.XMLDOM&quot;);<br />var mode=&quot;member&quot;;<br />var toolBar;<br />xmlDoc.async=&quot;false&quot;<br />xmlDoc.load(&quot;tt.xml&quot;)<br />//***************这个地方是你根据实际取得的字段名称来改了<br />header=&quot;&lt;TABLE border=1&gt;&lt;tr&gt;&lt;td&gt;姓名&lt;/td&gt;&lt;td&gt;图标&lt;/td&gt;&lt;td&gt;IP地址&lt;/td&gt;&lt;td&gt;email&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;日期&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&quot;;<br />//检索的记录数<br />maxNum = xmlDoc.getElementsByTagName(mode).length<br />&nbsp;//每条记录的列数<br />&nbsp;column=xmlDoc.getElementsByTagName(mode).item(0).childNodes<br />&nbsp;//每条记录的列数<br />&nbsp;colNum=column.length<br />&nbsp;//页数<br />&nbsp;pagesNumber=Math.ceil(maxNum/pagenum)-1;<br />&nbsp;pagesNumber2=Math.ceil(maxNum/pagenum);<br />//上一个页面<br />function UpPage(page)<br />{<br />&nbsp;thePage=&quot;前一页&quot;;<br />&nbsp;if(page+1&gt;1) thePage=&quot;&lt;A HREF='#' onclick='Javascript:return UpPageGo()'&gt;前一页&lt;/A&gt;&quot;;<br />&nbsp;return thePage;<br />}<br />function NextPage(page)<br />{<br />&nbsp;thePage=&quot;后一页&quot;;<br />&nbsp;if(page&lt;pagesNumber) thePage=&quot;&lt;A HREF='#' onclick='Javascript:return NextPageGo()'&gt;后一页&lt;/A&gt;&quot;;<br />&nbsp;return thePage;<br />}<br />function UpPageGo(){<br />if(page&gt;0) page--;<br />&nbsp;getContent();<br />&nbsp;BodyText=&quot;&quot;;<br />}<br />//当前的页数<br />function currentPage()<br />{<br />&nbsp;var cp;<br />&nbsp;cp=&quot;当前是第 &quot;+(page+1)+&quot; 页&quot;;<br />&nbsp;return cp;<br />}<br />//总共的页数<br />function allPage()<br />{<br />&nbsp;var ap;<br />&nbsp;ap='总共 '+(pagesNumber+1)+' 页';<br />&nbsp;return ap<br />}<br />function NextPageGo()<br />{<br />if (page&lt;pagesNumber) page++;<br />getContent();<br />&nbsp;BodyText=&quot;&quot;;<br />}<br />//显示分页状态栏<br />function pageBar(page)<br />{<br />&nbsp;var pb;<br />&nbsp;pb=UpPage(page)+&quot;　&quot;+NextPage(page)+&quot;　&quot;+currentPage()+&quot;　&quot;+allPage()+selectPage();<br />&nbsp;return pb;<br />}<br />function changePage(tpage)<br />{<br />page=tpage<br />&nbsp;if(page&gt;=0) page--;<br />&nbsp;if (page&lt;pagesNumber) page++;<br />&nbsp;getContent();<br />&nbsp;BodyText=&quot;&quot;;<br />}<br />function selectPage()<br />{<br />&nbsp;var sp;<br />&nbsp;sp=&quot;&lt;select name='hehe' onChange='javascript:changePage(this.options[this.selectedIndex].value)'&gt;&quot;;<br />&nbsp;//sp=&quot;&lt;select name='hehe' onChange='alert(this.options[this.selectedIndex].value)'&gt;&quot;;<br />&nbsp;sp=sp+&quot;&lt;option value=''&gt;&lt;/option&gt;&quot;;<br />&nbsp;for (t=0;t&lt;=pagesNumber;t++)<br />&nbsp;{<br />&nbsp;sp=sp+&quot;&lt;option value='&quot;+t+&quot;'&gt;&quot;+(t+1)+&quot;&lt;/option&gt;&quot;;<br />&nbsp;}<br />&nbsp;sp=sp+&quot;&lt;/select&gt;&quot;<br />&nbsp;return sp;<br />}<br />function getContent()<br />{<br />if (!page) page=0;<br />&nbsp;n=page*pagenum;<br />&nbsp;endNum=(page+1)*pagenum;<br />&nbsp;if (endNum&gt;maxNum) endNum=maxNum;<br />&nbsp;BodyText=header+BodyText;<br />&nbsp;for (;n&lt;endNum;n++)<br />&nbsp;{<br />　&nbsp; <br />&nbsp;BodyText=BodyText+&quot;&lt;TR&gt;&quot;;<br />&nbsp;for (m=0;m&lt;=colNum-1;m++)<br />&nbsp;{　 <br />&nbsp;mName=column.item(m).tagName;<br />&nbsp;BodyText=BodyText+(&quot;&lt;TD&gt;&quot;+xmlDoc.getElementsByTagName(mName).item(n).text+&quot;&lt;/TD&gt;&quot;);<br />&nbsp;}<br />&nbsp;BodyText=BodyText+&quot;&lt;/TR&gt;&quot;<br />&nbsp;mm=&quot;&quot;;<br />&nbsp;}<br />&nbsp;showhtml.innerHTML=BodyText+&quot;&lt;/table&gt;&quot;+pageBar(page);<br />BodyText=&quot;&quot;<br />}<br />&lt;/script&gt;<br />&lt;div id=&quot;showhtml&quot;&gt;&lt;/div&gt;<br />&lt;script&gt;<br />if (maxNum==0)<br />&nbsp;{<br />&nbsp;document.write(&quot;没有检索到合适的人才信息&quot;)<br />&nbsp;}<br />&nbsp;else<br />&nbsp;{<br />&nbsp;getContent()<br />&nbsp;}<br />&lt;/script&gt;<br />&lt;/BODY&gt;<br />&lt;/HTML&gt;</font></p>
            </td>
        </tr>
    </tbody>
</table>
</p>
<p><font color="#000000">//下面是tt.xml的代码</font></p>
<p><font color="#000000"></font></p>
<p>
<table style="BORDER-RIGHT: #cccccc 1px dotted; TABLE-LAYOUT: fixed; BORDER-TOP: #cccccc 1px dotted; BORDER-LEFT: #cccccc 1px dotted; BORDER-BOTTOM: #cccccc 1px dotted" cellspacing="0" cellpadding="6" width="95%" align="center" border="0">
    <tbody>
        <tr>
            <td style="WORD-WRAP: break-word" bgcolor="#fdfddf"><font color="#000000">&lt;?xml version=&quot;1.0&quot; encoding=&quot;GB2312&quot;?&gt;<br />&lt;rautinee&gt;<br />&lt;member id='1'&gt;<br />&lt;name&gt;海仔&lt;/name&gt;<br />&lt;loginName&gt;rautinee&lt;/loginName&gt;<br />&lt;email&gt;rautinee@btamail.net.cn&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='2'&gt;<br />&lt;name&gt;刚强&lt;/name&gt;<br />&lt;loginName&gt;hehe&lt;/loginName&gt;<br />&lt;email&gt;rautinee@chinamanagers.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='3'&gt;<br />&lt;name&gt;金华刚&lt;/name&gt;<br />&lt;loginName&gt;nature_it&lt;/loginName&gt;<br />&lt;email&gt;rautinee_sea@hotmail.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='4'&gt;<br />&lt;name&gt;的简强&lt;/name&gt;<br />&lt;loginName&gt;tank&lt;/loginName&gt;<br />&lt;email&gt;tank@163.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='7'&gt;<br />&lt;name&gt;合资&lt;/name&gt;<br />&lt;loginName&gt;kaka&lt;/loginName&gt;<br />&lt;email&gt;kaka@eyou.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='6'&gt;<br />&lt;name&gt;加个人&lt;/name&gt;<br />&lt;loginName&gt;apple&lt;/loginName&gt;<br />&lt;email&gt;apple@163.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='8'&gt;<br />&lt;name&gt;null&lt;/name&gt;<br />&lt;loginName&gt;sunny&lt;/loginName&gt;<br />&lt;email&gt;rautinee@eyou.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='10'&gt;<br />&lt;name&gt;宝贝&lt;/name&gt;<br />&lt;loginName&gt;index&lt;/loginName&gt;<br />&lt;email&gt;rautinee@21cn.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='12'&gt;<br />&lt;name&gt;null&lt;/name&gt;<br />&lt;loginName&gt;login&lt;/loginName&gt;<br />&lt;email&gt;webmaster@chinamanagers.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='13'&gt;<br />&lt;name&gt;jiang&lt;/name&gt;<br />&lt;loginName&gt;123&lt;/loginName&gt;<br />&lt;email&gt;japing@chianmanagers.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='14'&gt;<br />&lt;name&gt;null&lt;/name&gt;<br />&lt;loginName&gt;world&lt;/loginName&gt;<br />&lt;email&gt;rautinee@21cn.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='15'&gt;<br />&lt;name&gt;null&lt;/name&gt;<br />&lt;loginName&gt;swallow&lt;/loginName&gt;<br />&lt;email&gt;swallow@chinamanagers.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='16'&gt;<br />&lt;name&gt;魏格&lt;/name&gt;<br />&lt;loginName&gt;hotmail&lt;/loginName&gt;<br />&lt;email&gt;rautinee_sea@hotmail.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='17'&gt;<br />&lt;name&gt;null&lt;/name&gt;<br />&lt;loginName&gt;wrong&lt;/loginName&gt;<br />&lt;email&gt;wrong@chinamanagers.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='18'&gt;<br />&lt;name&gt;null&lt;/name&gt;<br />&lt;loginName&gt;leah&lt;/loginName&gt;<br />&lt;email&gt;leah@chinamanagers.com&lt;/email&gt;&lt;/member&gt;<br />&lt;member id='19'&gt;<br />&lt;name&gt;null&lt;/name&gt;<br />&lt;loginName&gt;ttth&lt;/loginName&gt;<br />&lt;email&gt;rautinee@21cn.com&lt;/email&gt;&lt;/member&gt;<br />&lt;/rautinee&gt;</font></td>
        </tr>
    </tbody>
</table>
</p>
<p><br /><font color="#000000">目前好像是只支持&gt;IE5.0</font></p>
<p><font color="#000000">如果你有什么好的方法和改进，请来信通知我，谢谢。<br /></font></p>]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=961</link>
			<title><![CDATA[使用Ajax后，原来导出功能失败的解决方法]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Mon,21 Jul 2008 12:36:26 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=961</guid>	
		<description><![CDATA[问题描述：我们的产品在Ajax后（使用微软的Up&#100;atePanel）,其中的导出功能出现错误。因为导出功能使用了Response直接输出内容，而Ajax的异步方式对此不能解析导致出现错误。<br/><br/>解决过程：在网上找了一下，可以使用这个 <a href="http://forums.microsoft.com/china/ShowPost.aspx?PostID=2732578" target="_blank">http://forums.microsoft.com/china/ShowPost.aspx?PostID=2732578</a>&amp;SiteID=15&nbsp;&nbsp;的方法来解决。但是，如果你的按钮时动态创建的，或者在模板中，这个帖子的方法也不能解决问题。 这个里面的内容虽然没有能解决我的问题，但是给了我一个思路，既然不能使用Ajax的方式来请求，那么就使用PostBack的方式。<br/><br/>解决方法：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.friend365.cn/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>以下为引用的内容：<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp; 1、原来的导出按钮增加 OnClientClick事件。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;btnExport.OnClientClick = &#34;return AutoForm_Export(&#39;PostBackEventTarget_IsExport&#39;);&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp; 2、客户端增加javascript函数AutoForm_Export。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function AutoForm_Export(postBackEventTarget)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(postBackEventTarget, &#34;&#34;, true, &#34;&#34;, &#34;&#34;, false, true))&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return false;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp; 3、在服务器端根据Request[&#34;__EVENTTARGET&#34;] 来判断是否是导出事件。注意下面红色字体的注释&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (Page.Request[&#34;__EVENTTARGET&#34;] != null)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bool isInAsyncPostBack = false;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ScriptManager sm = ScriptManager.GetCurrent(Page);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (sm != null)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;isInAsyncPostBack = sm.IsInAsyncPostBack;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (isInAsyncPostBack )<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一定要进行判断是否是使用Axaj进行异步请求，否则在点击导出按钮以后，再进行其它Ajax请求， Page.Request[&#34;__EVENTTARGET&#34;] 会保留原来的值，这样就错误判断了。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_isExport = false<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;string postBackEventTarget = Page.Request[&#34;__EVENTTARGET&#34;].ToString();<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (postBackEventTarget == &#34;PostBackEventTarget_IsExport&#34;)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_isExport = true;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_isExport = false;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_isExport = false;<br/><br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/></div></div><br/>其他：暂时没有找到其他的方法，如果您有更好的方法，请多多指教！]]></description>
		</item>
		
			<item>
			<link>http://www.friend365.cn/default.asp?id=954</link>
			<title><![CDATA[仿淘宝的鼠标暂停提示]]></title>
			<author>friend365@163.com(51itcn)</author>
			<category><![CDATA[Ajax]]></category>
			<pubDate>Wed,02 Jul 2008 11:41:52 +0800</pubDate>
			<guid>http://www.friend365.cn/default.asp?id=954</guid>	
		<description><![CDATA[&lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;&gt;<br/>&lt;html&gt;<br/>&lt;head&gt;<br/>&lt;title&gt;仿淘宝网鼠标暂停提示 -- 江西论坛,爱江西,80后自己创立最大的社区&lt;/title&gt;<br/>&lt;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; /&gt;<br/>&lt;!--调用Tip提示样式表（开始）--&gt;<br/>&lt;style type=&#34;text/css&#34; media=&#34;screen&#34;&gt;<br/>body{<br/>&nbsp;&nbsp;&nbsp;&nbsp;font-size: 12px;<br/>}<br/>#popLayer {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color: #FFFFCC;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border: 1px #000000 solid;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-size: 12px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-right: 4px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-left: 4px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;line-height: 18px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-top: 2px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom: 2px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width:240px;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text-align:left;<br/>}<br/>#popLayer .Title {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;<br/>}<br/>&lt;/style&gt;<br/>&lt;!--调用Tip提示样式表（结束）--&gt;<br/>&lt;!--Tip提示函数（开始）--&gt;<br/>&lt;Script language=&#34;JavaScript&#34;&gt;<br/>tPopWait=20;<br/>showPopStep=45;<br/>popOpacity=90;<br/><br/>findParentLevel = 20;<br/><br/>sPop=null;<br/>curShow=null;<br/>tFadeOut=null;<br/><br/>document.write(&#34;&lt;div id=&#39;popLayer&#39; style=&#39;position:absolute;z-index:1000;display:none&#39;&gt;&lt;/div&gt;&#34;);<br/><br/>function isChild(o, parentObj) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;if (o == parentObj) return true;<br/>&nbsp;&nbsp;&nbsp;&nbsp;var obj = o;<br/>&nbsp;&nbsp;&nbsp;&nbsp;var i = 0;<br/>&nbsp;&nbsp;&nbsp;&nbsp;while (obj &amp;&amp; i++ &lt; findParentLevel) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (obj == parentObj) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return true;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;obj = obj.parentElement;<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;return false;<br/>}<br/><br/>function calcAbsTop(o) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;var top = 0;<br/>&nbsp;&nbsp;&nbsp;&nbsp;var obj = o;<br/>&nbsp;&nbsp;&nbsp;&nbsp;var i = 0;<br/>&nbsp;&nbsp;&nbsp;&nbsp;while (obj &amp;&amp; i++ &lt; findParentLevel) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top += obj.offsetTop;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;obj = obj.offsetParent;<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;return top;<br/>}<br/><br/>function showPopupText(){<br/>&nbsp;&nbsp;&nbsp;&nbsp;var o=event.srcElement;<br/>&nbsp;&nbsp;&nbsp;&nbsp;if (isChild(o, popLayer)) return false;<br/>&nbsp;&nbsp;&nbsp;&nbsp;MouseX = event.x;<br/>&nbsp;&nbsp;&nbsp;&nbsp;MouseY = event.y;<br/>&nbsp;&nbsp;&nbsp;&nbsp;ClientY = calcAbsTop(o) + o.clientHeight;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;if(o.tip!=null &amp;&amp; o.tip!=&#34;&#34;) { o.pop=o.tip;o.tip=&#34;&#34; }<br/>&nbsp;&nbsp;&nbsp;&nbsp;if(o.pop!=sPop) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sPop=o.pop;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clearTimeout(curShow);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clearTimeout(tFadeOut);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(sPop==null || sPop==&#34;&#34;) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;popLayer.style.display = &#39;none&#39;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;curShow=setTimeout(&#34;showIt()&#34;,tPopWait);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>}<br/><br/>function showIt() {<br/>&nbsp;&nbsp;&nbsp;&nbsp;popLayer.innerHTML=sPop;<br/>&nbsp;&nbsp;&nbsp;&nbsp;popLayer.style.display = &#39;block&#39;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;popWidth=popLayer.clientWidth;<br/>&nbsp;&nbsp;&nbsp;&nbsp;popHeight=popLayer.clientHeight;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;var left = 0;<br/>&nbsp;&nbsp;&nbsp;&nbsp;var top = 0;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;if (document.body.clientWidth - MouseX &gt; popWidth) left = MouseX + document.body.scrollLeft - 4;<br/>&nbsp;&nbsp;&nbsp;&nbsp;else if (MouseX &gt;= popWidth) left = MouseX + document.body.scrollLeft - popWidth;<br/>&nbsp;&nbsp;&nbsp;&nbsp;else left = 0;<br/>&nbsp;&nbsp;&nbsp;&nbsp;if (document.body.clientHeight - MouseY &gt; popHeight) top = MouseY + document.body.scrollTop - 4;<br/>&nbsp;&nbsp;&nbsp;&nbsp;else top = ClientY - 4;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;if (top &lt; ClientY) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top = ClientY - 4;<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;popLayer.style.left = left;<br/>&nbsp;&nbsp;&nbsp;&nbsp;popLayer.style.top = top;<br/><br/>}<br/><br/>function fadeOut(){<br/>&nbsp;&nbsp;&nbsp;&nbsp;if(popLayer.filters.Alpha.opacity&lt;popOpacity) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;popLayer.filters.Alpha.opacity+=showPopStep;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tFadeOut=setTimeout(&#34;fadeOut()&#34;,1);<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>}<br/><br/>if (document.all) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.onmouseover=showPopupText;<br/>}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function writeTip1(string1,contactWayView,consignTimeTypeView){<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tipAttr = &#39;[&lt;span style=&#34;color:blue;text-decoration:underline;cursor:hand&#34; tip=&#34; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;table width=180 border=0 cellspacing=0 cellpadding=0 bgcolor=#FFFFFF&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=167 style=\&#39;BORDER-bottom: #FF9B30 1px solid; BORDER-top: #FF9B30 1px solid; BORDER-left: #FF9B30 1px solid; BORDER-right: #FF9B30 1px solid;\&#39; &gt;&lt;table width=100% border=0 cellspacing=0 cellpadding=15&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td class=LL&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font color=#FF3300&gt;联系方式：&lt;/font&gt;&#39;+contactWayView+&#39;&lt;br&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font color=#FF3300&gt;付款时间：&lt;/font&gt;&#39;+consignTimeTypeView+&#39;&lt;br&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/td&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/table&gt;&lt;/td&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=4 valign=top bgcolor=#C4C4C4&gt;&lt;/td&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/table&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;table width=180 border=0 cellpadding=0 cellspacing=0 bgcolor=#C4C4C4&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;&lt;/td&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/table&gt;&#34;&gt;&#39;+string1+&#39;&lt;/span&gt;]&#39;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write(tipAttr);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function writeTip2(string1,contactWayView,consignTimeTypeView,accordantStatusView,deliverStatusView,returnServiceView){<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tipAttr = &#39;[&lt;span style=&#34;color:blue;text-decoration:underline;cursor:hand&#34; tip=&#34; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;table width=180 border=0 cellspacing=0 cellpadding=0 bgcolor=#FFFFFF&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;&nbsp;&nbsp;\<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=167 style=\&#39;BORDER-bottom: #FF9B30 1px solid; BORDER-top: #FF9B30 1px solid; BORDER-left: #FF9B30 1px solid; BORDER-right: #FF9B30 1px solid;\&#39; &gt;&lt;table width=100% border=0 cellspacing=0 cellpadding=15&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td class=LL&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font color=#FF3300&gt;联系方式：&lt;/font&gt;&#39;+contactWayView+&#39;&lt;br&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font color=#FF3300&gt;发货时间：&lt;/font&gt;&#39;+consignTimeTypeView+&#39;&lt;br&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font color=#FF3300&gt;相符程度：&lt;/font&gt;&#39;+accordantStatusView+&#39;&lt;br&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font color=#FF3300&gt;到达状态：&lt;/font&gt;&#39;+deliverStatusView+&#39;&lt;br&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;font color=#FF3300&gt;退货服务：&lt;/font&gt;&#39;+returnServiceView+&#39;&lt;br&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/td&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/table&gt;&lt;/td&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=4 valign=top bgcolor=#C4C4C4&gt;&lt;/td&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/table&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;table width=180 border=0 cellpadding=0 cellspacing=0 bgcolor=#C4C4C4&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;&lt;/td&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt; \<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/table&gt;&#34;&gt;&#39;+string1+&#39;&lt;/span&gt;]&#39;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.write(tipAttr);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&lt;/Script&gt;<br/>&lt;!--Tip提示函数（结束）--&gt;<br/>&lt;/head&gt;<br/><br/>&lt;body&gt;<br/>&nbsp;&nbsp;这是&lt;Script language=&#34;JavaScript&#34;&gt;writeTip1(&#39;测试1&#39;,&#39;手机&#39;,&#39;3天内发货&#39;);&lt;/Script&gt;&lt;br/&gt;<br/>&nbsp;&nbsp;这是&lt;Script language=&#34;JavaScript&#34;&gt;writeTip2(&#39;测试2&#39;,&#39;旺旺&#39;,&#39;3天内发货&#39;,&#39;相符&#39;,&#39;完好&#39;,&#39;不需要退货&#39;);&lt;/Script&gt;&lt;br/&gt;<br/>&nbsp;&nbsp;这是&lt;Script language=&#34;JavaScript&#34;&gt;writeTip1(&#39;测试三&#39;,&#39;123&#39;,&#39;345&#39;);&lt;/Script&gt;&lt;br/&gt;<br/>&nbsp;&nbsp;这是&lt;Script language=&#34;JavaScript&#34;&gt;writeTip2(&#39;测试四&#39;,&#39;旺旺&#39;,&#39;3天内发货&#39;,&#39;基本相符&#39;,&#39;完好&#39;,&#39;不需要退货&#39;);&lt;/Script&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;]]></description>
		</item>
		
</channel>
</rss>