ï»??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品激情,国内在线免费高清视频,国产精品福利在线观看http://www.aygfsteel.com/scorpionchinas/category/20203.htmlzh-cnWed, 28 Feb 2007 08:08:56 GMTWed, 28 Feb 2007 08:08:56 GMT60Ajax开发记录一: xmlhttp创徏的一¿Uæ–¹å¼?/title><link>http://www.aygfsteel.com/scorpionchinas/archive/2007/02/28/101154.html</link><dc:creator>scorpionchinas</dc:creator><author>scorpionchinas</author><pubDate>Wed, 28 Feb 2007 07:40:00 GMT</pubDate><guid>http://www.aygfsteel.com/scorpionchinas/archive/2007/02/28/101154.html</guid><wfw:comment>http://www.aygfsteel.com/scorpionchinas/comments/101154.html</wfw:comment><comments>http://www.aygfsteel.com/scorpionchinas/archive/2007/02/28/101154.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/scorpionchinas/comments/commentRss/101154.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/scorpionchinas/services/trackbacks/101154.html</trackback:ping><description><![CDATA[ <br /> <font face="Tahoma"> <strong> <font color="#a52a2a" size="2">¾~–写一个jsæ–‡äšg。如functions.js。用来存放要使用到的js函数。文件开头如下:</font> <br /> </strong>            <font color="#000000" size="1">åQˆåˆ¤æ–­æµè§ˆå™¨¾cÕdž‹å’Œç‰ˆæœ¬ï¼Œòq¶åˆ›å»ºç›¸åº”çš„xmlhttp实例åQ?/font></font> <br /> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <span style="COLOR: #008080"> 1</span> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">    </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">functions.js</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080"> 2</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000">    <br /></span> <span style="COLOR: #008080"> 3</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />    </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">Create a boolean variable to check for a valid MS instance.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080"> 4</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000">    </span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000"> xmlhttp </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">false</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080"> 5</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />    <br /></span> <span style="COLOR: #008080"> 6</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />    </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">Check if we are using IE.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080"> 7</span> <span style="COLOR: #008000"> <img id="Codehighlighter1_139_240_Open_Image" onclick="this.style.display='none'; Codehighlighter1_139_240_Open_Text.style.display='none'; Codehighlighter1_139_240_Closed_Image.style.display='inline'; Codehighlighter1_139_240_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_139_240_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_139_240_Closed_Text.style.display='none'; Codehighlighter1_139_240_Open_Image.style.display='inline'; Codehighlighter1_139_240_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span style="COLOR: #000000">    </span> <span style="COLOR: #0000ff">try</span> <span style="COLOR: #000000"> </span> <span id="Codehighlighter1_139_240_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_139_240_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080"> 8</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">If the javascript version is greater than 5.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080"> 9</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">        xmlhttp </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">new</span> <span style="COLOR: #000000"> ActiveXObject(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">Msxml2.XMLHTTP</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /></span> <span style="COLOR: #008080">10</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_252_474_Open_Image" onclick="this.style.display='none'; Codehighlighter1_252_474_Open_Text.style.display='none'; Codehighlighter1_252_474_Closed_Image.style.display='inline'; Codehighlighter1_252_474_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_252_474_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_252_474_Closed_Text.style.display='none'; Codehighlighter1_252_474_Open_Image.style.display='inline'; Codehighlighter1_252_474_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />    }</span> </span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">catch</span> <span style="COLOR: #000000"> (e) </span> <span id="Codehighlighter1_252_474_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_252_474_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">11</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">If not, then use the older active x object.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">12</span> <span style="COLOR: #008000"> <img id="Codehighlighter1_308_390_Open_Image" onclick="this.style.display='none'; Codehighlighter1_308_390_Open_Text.style.display='none'; Codehighlighter1_308_390_Closed_Image.style.display='inline'; Codehighlighter1_308_390_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_308_390_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_308_390_Closed_Text.style.display='none'; Codehighlighter1_308_390_Open_Image.style.display='inline'; Codehighlighter1_308_390_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> </span> <span style="COLOR: #000000">        </span> <span style="COLOR: #0000ff">try</span> <span style="COLOR: #000000"> </span> <span id="Codehighlighter1_308_390_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_308_390_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">13</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">If we are using IE.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">14</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">            xmlhttp </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">new</span> <span style="COLOR: #000000"> ActiveXObject(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">Microsoft.XMLHTTP</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /></span> <span style="COLOR: #008080">15</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_402_471_Open_Image" onclick="this.style.display='none'; Codehighlighter1_402_471_Open_Text.style.display='none'; Codehighlighter1_402_471_Closed_Image.style.display='inline'; Codehighlighter1_402_471_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_402_471_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_402_471_Closed_Text.style.display='none'; Codehighlighter1_402_471_Open_Image.style.display='inline'; Codehighlighter1_402_471_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        }</span> </span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">catch</span> <span style="COLOR: #000000"> (E) </span> <span id="Codehighlighter1_402_471_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_402_471_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">16</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">Else we must be using a non-IE browser.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">17</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">            xmlhttp </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">false</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">18</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span> </span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080">19</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />    }</span> </span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080">20</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />    <br /></span> <span style="COLOR: #008080">21</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />    </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">If we are using a non-IE browser, create a javascript instance of the object.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">22</span> <span style="COLOR: #008000"> <img id="Codehighlighter1_614_651_Open_Image" onclick="this.style.display='none'; Codehighlighter1_614_651_Open_Text.style.display='none'; Codehighlighter1_614_651_Closed_Image.style.display='inline'; Codehighlighter1_614_651_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_614_651_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_614_651_Closed_Text.style.display='none'; Codehighlighter1_614_651_Open_Image.style.display='inline'; Codehighlighter1_614_651_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span style="COLOR: #000000">    </span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000"> (</span> <span style="COLOR: #000000">!</span> <span style="COLOR: #000000">xmlhttp </span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">typeof</span> <span style="COLOR: #000000"> XMLHttpRequest </span> <span style="COLOR: #000000">!=</span> <span style="COLOR: #000000"> 'undefined') </span> <span id="Codehighlighter1_614_651_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_614_651_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">23</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        xmlhttp </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">new</span> <span style="COLOR: #000000"> XMLHttpRequest();<br /></span> <span style="COLOR: #008080">24</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />    }</span> </span> </div> <br /> <font face="Tahoma" color="#a52a2a" size="2"> <strong>然后在后面的函数中可以调用xmlhttpåQšï¼ˆå¦‚下例)</strong> </font> <br /> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <span style="COLOR: #008080"> 1</span> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">A variable used to distinguish whether to open or close the calendar.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080"> 2</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #000000">    </span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000"> showOrHide </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">true</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080"> 3</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />    <br /></span> <span style="COLOR: #008080"> 4</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_127_1029_Open_Image" onclick="this.style.display='none'; Codehighlighter1_127_1029_Open_Text.style.display='none'; Codehighlighter1_127_1029_Closed_Image.style.display='inline'; Codehighlighter1_127_1029_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_127_1029_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_127_1029_Closed_Text.style.display='none'; Codehighlighter1_127_1029_Open_Image.style.display='inline'; Codehighlighter1_127_1029_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />    </span> <span style="COLOR: #0000ff">function</span> <span style="COLOR: #000000"> showHideCalendar() </span> <span id="Codehighlighter1_127_1029_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_127_1029_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080"> 5</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        <br /></span> <span style="COLOR: #008080"> 6</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">The location we are loading the page into.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080"> 7</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">        </span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000"> objID </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">calendar</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080"> 8</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        <br /></span> <span style="COLOR: #008080"> 9</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">Change the current image of the minus or plus.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">10</span> <span style="COLOR: #008000"> <img id="Codehighlighter1_284_778_Open_Image" onclick="this.style.display='none'; Codehighlighter1_284_778_Open_Text.style.display='none'; Codehighlighter1_284_778_Closed_Image.style.display='inline'; Codehighlighter1_284_778_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_284_778_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_284_778_Closed_Text.style.display='none'; Codehighlighter1_284_778_Open_Image.style.display='inline'; Codehighlighter1_284_778_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> </span> <span style="COLOR: #000000">        </span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000"> (showOrHide </span> <span style="COLOR: #000000">==</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">true</span> <span style="COLOR: #000000">)</span> <span id="Codehighlighter1_284_778_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_284_778_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">11</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">Show the calendar.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">12</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">            document.getElementById(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">opencloseimg</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">).src </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">images/mins.gif</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">13</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">The page we are loading.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">14</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">            </span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000"> serverPage </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">calendar.php</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">15</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">Set the open close tracker variable.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">16</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">            showOrHide </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">false</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">17</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            <br /></span> <span style="COLOR: #008080">18</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000"> obj </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> document.getElementById(objID);<br /></span> <span style="COLOR: #008080">19</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            xmlhttp.open(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">GET</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">, serverPage);<br /></span> <span style="COLOR: #008080">20</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_637_751_Open_Image" onclick="this.style.display='none'; Codehighlighter1_637_751_Open_Text.style.display='none'; Codehighlighter1_637_751_Closed_Image.style.display='inline'; Codehighlighter1_637_751_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_637_751_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_637_751_Closed_Text.style.display='none'; Codehighlighter1_637_751_Open_Image.style.display='inline'; Codehighlighter1_637_751_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />            xmlhttp.onreadystatechange </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">function</span> <span style="COLOR: #000000">() </span> <span id="Codehighlighter1_637_751_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_637_751_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">21</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_697_746_Open_Image" onclick="this.style.display='none'; Codehighlighter1_697_746_Open_Text.style.display='none'; Codehighlighter1_697_746_Closed_Image.style.display='inline'; Codehighlighter1_697_746_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_697_746_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_697_746_Closed_Text.style.display='none'; Codehighlighter1_697_746_Open_Image.style.display='inline'; Codehighlighter1_697_746_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000"> (xmlhttp.readyState </span> <span style="COLOR: #000000">==</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">4</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">&&</span> <span style="COLOR: #000000"> xmlhttp.status </span> <span style="COLOR: #000000">==</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">200</span> <span style="COLOR: #000000">) </span> <span id="Codehighlighter1_697_746_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_697_746_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">22</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />                    obj.innerHTML </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> xmlhttp.responseText;<br /></span> <span style="COLOR: #008080">23</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span> </span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080">24</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />            }</span> </span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080">25</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            xmlhttp.send(</span> <span style="COLOR: #0000ff">null</span> <span style="COLOR: #000000">);<br /></span> <span style="COLOR: #008080">26</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_785_1020_Open_Image" onclick="this.style.display='none'; Codehighlighter1_785_1020_Open_Text.style.display='none'; Codehighlighter1_785_1020_Closed_Image.style.display='inline'; Codehighlighter1_785_1020_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_785_1020_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_785_1020_Closed_Text.style.display='none'; Codehighlighter1_785_1020_Open_Image.style.display='inline'; Codehighlighter1_785_1020_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        }</span> </span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">else</span> <span style="COLOR: #000000"> </span> <span id="Codehighlighter1_785_1020_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.aygfsteel.com/images/dot.gif" /> </span> <span id="Codehighlighter1_785_1020_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">27</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">Hide the calendar.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">28</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">            document.getElementById(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">opencloseimg</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">).src </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">images/plus.gif</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">29</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">The page we are loading.</span> <span style="COLOR: #008000"> <br /> </span> <span style="COLOR: #008080">30</span> <span style="COLOR: #008000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">            </span> <span style="COLOR: #0000ff">var</span> <span style="COLOR: #000000"> serverPage </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">blank.php</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">31</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            showOrHide </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #0000ff">true</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">32</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            <br /></span> <span style="COLOR: #008080">33</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />            document.getElementById(objID).innerHTML </span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">""</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">34</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span> </span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080">35</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        <br /></span> <span style="COLOR: #008080">36</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" align="top" />        <br /></span> <span style="COLOR: #008080">37</span> <span style="COLOR: #000000"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />    }</span> </span> </div> <img src ="http://www.aygfsteel.com/scorpionchinas/aggbug/101154.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/scorpionchinas/" target="_blank">scorpionchinas</a> 2007-02-28 15:40 <a href="http://www.aygfsteel.com/scorpionchinas/archive/2007/02/28/101154.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>å¼€å§?/title><link>http://www.aygfsteel.com/scorpionchinas/archive/2007/02/26/100699.html</link><dc:creator>scorpionchinas</dc:creator><author>scorpionchinas</author><pubDate>Mon, 26 Feb 2007 02:54:00 GMT</pubDate><guid>http://www.aygfsteel.com/scorpionchinas/archive/2007/02/26/100699.html</guid><wfw:comment>http://www.aygfsteel.com/scorpionchinas/comments/100699.html</wfw:comment><comments>http://www.aygfsteel.com/scorpionchinas/archive/2007/02/26/100699.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/scorpionchinas/comments/commentRss/100699.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/scorpionchinas/services/trackbacks/100699.html</trackback:ping><description><![CDATA[      <font face="Tahoma">今天一个住在Berlin的同学过来申误‚®ºæ–‡é¢˜ç›®ã€‚顺便提出和我一起参加一‹Æ¡å¤§å­¦ç”Ÿç«žèµ›‹zÕdŠ¨ã€‚å°±æ˜¯ç¼–è¾‘ä¸€ä¸ªä‹É用eBayAPI的程序。我觉得˜q˜æ˜¯å¾ˆä¸é”™çš„。所以初步定下来用AJAX。用SOAPå’ŒWSDL来进行一些交互的操作。打½Ž—把ebayåQŒgoogleåQŒskypeåQŒamazon½{‰å‡ ä¸ªå¤§çš„网站的services集成在一个页面。具体方案还没有。只是大体有个思èµ\ã€?br /><br />      详细信息åQ?/font><a ><font face="Tahoma">http://entwickler.ebay.de/edu/wettbewerb.html</font></a><br /><font face="Tahoma">                      </font><a ><font face="Tahoma">http://api20.blogspot.com/</font></a><br />       <br />       辅助资料åQ?a >http://www.bookgo.org/</a> åQˆè®¡½Ž—机英文原版书下载)<br />                           <a >http://ebook.vopen.net/html/26/index.html</a>åQˆè®¡½Ž—机书籍下蝲åQ?br /><img src ="http://www.aygfsteel.com/scorpionchinas/aggbug/100699.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/scorpionchinas/" target="_blank">scorpionchinas</a> 2007-02-26 10:54 <a href="http://www.aygfsteel.com/scorpionchinas/archive/2007/02/26/100699.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> Ö÷Õ¾Ö©Öë³ØÄ£°å£º <a href="http://" target="_blank">ºìºÓÏØ</a>| <a href="http://" target="_blank">¶¼ÔÈÊÐ</a>| <a href="http://" target="_blank">̨ÖÐÏØ</a>| <a href="http://" target="_blank">Û²³ÇÏØ</a>| <a href="http://" target="_blank">ÄϳÇÏØ</a>| <a href="http://" target="_blank">Ð˳ÇÊÐ</a>| <a href="http://" target="_blank">ºÍÕþÏØ</a>| <a href="http://" target="_blank">Æ½É½ÏØ</a>| <a href="http://" target="_blank">ÇàÑôÏØ</a>| <a href="http://" target="_blank">ÑŰ²ÊÐ</a>| <a href="http://" target="_blank">·ï¸ÔÏØ</a>| <a href="http://" target="_blank">¿Æ¶û</a>| <a href="http://" target="_blank">Ëà±±</a>| <a href="http://" target="_blank">¹þ°ÍºÓÏØ</a>| <a href="http://" target="_blank">±¦É½Çø</a>| <a href="http://" target="_blank">Äþ°²ÊÐ</a>| <a href="http://" target="_blank">ºÚÉ½ÏØ</a>| <a href="http://" target="_blank">ÀÖ°²ÏØ</a>| <a href="http://" target="_blank">ͨÐíÏØ</a>| <a href="http://" target="_blank">Îİ²ÏØ</a>| <a href="http://" target="_blank">µ¦³ÇÏØ</a>| <a href="http://" target="_blank">ÕÄÆÖÏØ</a>| <a href="http://" target="_blank">º¼½õºóÆì</a>| <a href="http://" target="_blank">±£Í¤</a>| <a href="http://" target="_blank">ÁÙå¢ÏØ</a>| <a href="http://" target="_blank">ÓéÀÖ</a>| <a href="http://" target="_blank">¶¨Î÷ÊÐ</a>| <a href="http://" target="_blank">Ñô¹ÈÏØ</a>| <a href="http://" target="_blank">ÔóÆÕÏØ</a>| <a href="http://" target="_blank">»´ÄÏÊÐ</a>| <a href="http://" target="_blank">¹±¸ÂÏØ</a>| <a href="http://" target="_blank">¶õÂ×´º×ÔÖÎÆì</a>| <a href="http://" target="_blank">ÉäºéÏØ</a>| <a href="http://" target="_blank">Ñ­»¯</a>| <a href="http://" target="_blank">ÕÂÇðÊÐ</a>| <a href="http://" target="_blank">Õ¿½­ÊÐ</a>| <a href="http://" target="_blank">ÉîÖÝÊÐ</a>| <a href="http://" target="_blank">²ý½­</a>| <a href="http://" target="_blank">ËÕÄáÌØÓÒÆì</a>| <a href="http://" target="_blank">ÁéÊ¯ÏØ</a>| <a href="http://" target="_blank">ƽ¶¨ÏØ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>