锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久亚洲AV无码专区首JN,亚洲嫩草影院久久精品,亚洲午夜无码久久http://www.tkk7.com/bainian/category/13317.html鐧懼勾鐨勯厭棣欙紝鐧懼勾鐨勬爲(wèi)璇氾紝鐧懼勾鐨勨︹?/description>zh-cnFri, 14 Mar 2008 03:58:00 GMTFri, 14 Mar 2008 03:58:00 GMT60ShowModalDialog鏂規(guī)硶鐨勫弬鏁頒紶閫?/title><link>http://www.tkk7.com/bainian/articles/186216.html</link><dc:creator>鐧懼勾</dc:creator><author>鐧懼勾</author><pubDate>Fri, 14 Mar 2008 02:51:00 GMT</pubDate><guid>http://www.tkk7.com/bainian/articles/186216.html</guid><wfw:comment>http://www.tkk7.com/bainian/comments/186216.html</wfw:comment><comments>http://www.tkk7.com/bainian/articles/186216.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bainian/comments/commentRss/186216.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bainian/services/trackbacks/186216.html</trackback:ping><description><![CDATA[<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"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #000000">鍒╃敤vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])錛屾垜浠彲浠ユ墦寮涓涓ā鎬佺獥鍙o紝璇ョ獥鍙g殑浼樼偣鏄檺鍒剁敤鎴峰彧鑳藉褰撳墠鐨勯〉闈㈣繘琛屾搷浣滐紝鑰屽鍏剁埗欏甸潰涓嶈兘榪涜鎿嶄綔錛屽父鐢ㄤ簬鍚戝鎴栬呬俊鎭幏鍙栭〉闈€?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />鍒╃敤鍏朵腑鐨剉Arguments鎴戜滑鍙互鍦ㄧ埗欏甸潰鍜屽脊鍑虹殑欏甸潰涓繘琛屽弬鏁扮殑浼犻掞紝鍙傛暟鍙互涓鴻嚜瀹氫箟鐨勫璞★紝涔熷彲浠ヤ紶閫掔埗欏甸潰涓換浣曚竴涓帶浠剁殑寮曠敤錛岃繖浣垮緱鎴戜滑鍙互寰堝鏄撶殑鏉ユ搷浣滅埗欏甸潰涓殑鍚勪釜鍏冪礌錛屼嬌寰楀弬鏁扮殑浼犻掑彉寰楅潪甯稿鏄撱?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />1.     鑷畾涔夊璞″弬鏁頒紶閫?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />鎴戜滑鍙互瀹氫箟涓涓猨avascript瀵硅薄錛岀劧鍚庡畾涔夊悇縐嶈嚜瀹氫箟灞炴х殑鍊鹼紝鐒跺悗鍙互灝嗘瀵硅薄浼犻掑埌瀛愰〉闈腑銆?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />濡傦細(xì)鐖墮〉闈ender.htm婧愪唬鐮佷負(fù)錛?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">html</span><span style="color: #0000ff">></span><span style="color: #000000"> <br /> <img id="Codehighlighter1_355_559_Open_Image" onclick="this.style.display='none'; Codehighlighter1_355_559_Open_Text.style.display='none'; Codehighlighter1_355_559_Closed_Image.style.display='inline'; Codehighlighter1_355_559_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_355_559_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_355_559_Closed_Text.style.display='none'; Codehighlighter1_355_559_Open_Image.style.display='inline'; Codehighlighter1_355_559_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">script</span><span style="color: #0000ff">></span><span id="Codehighlighter1_355_559_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.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_355_559_Open_Text"><span style="color: #000000; background-color: #f5f5f5"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #0000ff; background-color: #f5f5f5">function</span><span style="color: #000000; background-color: #f5f5f5"> show()<br /> <img id="Codehighlighter1_372_558_Open_Image" onclick="this.style.display='none'; Codehighlighter1_372_558_Open_Text.style.display='none'; Codehighlighter1_372_558_Closed_Image.style.display='inline'; Codehighlighter1_372_558_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_372_558_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_372_558_Closed_Text.style.display='none'; Codehighlighter1_372_558_Open_Image.style.display='inline'; Codehighlighter1_372_558_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" /></span><span id="Codehighlighter1_372_558_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.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_372_558_Open_Text"><span style="color: #000000; background-color: #f5f5f5">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />     </span><span style="color: #0000ff; background-color: #f5f5f5">var</span><span style="color: #000000; background-color: #f5f5f5"> person </span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5"> </span><span style="color: #0000ff; background-color: #f5f5f5">new</span><span style="color: #000000; background-color: #f5f5f5"> Object();<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />     person.myName</span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5">myName.value;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />     person.age </span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5"> age.value;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />     person.country </span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5"> country.value;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />     window.showModalDialog(</span><span style="color: #000000; background-color: #f5f5f5">"</span><span style="color: #000000; background-color: #f5f5f5">target.htm</span><span style="color: #000000; background-color: #f5f5f5">"</span><span style="color: #000000; background-color: #f5f5f5">,person,</span><span style="color: #000000; background-color: #f5f5f5">""</span><span style="color: #000000; background-color: #f5f5f5">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span><span style="color: #000000; background-color: #f5f5f5"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></span><span style="color: #0000ff"></</span><span style="color: #800000">script</span><span style="color: #0000ff">></span><span style="color: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">body</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">table</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                name:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="myName"</span><span style="color: #0000ff">></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                age:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="age"</span><span style="color: #0000ff">></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                country:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="country"</span><span style="color: #0000ff">></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">table</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">br</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">type</span><span style="color: #0000ff">="button"</span><span style="color: #ff0000"> value</span><span style="color: #0000ff">="open"</span><span style="color: #ff0000"> onclick</span><span style="color: #0000ff">="show()"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"></</span><span style="color: #800000">body</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"></</span><span style="color: #800000">html</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />寮瑰嚭鐨勫瓙欏甸潰target.htm鐨勬簮浠g爜涓猴細(xì)<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">html</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">body</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">table</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                name:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="myName"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                age:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="age"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                country:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">td </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="country"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">table</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"></</span><span style="color: #800000">body</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img id="Codehighlighter1_1509_1660_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1509_1660_Open_Text.style.display='none'; Codehighlighter1_1509_1660_Closed_Image.style.display='inline'; Codehighlighter1_1509_1660_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1509_1660_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1509_1660_Closed_Text.style.display='none'; Codehighlighter1_1509_1660_Open_Image.style.display='inline'; Codehighlighter1_1509_1660_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">script</span><span style="color: #0000ff">></span><span id="Codehighlighter1_1509_1660_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.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1509_1660_Open_Text"><span style="color: #000000; background-color: #f5f5f5"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff; background-color: #f5f5f5">var</span><span style="color: #000000; background-color: #f5f5f5"> person </span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5"> window.dialogArguments;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    myName.innerText </span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5"> person.myName;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    age.innerText </span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5"> person.age;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />    country.innerText </span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5"> person.country;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></span><span style="color: #0000ff"></</span><span style="color: #800000">script</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"></</span><span style="color: #800000">html</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />涓婅堪鐨勪唬鐮佸彲浠ュ皢鐖墮〉闈㈢殑淇℃伅灝佽鎴愪竴涓璞★紝鐒跺悗灝嗚瀵硅薄浼犻掔粰瀛愰〉闈€?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />2.鐖墮〉闈㈠厓绱犱紶閫?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />浠ュ皢鐖墮〉闈腑鍏冪礌瀵硅薄鐨勫紩鐢ㄤ紶閫掔粰瀛愰〉闈紝閫氳繃璇ュ紩鐢ㄦ垜浠彲浠ヨ闂埗欏甸潰涓殑璇ュ厓绱犲璞°?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />Sender.htm婧愪唬鐮侊細(xì)<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">html</span><span style="color: #0000ff">></span><span style="color: #000000"> <br /> <img id="Codehighlighter1_1809_1883_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1809_1883_Open_Text.style.display='none'; Codehighlighter1_1809_1883_Closed_Image.style.display='inline'; Codehighlighter1_1809_1883_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1809_1883_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1809_1883_Closed_Text.style.display='none'; Codehighlighter1_1809_1883_Open_Image.style.display='inline'; Codehighlighter1_1809_1883_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">script</span><span style="color: #0000ff">></span><span id="Codehighlighter1_1809_1883_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.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1809_1883_Open_Text"><span style="color: #000000; background-color: #f5f5f5"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /></span><span style="color: #0000ff; background-color: #f5f5f5">function</span><span style="color: #000000; background-color: #f5f5f5"> show()<br /> <img id="Codehighlighter1_1826_1882_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1826_1882_Open_Text.style.display='none'; Codehighlighter1_1826_1882_Closed_Image.style.display='inline'; Codehighlighter1_1826_1882_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1826_1882_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1826_1882_Closed_Text.style.display='none'; Codehighlighter1_1826_1882_Open_Image.style.display='inline'; Codehighlighter1_1826_1882_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" /></span><span id="Codehighlighter1_1826_1882_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.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1826_1882_Open_Text"><span style="color: #000000; background-color: #f5f5f5">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />     window.showModalDialog(</span><span style="color: #000000; background-color: #f5f5f5">"</span><span style="color: #000000; background-color: #f5f5f5">target.htm</span><span style="color: #000000; background-color: #f5f5f5">"</span><span style="color: #000000; background-color: #f5f5f5">,infoDiv,</span><span style="color: #000000; background-color: #f5f5f5">""</span><span style="color: #000000; background-color: #f5f5f5">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span><span style="color: #000000; background-color: #f5f5f5"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></span><span style="color: #0000ff"></</span><span style="color: #800000">script</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">body</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">div </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="infoDiv"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">table </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="infoTable"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    name:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="myName"</span><span style="color: #0000ff">></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    age:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="age"</span><span style="color: #0000ff">></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    country:</span><span style="color: #0000ff"></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                </span><span style="color: #0000ff"><</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />                    </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="country"</span><span style="color: #0000ff">></</span><span style="color: #800000">td</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />            </span><span style="color: #0000ff"></</span><span style="color: #800000">tr</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">table</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">div</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">br</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">type</span><span style="color: #0000ff">="button"</span><span style="color: #ff0000"> value</span><span style="color: #0000ff">="conveyElement"</span><span style="color: #ff0000"> onclick</span><span style="color: #0000ff">="show()"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"></</span><span style="color: #800000">body</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"></</span><span style="color: #800000">html</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />Target.htm婧愪唬鐮侊細(xì)<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />//鍏朵腑鍒╃敤鍏冪礌瀵硅薄鐨勫紩鐢ㄦ垜浠彲浠ユ搷綰電埗欏甸潰鐨勫厓绱犲璞$殑灞炴с?br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">html</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"><</span><span style="color: #800000">body</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">div </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="childDiv"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">div</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img id="Codehighlighter1_2647_2694_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2647_2694_Open_Text.style.display='none'; Codehighlighter1_2647_2694_Closed_Image.style.display='inline'; Codehighlighter1_2647_2694_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_2647_2694_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_2647_2694_Closed_Text.style.display='none'; Codehighlighter1_2647_2694_Open_Image.style.display='inline'; Codehighlighter1_2647_2694_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">script</span><span style="color: #0000ff">></span><span id="Codehighlighter1_2647_2694_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_2647_2694_Open_Text"><span style="color: #000000; background-color: #f5f5f5"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />     </span><span style="color: #0000ff; background-color: #f5f5f5">var</span><span style="color: #000000; background-color: #f5f5f5"> infoDiv </span><span style="color: #000000; background-color: #f5f5f5">=</span><span style="color: #000000; background-color: #f5f5f5"> window.dialogArguments;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />    </span></span><span style="color: #0000ff"></</span><span style="color: #800000">script</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">br</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">type</span><span style="color: #0000ff">="button"</span><span style="color: #ff0000"> value</span><span style="color: #0000ff">="showInnerHtml"</span><span style="color: #ff0000"> onclick</span><span style="color: #0000ff">='childDiv.innerHTML=infoDiv.innerHTML'</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">br</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">input </span><span style="color: #ff0000">type</span><span style="color: #0000ff">="button"</span><span style="color: #ff0000"> value</span><span style="color: #0000ff">="changePColor"</span><span style="color: #ff0000"> onclick</span><span style="color: #0000ff">='infoDiv.style.backgroundColor="lightgreen"'</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"></</span><span style="color: #800000">body</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff"></</span><span style="color: #800000">html</span><span style="color: #0000ff">></span></div> <img src ="http://www.tkk7.com/bainian/aggbug/186216.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bainian/" target="_blank">鐧懼勾</a> 2008-03-14 10:51 <a href="http://www.tkk7.com/bainian/articles/186216.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>js鑾峰彇URL涓殑鍙傛暟鍊?/title><link>http://www.tkk7.com/bainian/articles/185657.html</link><dc:creator>鐧懼勾</dc:creator><author>鐧懼勾</author><pubDate>Wed, 12 Mar 2008 04:53:00 GMT</pubDate><guid>http://www.tkk7.com/bainian/articles/185657.html</guid><wfw:comment>http://www.tkk7.com/bainian/comments/185657.html</wfw:comment><comments>http://www.tkk7.com/bainian/articles/185657.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bainian/comments/commentRss/185657.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bainian/services/trackbacks/185657.html</trackback:ping><description><![CDATA[<div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img id="Codehighlighter1_0_19_Open_Image" onclick="this.style.display='none'; Codehighlighter1_0_19_Open_Text.style.display='none'; Codehighlighter1_0_19_Closed_Image.style.display='inline'; Codehighlighter1_0_19_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_0_19_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_0_19_Closed_Text.style.display='none'; Codehighlighter1_0_19_Open_Image.style.display='inline'; Codehighlighter1_0_19_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /><span id="Codehighlighter1_0_19_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">/**/</span><span id="Codehighlighter1_0_19_Open_Text"><span style="color: #008000">/*</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />鑾峰彇URL涓渶鍚庝竴欏瑰弬鏁扮殑鍊?br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" /></span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">var</span><span style="color: #000000"> str</span><span style="color: #000000">=</span><span style="color: #000000">window.location.href;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #008000">//</span><span style="color: #008000">alert(str);</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">var</span><span style="color: #000000"> es</span><span style="color: #000000">=/</span><span style="color: #000000">SouceID</span><span style="color: #000000">=/</span><span style="color: #000000">; <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />es.exec(str); <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">var</span><span style="color: #000000"> right</span><span style="color: #000000">=</span><span style="color: #000000">RegExp.rightContext; <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #008000">//</span><span style="color: #008000">alert(right);<br /> </span><span style="color: #008000">   <br />   //鍒楀瓙<br />     <script language="javascript"> <br />     var str=window.location.href; <br />     var es=/SouceID=/; <br />     es.exec(str); <br />     var right=RegExp.rightContext; <br />     //alert(right);<br />     switch(right){<br />     case 'Din':<br />     case 'Exh':<br />     case 'Banks':<br />     case 'Shop':<br />     case 'Treat':<br />     case 'Trip':<br />          ChgTab('tab3','tabcontent3');<br />          break;<br />     case 'Air':<br />     case 'Railway':<br />     case 'Road':<br />     case 'Subway':<br />           ChgTab('tab2','tabcontent2');<br />           break;<br />    default:<br />          ChgTab('tab1','tabcontent1');<br /> }<br /> </script> <br /> <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #008000">//</span><span style="color: #008000">浠ヤ笅鏄嚱鏁扮殑鍐欐硶</span><span style="color: #008000"><br /> <img id="Codehighlighter1_180_329_Open_Image" onclick="this.style.display='none'; Codehighlighter1_180_329_Open_Text.style.display='none'; Codehighlighter1_180_329_Closed_Image.style.display='inline'; Codehighlighter1_180_329_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_180_329_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_180_329_Closed_Text.style.display='none'; Codehighlighter1_180_329_Open_Image.style.display='inline'; Codehighlighter1_180_329_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span style="color: #0000ff">function</span><span style="color: #000000"> GetParam()</span><span id="Codehighlighter1_180_329_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_180_329_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />    </span><span style="color: #0000ff">var</span><span style="color: #000000"> url </span><span style="color: #000000">=</span><span style="color: #000000"> document.location.href;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />    </span><span style="color: #0000ff">var</span><span style="color: #000000"> name</span><span style="color: #000000">=</span><span style="color: #000000">""</span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />    </span><span style="color: #0000ff">if</span><span style="color: #000000"> (url.indexOf(</span><span style="color: #000000">"</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">)</span><span style="color: #000000">></span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_256_313_Open_Image" onclick="this.style.display='none'; Codehighlighter1_256_313_Open_Text.style.display='none'; Codehighlighter1_256_313_Closed_Image.style.display='inline'; Codehighlighter1_256_313_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_256_313_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_256_313_Closed_Text.style.display='none'; Codehighlighter1_256_313_Open_Image.style.display='inline'; Codehighlighter1_256_313_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span id="Codehighlighter1_256_313_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_256_313_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        name </span><span style="color: #000000">=</span><span style="color: #000000"> url.substring(url.indexOf(</span><span style="color: #000000">"</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">)</span><span style="color: #000000">+</span><span style="color: #000000">1</span><span style="color: #000000">,url.length)<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />    </span><span style="color: #0000ff">return</span><span style="color: #000000"> name;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img id="Codehighlighter1_333_448_Open_Image" onclick="this.style.display='none'; Codehighlighter1_333_448_Open_Text.style.display='none'; Codehighlighter1_333_448_Closed_Image.style.display='inline'; Codehighlighter1_333_448_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_333_448_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_333_448_Closed_Text.style.display='none'; Codehighlighter1_333_448_Open_Image.style.display='inline'; Codehighlighter1_333_448_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span id="Codehighlighter1_333_448_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">/**/</span><span id="Codehighlighter1_333_448_Open_Text"><span style="color: #008000">/*</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />鑾峰彇鎸囧畾鐨刄RL鍙傛暟鍊?br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />URL:http://www.tkk7.com/blog?name=bainian<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />鍙傛暟錛歱aramName URL鍙傛暟<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />璋冪敤鏂規(guī)硶:getParam("name")<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />榪斿洖鍊?bainian<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" /></span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #008000">//</span><span style="color: #008000">1.</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">function</span><span style="color: #000000"> getParam(paramName)<br /> <img id="Codehighlighter1_484_1231_Open_Image" onclick="this.style.display='none'; Codehighlighter1_484_1231_Open_Text.style.display='none'; Codehighlighter1_484_1231_Closed_Image.style.display='inline'; Codehighlighter1_484_1231_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_484_1231_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_484_1231_Closed_Text.style.display='none'; Codehighlighter1_484_1231_Open_Image.style.display='inline'; Codehighlighter1_484_1231_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span id="Codehighlighter1_484_1231_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_484_1231_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        paramValue </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">""</span><span style="color: #000000">;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        isFound </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">false</span><span style="color: #000000">;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #0000ff">if</span><span style="color: #000000"> (</span><span style="color: #0000ff">this</span><span style="color: #000000">.location.search.indexOf(</span><span style="color: #000000">"</span><span style="color: #000000">?</span><span style="color: #000000">"</span><span style="color: #000000">) </span><span style="color: #000000">==</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000"> </span><span style="color: #000000">&&</span><span style="color: #000000"> </span><span style="color: #0000ff">this</span><span style="color: #000000">.location.search.indexOf(</span><span style="color: #000000">"</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">)</span><span style="color: #000000">></span><span style="color: #000000">1</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_635_1207_Open_Image" onclick="this.style.display='none'; Codehighlighter1_635_1207_Open_Text.style.display='none'; Codehighlighter1_635_1207_Closed_Image.style.display='inline'; Codehighlighter1_635_1207_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_635_1207_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_635_1207_Closed_Text.style.display='none'; Codehighlighter1_635_1207_Open_Image.style.display='inline'; Codehighlighter1_635_1207_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span><span id="Codehighlighter1_635_1207_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_635_1207_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            arrSource </span><span style="color: #000000">=</span><span style="color: #000000"> unescape(</span><span style="color: #0000ff">this</span><span style="color: #000000">.location.search).substring(</span><span style="color: #000000">1</span><span style="color: #000000">,</span><span style="color: #0000ff">this</span><span style="color: #000000">.location.search.length).split(</span><span style="color: #000000">"</span><span style="color: #000000">&</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span><span style="color: #0000ff">while</span><span style="color: #000000"> (i </span><span style="color: #000000"><</span><span style="color: #000000"> arrSource.length </span><span style="color: #000000">&&</span><span style="color: #000000"> </span><span style="color: #000000">!</span><span style="color: #000000">isFound)<br /> <img id="Codehighlighter1_829_1194_Open_Image" onclick="this.style.display='none'; Codehighlighter1_829_1194_Open_Text.style.display='none'; Codehighlighter1_829_1194_Closed_Image.style.display='inline'; Codehighlighter1_829_1194_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_829_1194_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_829_1194_Closed_Text.style.display='none'; Codehighlighter1_829_1194_Open_Image.style.display='inline'; Codehighlighter1_829_1194_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />            </span><span id="Codehighlighter1_829_1194_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_829_1194_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (arrSource[i].indexOf(</span><span style="color: #000000">"</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">) </span><span style="color: #000000">></span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_898_1159_Open_Image" onclick="this.style.display='none'; Codehighlighter1_898_1159_Open_Text.style.display='none'; Codehighlighter1_898_1159_Closed_Image.style.display='inline'; Codehighlighter1_898_1159_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_898_1159_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_898_1159_Closed_Text.style.display='none'; Codehighlighter1_898_1159_Open_Image.style.display='inline'; Codehighlighter1_898_1159_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_898_1159_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_898_1159_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                     </span><span style="color: #0000ff">if</span><span style="color: #000000"> (arrSource[i].split(</span><span style="color: #000000">"</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">)[</span><span style="color: #000000">0</span><span style="color: #000000">].toLowerCase()</span><span style="color: #000000">==</span><span style="color: #000000">paramName.toLowerCase())<br /> <img id="Codehighlighter1_1013_1141_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1013_1141_Open_Text.style.display='none'; Codehighlighter1_1013_1141_Closed_Image.style.display='inline'; Codehighlighter1_1013_1141_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1013_1141_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1013_1141_Closed_Text.style.display='none'; Codehighlighter1_1013_1141_Open_Image.style.display='inline'; Codehighlighter1_1013_1141_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                     </span><span id="Codehighlighter1_1013_1141_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1013_1141_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                        paramValue </span><span style="color: #000000">=</span><span style="color: #000000"> arrSource[i].split(</span><span style="color: #000000">"</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">)[</span><span style="color: #000000">1</span><span style="color: #000000">];<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                        isFound </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                     }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                i</span><span style="color: #000000">++</span><span style="color: #000000">;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000">   <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />   </span><span style="color: #0000ff">return</span><span style="color: #000000"> paramValue;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #008000">//</span><span style="color: #008000">2.</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">function</span><span style="color: #000000"> Request(sName)<br /> <img id="Codehighlighter1_1264_2137_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1264_2137_Open_Text.style.display='none'; Codehighlighter1_1264_2137_Closed_Image.style.display='inline'; Codehighlighter1_1264_2137_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_1264_2137_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1264_2137_Closed_Text.style.display='none'; Codehighlighter1_1264_2137_Open_Image.style.display='inline'; Codehighlighter1_1264_2137_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span id="Codehighlighter1_1264_2137_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1264_2137_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /> <img id="Codehighlighter1_1269_1373_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1269_1373_Open_Text.style.display='none'; Codehighlighter1_1269_1373_Closed_Image.style.display='inline'; Codehighlighter1_1269_1373_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1269_1373_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1269_1373_Closed_Text.style.display='none'; Codehighlighter1_1269_1373_Open_Image.style.display='inline'; Codehighlighter1_1269_1373_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />  </span><span id="Codehighlighter1_1269_1373_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">/**/</span><span id="Codehighlighter1_1269_1373_Open_Text"><span style="color: #008000">/*</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />   get last loc. of ?<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />   right: find first loc. of sName<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />   +2<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />   retrieve value before next &<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />  </span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  </span><span style="color: #0000ff">var</span><span style="color: #000000"> sURL </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> String(window.location);<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  </span><span style="color: #0000ff">var</span><span style="color: #000000"> sURL </span><span style="color: #000000">=</span><span style="color: #000000"> document.location.href;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  </span><span style="color: #0000ff">var</span><span style="color: #000000"> iQMark</span><span style="color: #000000">=</span><span style="color: #000000"> sURL.lastIndexOf('</span><span style="color: #000000">?</span><span style="color: #000000">');<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  </span><span style="color: #0000ff">var</span><span style="color: #000000"> iLensName</span><span style="color: #000000">=</span><span style="color: #000000">sName.length;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  </span><span style="color: #008000">//</span><span style="color: #008000">retrieve loc. of sName</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">  </span><span style="color: #0000ff">var</span><span style="color: #000000"> iStart </span><span style="color: #000000">=</span><span style="color: #000000"> sURL.indexOf('</span><span style="color: #000000">?</span><span style="color: #000000">' </span><span style="color: #000000">+</span><span style="color: #000000"> sName </span><span style="color: #000000">+</span><span style="color: #000000">'</span><span style="color: #000000">=</span><span style="color: #000000">') </span><span style="color: #008000">//</span><span style="color: #008000">limitation 1</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">  </span><span style="color: #0000ff">if</span><span style="color: #000000"> (iStart</span><span style="color: #000000">==-</span><span style="color: #000000">1</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1641_1870_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1641_1870_Open_Text.style.display='none'; Codehighlighter1_1641_1870_Closed_Image.style.display='inline'; Codehighlighter1_1641_1870_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1641_1870_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1641_1870_Closed_Text.style.display='none'; Codehighlighter1_1641_1870_Open_Image.style.display='inline'; Codehighlighter1_1641_1870_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span><span id="Codehighlighter1_1641_1870_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1641_1870_Open_Text"><span style="color: #000000">{</span><span style="color: #008000">//</span><span style="color: #008000">not found at start</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">        iStart </span><span style="color: #000000">=</span><span style="color: #000000"> sURL.indexOf('</span><span style="color: #000000">&</span><span style="color: #000000">' </span><span style="color: #000000">+</span><span style="color: #000000"> sName </span><span style="color: #000000">+</span><span style="color: #000000">'</span><span style="color: #000000">=</span><span style="color: #000000">')</span><span style="color: #008000">//</span><span style="color: #008000">limitation 1</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (iStart</span><span style="color: #000000">==-</span><span style="color: #000000">1</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1776_1857_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1776_1857_Open_Text.style.display='none'; Codehighlighter1_1776_1857_Closed_Image.style.display='inline'; Codehighlighter1_1776_1857_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1776_1857_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1776_1857_Closed_Text.style.display='none'; Codehighlighter1_1776_1857_Open_Image.style.display='inline'; Codehighlighter1_1776_1857_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                   </span><span id="Codehighlighter1_1776_1857_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1776_1857_Open_Text"><span style="color: #000000">{</span><span style="color: #008000">//</span><span style="color: #008000">not found at end</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">                    </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">; </span><span style="color: #008000">//</span><span style="color: #008000">not found</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /></span><span style="color: #000000">                   }</span></span><span style="color: #000000">   <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span></span><span style="color: #000000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  iStart </span><span style="color: #000000">=</span><span style="color: #000000"> iStart </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> iLensName </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">2</span><span style="color: #000000">;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  </span><span style="color: #0000ff">var</span><span style="color: #000000"> iTemp</span><span style="color: #000000">=</span><span style="color: #000000"> sURL.indexOf('</span><span style="color: #000000">&</span><span style="color: #000000">',iStart); </span><span style="color: #008000">//</span><span style="color: #008000">next pair start</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">  </span><span style="color: #0000ff">if</span><span style="color: #000000"> (iTemp </span><span style="color: #000000">==-</span><span style="color: #000000">1</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_2009_2067_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2009_2067_Open_Text.style.display='none'; Codehighlighter1_2009_2067_Closed_Image.style.display='inline'; Codehighlighter1_2009_2067_Closed_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_2009_2067_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_2009_2067_Closed_Text.style.display='none'; Codehighlighter1_2009_2067_Open_Image.style.display='inline'; Codehighlighter1_2009_2067_Open_Text.style.display='inline';" alt="" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_2009_2067_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 alt="" src="http://www.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_2009_2067_Open_Text"><span style="color: #000000">{</span><span style="color: #008000">//</span><span style="color: #008000">EOF</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">                iTemp</span><span style="color: #000000">=</span><span style="color: #000000">sURL.length;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000">  <br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  </span><span style="color: #0000ff">return</span><span style="color: #000000"> sURL.slice(iStart,iTemp ) ;<br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />  sURL</span><span style="color: #000000">=</span><span style="color: #0000ff">null</span><span style="color: #000000">;</span><span style="color: #008000">//</span><span style="color: #008000">destroy String</span><span style="color: #008000"><br /> <img alt="" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" /></span><span style="color: #000000">}</span></span></div> <img src ="http://www.tkk7.com/bainian/aggbug/185657.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bainian/" target="_blank">鐧懼勾</a> 2008-03-12 12:53 <a href="http://www.tkk7.com/bainian/articles/185657.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>璁$畻涓嫳鏂囨販鍚堝瓧絎︿覆闀垮害js鍑芥暟http://www.tkk7.com/bainian/articles/178601.html鐧懼勾鐧懼勾Wed, 30 Jan 2008 16:21:00 GMThttp://www.tkk7.com/bainian/articles/178601.htmlhttp://www.tkk7.com/bainian/comments/178601.htmlhttp://www.tkk7.com/bainian/articles/178601.html#Feedback0http://www.tkk7.com/bainian/comments/commentRss/178601.htmlhttp://www.tkk7.com/bainian/services/trackbacks/178601.htmlfunction cnLength(Str) {
    
var escStr = escape(Str);
    
var numI = 0;
    
var escStrlen = escStr.length;
    
for (i = 0;  i < escStrlen;  i++
        
if(escStr.charAt(i) == '%') 
            
if(escStr.charAt(++i) == 'u')
                numI 
++;
    
return Str.length+numI;
}


鐧懼勾 2008-01-31 00:21 鍙戣〃璇勮
]]>
window.open鍜寃indow.showModalDialog鐨勭敤娉曡緇嗚鏄?/title><link>http://www.tkk7.com/bainian/articles/158847.html</link><dc:creator>鐧懼勾</dc:creator><author>鐧懼勾</author><pubDate>Wed, 07 Nov 2007 08:15:00 GMT</pubDate><guid>http://www.tkk7.com/bainian/articles/158847.html</guid><wfw:comment>http://www.tkk7.com/bainian/comments/158847.html</wfw:comment><comments>http://www.tkk7.com/bainian/articles/158847.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bainian/comments/commentRss/158847.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bainian/services/trackbacks/158847.html</trackback:ping><description><![CDATA[<span style="color: #000000">涓銆亀indow.open()鏀寔鐜錛?nbsp;JavaScript1.</span><span style="color: #000000">0</span><span style="color: #000000">+/</span><span style="color: #000000">JScript1.</span><span style="color: #000000">0</span><span style="color: #000000">+/</span><span style="color: #000000">Nav2</span><span style="color: #000000">+/</span><span style="color: #000000">IE3</span><span style="color: #000000">+/</span><span style="color: #000000">Opera3</span><span style="color: #000000">+</span><span style="color: #000000"><br /> <br /> <br /> 浜屻佸熀鏈娉曪細(xì)<br /> window.open(pageURL,name,parameters) <br /> 鍏朵腑錛?br /> pageURL 涓哄瓙紿楀彛璺緞 <br /> name 涓哄瓙紿楀彛鍙ユ焺 <br /> parameters 涓虹獥鍙e弬鏁?鍚勫弬鏁扮敤閫楀彿鍒嗛殧) <br /> <br /> <br /> 涓夈佺ず渚嬶細(xì)<br /> </span><span style="color: #000000"><</span><span style="color: #000000">SCRIPT</span><span style="color: #000000">></span><span style="color: #000000"> <br /> </span><span style="color: #000000"><!--</span><span style="color: #000000"> <br /> window.open ('page.html','newwindow','height</span><span style="color: #000000">=</span><span style="color: #000000">100</span><span style="color: #000000">,width</span><span style="color: #000000">=</span><span style="color: #000000">400</span><span style="color: #000000">,top</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">,left</span><span style="color: #000000">=</span><span style="color: #000000">0</span><span style="color: #000000">,toolbar</span><span style="color: #000000">=</span><span style="color: #000000">no,menubar</span><span style="color: #000000">=</span><span style="color: #000000">no,scrollbars</span><span style="color: #000000">=</span><span style="color: #000000">no, resizable</span><span style="color: #000000">=</span><span style="color: #000000">no,location</span><span style="color: #000000">=</span><span style="color: #000000">no, status</span><span style="color: #000000">=</span><span style="color: #000000">no') <br /> </span><span style="color: #008000">//</span><span style="color: #008000">鍐欐垚涓琛?nbsp;</span><span style="color: #008000"><br /> </span><span style="color: #000000">--></span><span style="color: #000000"> <br /> </span><span style="color: #000000"></</span><span style="color: #000000">SCRIPT</span><span style="color: #000000">></span><span style="color: #000000"><br /> 鑴氭湰榪愯鍚庯紝page.html灝嗗湪鏂扮獥浣搉ewwindow涓墦寮錛屽涓?00錛岄珮涓?00錛岃窛灞忛《0璞$礌錛屽睆宸?璞$礌錛屾棤宸ュ叿鏉★紝鏃犺彍鍗曟潯錛屾棤婊氬姩鏉★紝涓嶅彲璋冩暣澶у皬錛屾棤鍦板潃鏍忥紝鏃犵姸鎬佹爮銆?br /> 璇峰鐓с?br /> <br /> 涓婁緥涓秹鍙?qiáng)鐨勪负甯哥敤鐨勫嚑涓弬鏁板Q岄櫎姝や互澶栬繕鏈夊緢澶氬叾浠栧弬鏁幫紝璇瘋鍥涖?br /> <br /> <br /> 鍥涖佸悇欏瑰弬鏁?br /> 鍏朵腑yes</span><span style="color: #000000">/</span><span style="color: #000000">no涔熷彲浣跨敤1</span><span style="color: #000000">/</span><span style="color: #000000">0</span><span style="color: #000000">錛沺ixel value涓哄叿浣撶殑鏁板鹼紝鍗曚綅璞$礌銆?br /> <br /> 鍙傛暟 </span><span style="color: #000000">|</span><span style="color: #000000"> 鍙栧艱寖鍥?nbsp;</span><span style="color: #000000">|</span><span style="color: #000000"> 璇存槑 <br /> </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> <br /> alwaysLowered </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 鎸囧畾紿楀彛闅愯棌鍦ㄦ墍鏈夌獥鍙d箣鍚?nbsp;<br /> alwaysRaised </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 鎸囧畾紿楀彛鎮(zhèn)誕鍦ㄦ墍鏈夌獥鍙d箣涓?nbsp;<br /> depended </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 鏄惁鍜岀埗紿楀彛鍚屾椂鍏抽棴 <br /> directories </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> Nav2鍜?鐨勭洰褰曟爮鏄惁鍙 <br /> height </span><span style="color: #000000">|</span><span style="color: #000000"> pixel value </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛楂樺害 <br /> hotkeys </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 鍦ㄦ病鑿滃崟鏍忕殑紿楀彛涓瀹夊叏閫鍑虹儹閿?nbsp;<br /> innerHeight </span><span style="color: #000000">|</span><span style="color: #000000"> pixel value </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛涓枃妗g殑鍍忕礌楂樺害 <br /> innerWidth </span><span style="color: #000000">|</span><span style="color: #000000"> pixel value </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛涓枃妗g殑鍍忕礌瀹藉害 <br /> location </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 浣嶇疆鏍忔槸鍚﹀彲瑙?nbsp;<br /> menubar </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 鑿滃崟鏍忔槸鍚﹀彲瑙?nbsp;<br /> outerHeight </span><span style="color: #000000">|</span><span style="color: #000000"> pixel value </span><span style="color: #000000">|</span><span style="color: #000000"> 璁懼畾紿楀彛(鍖呮嫭瑁呴グ杈規(guī))鐨勫儚绱犻珮搴?nbsp;<br /> outerWidth </span><span style="color: #000000">|</span><span style="color: #000000"> pixel value </span><span style="color: #000000">|</span><span style="color: #000000"> 璁懼畾紿楀彛(鍖呮嫭瑁呴グ杈規(guī))鐨勫儚绱犲搴?nbsp;<br /> resizable </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛澶у皬鏄惁鍙皟鏁?nbsp;<br /> screenX </span><span style="color: #000000">|</span><span style="color: #000000"> pixel value </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛璺濆睆騫曞乏杈圭晫鐨勫儚绱犻暱搴?nbsp;<br /> screenY </span><span style="color: #000000">|</span><span style="color: #000000"> pixel value </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛璺濆睆騫曚笂杈圭晫鐨勫儚绱犻暱搴?nbsp;<br /> scrollbars </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛鏄惁鍙湁婊氬姩鏍?nbsp;<br /> titlebar </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛棰樼洰鏍忔槸鍚﹀彲瑙?nbsp;<br /> toolbar </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛宸ュ叿鏍忔槸鍚﹀彲瑙?nbsp;<br /> Width </span><span style="color: #000000">|</span><span style="color: #000000"> pixel value </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛鐨勫儚绱犲搴?nbsp;<br /> z</span><span style="color: #000000">-</span><span style="color: #000000">look </span><span style="color: #000000">|</span><span style="color: #000000"> yes</span><span style="color: #000000">/</span><span style="color: #000000">no </span><span style="color: #000000">|</span><span style="color: #000000"> 紿楀彛琚縺媧誨悗鏄惁嫻湪鍏跺畠紿楀彛涔嬩笂<br /> <br /> window.showModalDialog浣跨敤鎵嬪唽<br /> <br />  <br /> 鍩烘湰浠嬬粛錛?br /> showModalDialog() (IE </span><span style="color: #000000">4</span><span style="color: #000000">+</span><span style="color: #000000"> 鏀寔)<br /> showModelessDialog() (IE </span><span style="color: #000000">5</span><span style="color: #000000">+</span><span style="color: #000000"> 鏀寔)<br /> window.showModalDialog()鏂規(guī)硶鐢ㄦ潵鍒涘緩涓涓樉紺篐TML鍐呭鐨勬ā鎬佸璇濇銆?br /> window.showModelessDialog()鏂規(guī)硶鐢ㄦ潵鍒涘緩涓涓樉紺篐TML鍐呭鐨勯潪妯℃佸璇濇銆?br /> <br /> 浣跨敤鏂規(guī)硶錛?br /> vReturnValue </span><span style="color: #000000">=</span><span style="color: #000000"> window.showModalDialog(sURL [, vArguments] [,sFeatures])<br /> vReturnValue </span><span style="color: #000000">=</span><span style="color: #000000"> window.showModelessDialog(sURL [, vArguments] [,sFeatures])<br /> <br /> 鍙傛暟璇存槑錛?br /> sURL</span><span style="color: #000000">--</span><span style="color: #000000"><br /> 蹇呴夊弬鏁幫紝綾誨瀷錛氬瓧絎︿覆銆傜敤鏉ユ寚瀹氬璇濇瑕佹樉紺虹殑鏂囨。鐨刄RL銆?br /> vArguments</span><span style="color: #000000">--</span><span style="color: #000000"><br /> 鍙夊弬鏁幫紝綾誨瀷錛氬彉浣撱傜敤鏉ュ悜瀵硅瘽妗嗕紶閫掑弬鏁般備紶閫掔殑鍙傛暟綾誨瀷涓嶉檺錛屽寘鎷暟緇勭瓑銆傚璇濇閫氳繃window.dialogArguments鏉ュ彇寰椾紶閫掕繘鏉ョ殑鍙傛暟銆?br /> sFeatures</span><span style="color: #000000">--</span><span style="color: #000000"><br /> 鍙夊弬鏁幫紝綾誨瀷錛氬瓧絎︿覆銆傜敤鏉ユ弿榪板璇濇鐨勫瑙傜瓑淇℃伅錛屽彲浠ヤ嬌鐢ㄤ互涓嬬殑涓涓垨鍑犱釜錛岀敤鍒嗗彿“;”闅斿紑銆?br /> </span><span style="color: #000000">1</span><span style="color: #000000">.dialogHeight :瀵硅瘽妗嗛珮搴︼紝涓嶅皬浜庯紤錛愶紣px錛岋緝錛ワ紨涓璬ialogHeight 鍜?nbsp;dialogWidth 榛樿鐨勫崟浣嶆槸em錛岃岋緝錛ワ紩涓槸px錛屼負(fù)鏂逛究鍏惰錛屽湪瀹氫箟modal鏂瑰紡鐨勫璇濇鏃訛紝鐢╬x鍋氬崟浣嶃?br /> </span><span style="color: #000000">2</span><span style="color: #000000">.dialogWidth: 瀵硅瘽妗嗗搴︺?br /> </span><span style="color: #000000">3</span><span style="color: #000000">.dialogLeft: 紱誨睆騫曞乏鐨勮窛紱匯?br /> </span><span style="color: #000000">4</span><span style="color: #000000">.dialogTop: 紱誨睆騫曚笂鐨勮窛紱匯?br /> </span><span style="color: #000000">5</span><span style="color: #000000">.center: {yes </span><span style="color: #000000">|</span><span style="color: #000000"> no </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000"> }錛氱獥鍙f槸鍚﹀眳涓紝榛樿yes錛屼絾浠嶅彲浠ユ寚瀹氶珮搴﹀拰瀹藉害銆?br /> </span><span style="color: #000000">6</span><span style="color: #000000">.help: {yes </span><span style="color: #000000">|</span><span style="color: #000000"> no </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000"> }錛氭槸鍚︽樉紺哄府鍔╂寜閽紝榛樿yes銆?br /> </span><span style="color: #000000">7</span><span style="color: #000000">.resizable: {yes </span><span style="color: #000000">|</span><span style="color: #000000"> no </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000"> } 錛伙緝錛ワ紩錛嬶冀錛氭槸鍚﹀彲琚敼鍙樺ぇ灝忋傞粯璁o銆?br /> </span><span style="color: #000000">8</span><span style="color: #000000">.status: {yes </span><span style="color: #000000">|</span><span style="color: #000000"> no </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000"> } 錛籌E5</span><span style="color: #000000">+</span><span style="color: #000000">錛斤細(xì)鏄惁鏄劇ず鐘舵佹爮銆傞粯璁や負(fù)yes[ Modeless]鎴杗o[Modal]銆?br /> </span><span style="color: #000000">9</span><span style="color: #000000">.scroll:{ yes </span><span style="color: #000000">|</span><span style="color: #000000"> no </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> on </span><span style="color: #000000">|</span><span style="color: #000000"> off }錛氭寚鏄庡璇濇鏄惁鏄劇ず婊氬姩鏉°傞粯璁や負(fù)yes銆?br /> 涓嬮潰鍑犱釜灞炴ф槸鐢ㄥ湪HTA涓殑錛屽湪涓鑸殑緗戦〉涓竴鑸笉浣跨敤銆?br /> </span><span style="color: #000000">10</span><span style="color: #000000">.dialogHide:{ yes </span><span style="color: #000000">|</span><span style="color: #000000"> no </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> on </span><span style="color: #000000">|</span><span style="color: #000000"> off }錛氬湪鎵撳嵃鎴栬呮墦鍗伴瑙堟椂瀵硅瘽妗嗘槸鍚﹂殣钘忋傞粯璁や負(fù)no銆?br /> </span><span style="color: #000000">11</span><span style="color: #000000">.edge:{ sunken </span><span style="color: #000000">|</span><span style="color: #000000"> raised }錛氭寚鏄庡璇濇鐨勮竟妗嗘牱寮忋傞粯璁や負(fù)raised銆?br /> </span><span style="color: #000000">12</span><span style="color: #000000">.unadorned:{ yes </span><span style="color: #000000">|</span><span style="color: #000000"> no </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000"> on </span><span style="color: #000000">|</span><span style="color: #000000"> off }錛氶粯璁や負(fù)no銆?br /> <br /> 鍙傛暟浼犻掞細(xì)<br /> </span><span style="color: #000000">1</span><span style="color: #000000">.瑕佹兂瀵硅瘽妗嗕紶閫掑弬鏁幫紝鏄氳繃vArguments鏉ヨ繘琛屼紶閫掔殑銆傜被鍨嬩笉闄愬埗錛屽浜庡瓧絎︿覆綾誨瀷錛屾渶澶т負(fù)4096涓瓧絎︺備篃鍙互浼犻掑璞★紝渚嬪錛?br /> </span><span style="color: #000000">-------------------------------</span><span style="color: #000000"><br /> parent.htm<br /> </span><span style="color: #000000"><</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> </span><span style="color: #0000ff">var</span><span style="color: #000000"> obj </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Object();<br /> obj.name</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">51js</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> window.showModalDialog(</span><span style="color: #000000">"</span><span style="color: #000000">modal.htm</span><span style="color: #000000">"</span><span style="color: #000000">,obj,</span><span style="color: #000000">"</span><span style="color: #000000">dialogWidth=200px;dialogHeight=100px</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> </span><span style="color: #000000"></</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> modal.htm<br /> </span><span style="color: #000000"><</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> </span><span style="color: #0000ff">var</span><span style="color: #000000"> obj </span><span style="color: #000000">=</span><span style="color: #000000"> window.dialogArguments<br /> alert(</span><span style="color: #000000">"</span><span style="color: #000000">鎮(zhèn)ㄤ紶閫掔殑鍙傛暟涓猴細(xì)</span><span style="color: #000000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> obj.name)<br /> </span><span style="color: #000000"></</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> </span><span style="color: #000000">-------------------------------</span><span style="color: #000000"><br /> </span><span style="color: #000000">2</span><span style="color: #000000">.鍙互閫氳繃window.returnValue鍚戞墦寮瀵硅瘽妗嗙殑紿楀彛榪斿洖淇℃伅錛屽綋鐒朵篃鍙互鏄璞°備緥濡傦細(xì)<br /> </span><span style="color: #000000">------------------------------</span><span style="color: #000000"><br /> parent.htm<br /> </span><span style="color: #000000"><</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> str </span><span style="color: #000000">=</span><span style="color: #000000">window.showModalDialog(</span><span style="color: #000000">"</span><span style="color: #000000">modal.htm</span><span style="color: #000000">"</span><span style="color: #000000">,,</span><span style="color: #000000">"</span><span style="color: #000000">dialogWidth=200px;dialogHeight=100px</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> alert(str);<br /> </span><span style="color: #000000"></</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> modal.htm<br /> </span><span style="color: #000000"><</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> window.returnValue</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">http://www.51js.com</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> </span><span style="color: #000000"></</span><span style="color: #000000">script</span><span style="color: #000000">></span><span style="color: #000000"><br /> <br /> 甯佺瀹氫箟閮ㄥ垎 <br /> <br /> </span><span style="color: #0000ff">var</span><span style="color: #000000"> psAddStr</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">ProcessID=</span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">ProcessID</span><span style="color: #000000">+</span><span style="color: #000000">"</span><span style="color: #000000">&AddFlag=</span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">isAddFlag</span><span style="color: #000000">+</span><span style="color: #000000">"</span><span style="color: #000000">&BZBH=</span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">vsBZBH</span><span style="color: #000000">+</span><span style="color: #000000">"</span><span style="color: #000000">&BZMC=</span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">vsBZMC</span><span style="color: #000000">+</span><span style="color: #000000">"</span><span style="color: #000000">&BZFH=</span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">vsBZFH</span><span style="color: #000000">+</span><span style="color: #000000">"</span><span style="color: #000000">&JD=</span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">vsJD;<br />  <br />  </span><span style="color: #0000ff">var</span><span style="color: #000000"> Result</span><span style="color: #000000">=</span><span style="color: #000000">window.showModalDialog(</span><span style="color: #000000">"</span><span style="color: #000000">addSave.asp?</span><span style="color: #000000">"</span><span style="color: #000000">+</span><span style="color: #000000">psAddStr,'',</span><span style="color: #000000">"</span><span style="color: #000000">dialogHeight:250px;dialogWidth:250px;status:no;</span><span style="color: #000000">"</span><span style="color: #000000">);</span> <img src ="http://www.tkk7.com/bainian/aggbug/158847.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bainian/" target="_blank">鐧懼勾</a> 2007-11-07 16:15 <a href="http://www.tkk7.com/bainian/articles/158847.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>甯哥敤浜庤〃鍗旿S楠岃瘉http://www.tkk7.com/bainian/articles/133942.html鐧懼勾鐧懼勾Thu, 02 Aug 2007 02:33:00 GMThttp://www.tkk7.com/bainian/articles/133942.htmlhttp://www.tkk7.com/bainian/comments/133942.htmlhttp://www.tkk7.com/bainian/articles/133942.html#Feedback0http://www.tkk7.com/bainian/comments/commentRss/133942.htmlhttp://www.tkk7.com/bainian/services/trackbacks/133942.html璁$畻涓嫳鏂囨販鍚堝瓧絎︿釜鏁?br>

function bytes(str){
    
if(typeof(str)!='string'){
        str 
= str.value;
    }

    
var len = 0;
    
for(var i = 0; i < str.length; i++){
        
if(str.charCodeAt(i) > 127){            len++;
        }
                    len++;
    }

    
return len;
}

璋冪敤鏂瑰紡錛?br>
function textLimitCheck(thisArea,maxLength){
    
if(bytes(thisArea.value) > maxLength){
        alert(maxLength 
+ '涓瓧闄愬埗.\\r瓚呭嚭鐨勫皢鑷姩鍘婚櫎.');
        thisArea.value
=thisArea.value.substring(0,maxLength);
        thisArea.focus();
        
return false;
    }

    
return true;
}


鐧懼勾 2007-08-02 10:33 鍙戣〃璇勮
]]>
IE涓嶧ireFox涓嬬敤紼嬪簭瑙﹀彂榧犳爣鐐瑰嚮浜嬩歡涓嶅悓鐨勫疄鐜?/title><link>http://www.tkk7.com/bainian/articles/108667.html</link><dc:creator>鐧懼勾</dc:creator><author>鐧懼勾</author><pubDate>Thu, 05 Apr 2007 04:51:00 GMT</pubDate><guid>http://www.tkk7.com/bainian/articles/108667.html</guid><wfw:comment>http://www.tkk7.com/bainian/comments/108667.html</wfw:comment><comments>http://www.tkk7.com/bainian/articles/108667.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bainian/comments/commentRss/108667.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bainian/services/trackbacks/108667.html</trackback:ping><description><![CDATA[<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">html</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">head</span><span style="COLOR: #0000ff">><</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">Dispatch Event Sample</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">title</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img id=Codehighlighter1_58_275_Open_Image onclick="this.style.display='none'; Codehighlighter1_58_275_Open_Text.style.display='none'; Codehighlighter1_58_275_Closed_Image.style.display='inline'; Codehighlighter1_58_275_Closed_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_58_275_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_58_275_Closed_Text.style.display='none'; Codehighlighter1_58_275_Open_Image.style.display='inline'; Codehighlighter1_58_275_Open_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">script</span><span style="COLOR: #0000ff">></span><span id=Codehighlighter1_58_275_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.tkk7.com/Images/dot.gif"></span><span id=Codehighlighter1_58_275_Open_Text><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" align=top></span><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> clickABC(el)<br><img id=Codehighlighter1_81_274_Open_Image onclick="this.style.display='none'; Codehighlighter1_81_274_Open_Text.style.display='none'; Codehighlighter1_81_274_Closed_Image.style.display='inline'; Codehighlighter1_81_274_Closed_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_81_274_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_81_274_Closed_Text.style.display='none'; Codehighlighter1_81_274_Open_Image.style.display='inline'; Codehighlighter1_81_274_Open_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top></span><span id=Codehighlighter1_81_274_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.tkk7.com/Images/dot.gif"></span><span id=Codehighlighter1_81_274_Open_Text><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<br><img src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> (navigator.appVersion.match(</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">\bMSIE\b</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">))<br><img id=Codehighlighter1_131_148_Open_Image onclick="this.style.display='none'; Codehighlighter1_131_148_Open_Text.style.display='none'; Codehighlighter1_131_148_Closed_Image.style.display='inline'; Codehighlighter1_131_148_Closed_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_131_148_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_131_148_Closed_Text.style.display='none'; Codehighlighter1_131_148_Open_Image.style.display='inline'; Codehighlighter1_131_148_Open_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span id=Codehighlighter1_131_148_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.tkk7.com/Images/dot.gif"></span><span id=Codehighlighter1_131_148_Open_Text><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<br><img src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" align=top>        el.click();<br><img src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    }</span></span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">else</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><br><img id=Codehighlighter1_157_272_Open_Image onclick="this.style.display='none'; Codehighlighter1_157_272_Open_Text.style.display='none'; Codehighlighter1_157_272_Closed_Image.style.display='inline'; Codehighlighter1_157_272_Closed_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_157_272_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_157_272_Closed_Text.style.display='none'; Codehighlighter1_157_272_Open_Image.style.display='inline'; Codehighlighter1_157_272_Open_Text.style.display='inline';" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span id=Codehighlighter1_157_272_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.tkk7.com/Images/dot.gif"></span><span id=Codehighlighter1_157_272_Open_Text><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<br><img src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" align=top>        </span><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> evt </span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> document.createEvent(</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">MouseEvents</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);<br><img src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" align=top>        evt.initEvent(</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">click</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">, </span><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">true</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">, </span><span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">true</span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);<br><img src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" align=top>        el.dispatchEvent(evt);<br><img src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    }</span></span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span><span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">script</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">head</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">div </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="abc"</span><span style="COLOR: #ff0000"> onclick</span><span style="COLOR: #0000ff">="javascript:alert('you are clicked Crespo Shi!');"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">I'm Crespo Shi</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">div</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">input </span><span style="COLOR: #ff0000">type</span><span style="COLOR: #0000ff">="button"</span><span style="COLOR: #ff0000"> onclick</span><span style="COLOR: #0000ff">="javascript:clickABC(document.getElementById('abc'))"</span><span style="COLOR: #ff0000"> value</span><span style="COLOR: #0000ff">="Dispatch Event"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">body</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">html</span><span style="COLOR: #0000ff">></span></div> <br>Code Source:http://www.tkk7.com/crespo9907/archive/2007/04/04/108440.html <img src ="http://www.tkk7.com/bainian/aggbug/108667.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bainian/" target="_blank">鐧懼勾</a> 2007-04-05 12:51 <a href="http://www.tkk7.com/bainian/articles/108667.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Javascript涓璍enB鐨勮綆楋紙ASP錛?http://www.tkk7.com/bainian/articles/106918.html鐧懼勾鐧懼勾Wed, 28 Mar 2007 04:09:00 GMThttp://www.tkk7.com/bainian/articles/106918.htmlhttp://www.tkk7.com/bainian/comments/106918.htmlhttp://www.tkk7.com/bainian/articles/106918.html#Feedback0http://www.tkk7.com/bainian/comments/commentRss/106918.htmlhttp://www.tkk7.com/bainian/services/trackbacks/106918.html<%
'==========================================================
'姍熻兘 :LenB
'==========================================================
Sub gsPutJsLenB()
%>
function fLenB(character)
{
    var count = 0;
    for (var i = 0; i < character.length; i++)
   {
       if ( (character.charCodeAt(i) > 0 && character.charCodeAt(i) < 127) || (character.charCodeAt(i) > 65376 && character.charCodeAt(i) < 65440) )
      {
           count++;
      }
      else
      {
         count += 2;
      }
  }
 return count;
}
<%End Sub%>

http://blog.csdn.net/listen/archive/2004/08/03/59953.aspx



鐧懼勾 2007-03-28 12:09 鍙戣〃璇勮
]]>
Javascript 瀹炵幇鐨勬帓搴?/title><link>http://www.tkk7.com/bainian/articles/59406.html</link><dc:creator>鐧懼勾</dc:creator><author>鐧懼勾</author><pubDate>Fri, 21 Jul 2006 05:55:00 GMT</pubDate><guid>http://www.tkk7.com/bainian/articles/59406.html</guid><wfw:comment>http://www.tkk7.com/bainian/comments/59406.html</wfw:comment><comments>http://www.tkk7.com/bainian/articles/59406.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/bainian/comments/commentRss/59406.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/bainian/services/trackbacks/59406.html</trackback:ping><description><![CDATA[ <p>涓涓狫avascript 鐨勭被搴擄紝鐢ㄤ簬table鍐呭鎺掑簭銆備嬌鐢ㄥ緢鏂逛究錛屼笉鐢ㄦ瘡嬈¢兘鍘昏皟鐢ㄦ暟鎹簱浜嗐?br />鐗瑰埆閫傚悎澶氳〃鏌ヨ鐨勬帓搴忋傚姞涓?lt;tbody>鐨剆tyle.display 鍒囨崲錛屼篃鍙互瀹炵幇鍒嗛〉銆?/p> <p> <a href="/Files/bainian/sort table.rar">JS 涓嬭澆鍦板潃</a>聽聽聽聽<a target="_blank" rel="external_blank">鏁堟灉婕旂ず</a></p> <p> <span id="uhsppwj" class="noticefont">鐢ㄦ硶:</span> </p> <p>1.娣誨姞JS <br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">SCRIPT聽</span> <span style="COLOR: #ff0000">src</span> <span style="COLOR: #0000ff">="sorttable.js"</span> <span style="COLOR: #ff0000">聽type</span> <span style="COLOR: #0000ff">="text/javascript"</span> <span style="COLOR: #0000ff">></</span> <span style="COLOR: #800000">SCRIPT</span> <span style="COLOR: #0000ff">></span> </div> <br /> <p>2.娣誨姞TABLE,娉ㄦ剰鐨勬槸錛氫竴瀹氳鏈塈D,class涓?sortable"<br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">table聽</span> <span style="COLOR: #ff0000">class</span> <span style="COLOR: #0000ff">="sortable"</span> <span style="COLOR: #ff0000">聽id</span> <span style="COLOR: #0000ff">="mytable"</span> <span style="COLOR: #0000ff">></span> </div> <style type="text/css"><![CDATA[ /* GeSHi (c) Nigel McNie 2004 (http://qbnz.com/highlighter) */ .javascript {font-size:12px;font-family: Tahoma,Verdana, Arial, sans-serif;color: #000; border: 1px solid #ddd; background-color: #fff;width:92%;line-height:140%;padding-right:10px;padding-left:25px;background-image: url(images/line_bg.gif);background-repeat: repeat-y;} .javascript a:link {color: #000;text-decoration:none;font-weight:bold;} .javascript a:visited {color: #000;text-decoration:none;font-weight:bold;} .javascript a:hover {text-decoration:underline;} .javascript .imp {font-weight: bold; color: red;} .javascript .kw1 {color: #000066; font-weight: bold;color:#006600;} .javascript .kw2 {color: #003366; font-weight: bold;} .javascript .kw3 {color: #000066;} .javascript .co1 {color: #009900; font-style: italic;} .javascript .coMULTI {color: #009900; font-style: italic;} .javascript .es0 {color: #000099; font-weight: bold;} .javascript .br0 {color: #66cc66;} .javascript .st0 {color: #3366CC;color:#990000;} .javascript .nu0 {color: #CC0000;color:red;} .javascript .me1 {color: #006600;} .javascript .re0 {color: #0066FF;} ]]></style> <br /> <p>OK,鍙互浜嗭紝綆鍗曠殑鍚?/p> <p>濡傛灉瑙夊緱澶崟璋冿紝鑷繁鍔犵偣CSS鍚э紝瀹樻柟緇欏嚭浜嗘敼HEAD鐨凜SS<br /></p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <span style="COLOR: #008000">/*</span> <span style="COLOR: #008000">聽Sortable聽tables聽</span> <span style="COLOR: #008000">*/</span> <span style="COLOR: #800000"> <br />table.sortable聽a.sortheader聽</span> <span style="COLOR: #000000">{</span> <span style="COLOR: #ff0000"> <br />聽聽聽聽background-color</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #0000ff">#eee</span> <span style="COLOR: #000000">;</span> <span style="COLOR: #ff0000"> <br />聽聽聽聽color</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #0000ff">#666666</span> <span style="COLOR: #000000">;</span> <span style="COLOR: #ff0000"> <br />聽聽聽聽font-weight</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #0000ff">聽bold</span> <span style="COLOR: #000000">;</span> <span style="COLOR: #ff0000"> <br />聽聽聽聽text-decoration</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #0000ff">聽none</span> <span style="COLOR: #000000">;</span> <span style="COLOR: #ff0000"> <br />聽聽聽聽display</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #0000ff">聽block</span> <span style="COLOR: #000000">;</span> <span style="COLOR: #ff0000"> <br /> </span> <span style="COLOR: #000000">}</span> <span style="COLOR: #800000"> <br />table.sortable聽span.sortarrow聽</span> <span style="COLOR: #000000">{</span> <span style="COLOR: #ff0000"> <br />聽聽聽聽color</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #0000ff">black</span> <span style="COLOR: #000000">;</span> <span style="COLOR: #ff0000"> <br />聽聽聽聽text-decoration</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #0000ff">聽none</span> <span style="COLOR: #000000">;</span> <span style="COLOR: #ff0000"> <br /> </span> <span style="COLOR: #000000">}</span> <span style="COLOR: #800000"> <br /> </span> </div> <style type="text/css"><![CDATA[ /* GeSHi (c) Nigel McNie 2004 (http://qbnz.com/highlighter) */ .css {font-size:12px;font-family: Tahoma,Verdana, Arial, sans-serif;color: #000; border: 1px solid #ddd; background-color: #fff;width:92%;line-height:140%;padding-right:10px;padding-left:25px;background-image: url(images/line_bg.gif);background-repeat: repeat-y;} .css a:link {color: #000;text-decoration:none;font-weight:bold;} .css a:visited {color: #000;text-decoration:none;font-weight:bold;} .css a:hover {text-decoration:underline;} .css .imp {font-weight: bold; color: red;} .css .kw1 {color: #000000; font-weight: bold;color:#006600;} .css .kw2 {color: #993333;} .css .co1 {color: #a1a100;} .css .coMULTI {color: #808080; font-style: italic;} .css .es0 {color: #000099; font-weight: bold;} .css .br0 {color: #66cc66;} .css .st0 {color: #ff0000;color:#990000;} .css .nu0 {color: #cc66cc;color:red;} .css .re0 {color: #cc00cc;} .css .re1 {color: #6666ff;} .css .re2 {color: #3333ff;} ]]></style> <br />Code Source : <a >http://www.flaspx.com/weblog/index.php</a><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 <a >http://www.blueidea.com/tech/web/2006/3799.asp</a><img src ="http://www.tkk7.com/bainian/aggbug/59406.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/bainian/" target="_blank">鐧懼勾</a> 2006-07-21 13:55 <a href="http://www.tkk7.com/bainian/articles/59406.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://1877808.com" target="_blank">一级毛片免费毛片毛片</a>| <a href="http://beijinzhongliuyiyuan.com" target="_blank">eeuss影院免费直达入口</a>| <a href="http://d3q4.com" target="_blank">中文字幕不卡免费高清视频</a>| <a href="http://hivzx.com" target="_blank">最近免费中文字幕mv在线电影</a>| <a href="http://4388x4.com" target="_blank">日韩中文无码有码免费视频</a>| <a href="http://ddxsrd.com" target="_blank">久久久青草青青国产亚洲免观 </a>| <a href="http://hucgjc.com" target="_blank">亚洲国产精品日韩在线观看</a>| <a href="http://gyqcy.com" target="_blank">真人无码作爱免费视频</a>| <a href="http://cijishiye.com" target="_blank">亚洲精品免费在线观看</a>| <a href="http://sxgzjssb.com" target="_blank">免费国产成人午夜电影</a>| <a href="http://www-64000.com" target="_blank">精品亚洲aⅴ在线观看</a>| <a href="http://9196528.com" target="_blank">免费人成大片在线观看播放电影</a>| <a href="http://922eee.com" target="_blank">91精品免费国产高清在线</a>| <a href="http://606059.com" target="_blank">亚洲天堂在线视频</a>| <a href="http://655060.com" target="_blank">亚洲最大的成人网</a>| <a href="http://22nee.com" target="_blank">精品免费tv久久久久久久 </a>| <a href="http://http99.com" target="_blank">成年人免费观看视频网站</a>| <a href="http://see13.com" target="_blank">亚洲成AV人片在线观看ww</a>| <a href="http://0755szyxcm.com" target="_blank">亚洲欧美不卡高清在线</a>| <a href="http://69ct.com" target="_blank">四虎国产成人永久精品免费</a>| <a href="http://w6336.com" target="_blank">又黄又爽无遮挡免费视频</a>| <a href="http://chenglide.com" target="_blank">亚洲精品韩国美女在线</a>| <a href="http://51wdn.com" target="_blank">国产视频精品免费视频</a>| <a href="http://zndijgch.com" target="_blank">免费视频淫片aa毛片</a>| <a href="http://www-60060.com" target="_blank">亚洲美女视频一区二区三区</a>| <a href="http://426366.com" target="_blank">国产黄在线观看免费观看不卡 </a>| <a href="http://ju7776.com" target="_blank">亚洲国产天堂久久久久久</a>| <a href="http://323799.com" target="_blank">亚洲情A成黄在线观看动漫软件 </a>| <a href="http://lwjiheng.com" target="_blank">a毛片在线免费观看</a>| <a href="http://0515zs.com" target="_blank">日本视频免费在线</a>| <a href="http://cjfuli.com" target="_blank">亚洲精品国产成人中文</a>| <a href="http://acccx.com" target="_blank">中文在线观看国语高清免费</a>| <a href="http://eddiekidd.com" target="_blank">日本特黄特色aa大片免费</a>| <a href="http://www431234.com" target="_blank">亚洲自偷精品视频自拍</a>| <a href="http://gzqhit.com" target="_blank">国产午夜免费高清久久影院</a>| <a href="http://k5nn.com" target="_blank">亚洲成a人片在线观看久</a>| <a href="http://szyxfhm.com" target="_blank">日本亚洲免费无线码</a>| <a href="http://wwkk3.com" target="_blank">国产91免费视频</a>| <a href="http://56kaifa.com" target="_blank">亚洲国产一区二区a毛片</a>| <a href="http://91ggan.com" target="_blank">free哆拍拍免费永久视频</a>| <a href="http://wwwxue1888.com" 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>