锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲一区爱区精品无码,亚洲最大视频网站,67194在线午夜亚洲http://www.tkk7.com/zhaochengming/category/24905.html 鐭ユ鑰屽悗鏈夊畾錛屽畾鑰屽悗鑳介潤錛岄潤鑰屽悗鑳藉畨錛屽畨鑰屽悗鑳借檻錛岃檻鑰屽悗鑳藉緱銆傜墿鏈夋湰鏈紝浜嬫湁緇堝銆傜煡鎵鍏堝悗錛屽垯榪戦亾鐭c?/description>zh-cnSat, 23 Feb 2013 02:26:13 GMTSat, 23 Feb 2013 02:26:13 GMT60Console鍛戒護璇﹁В,璁╄皟璇昷s浠g爜鍙樺緱鏇寸畝鍗?/title><link>http://www.tkk7.com/zhaochengming/archive/2013/02/22/395606.html</link><dc:creator>helloworld2008</dc:creator><author>helloworld2008</author><pubDate>Fri, 22 Feb 2013 11:40:00 GMT</pubDate><guid>http://www.tkk7.com/zhaochengming/archive/2013/02/22/395606.html</guid><wfw:comment>http://www.tkk7.com/zhaochengming/comments/395606.html</wfw:comment><comments>http://www.tkk7.com/zhaochengming/archive/2013/02/22/395606.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/zhaochengming/comments/commentRss/395606.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/zhaochengming/services/trackbacks/395606.html</trackback:ping><description><![CDATA[<div id="ctnrbjt" class="asset-body" style="margin: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;"><a target="_blank" style="color: #1a356e; text-decoration: initial;">Firebug</a>鏄綉欏靛紑鍙戠殑鍒╁櫒錛岃兘澶熸瀬澶у湴鎻愬崌宸ヤ綔鏁堢巼銆?br /></p></div><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">浣嗘槸錛屽畠涓嶅お瀹規(guī)槗涓婃墜銆傛垜鏇劇粡緲昏瘧榪囦竴綃?a target="_blank" style="color: #1a356e; text-decoration: initial;">銆奆irebug鍏ラ棬鎸囧崡銆?/a>錛屼粙緇嶄簡涓浜涘熀鏈敤娉曘備粖澶╋紝緇х畫浠嬬粛瀹冪殑楂樼駭鐢ㄦ硶銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">===================================</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>Firebug鎺у埗鍙拌瑙?/strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">浣滆咃細闃竴宄?br />鍑哄錛歨ttp://www.ruanyifeng.com/blog/2011/03/firebug_console_tutorial.html</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032616.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><br />鎺у埗鍙幫紙Console錛夋槸Firebug鐨勭涓涓潰鏉匡紝涔熸槸鏈閲嶈鐨勯潰鏉匡紝涓昏浣滅敤鏄樉紺虹綉欏靛姞杞借繃紼嬩腑浜х敓鍚勭被淇℃伅銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>涓銆佹樉紺轟俊鎭殑鍛戒護</strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">Firebug鍐呯疆涓涓猚onsole瀵硅薄錛屾彁渚?縐嶆柟娉曪紝鐢ㄦ潵鏄劇ず淇℃伅銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鏈綆鍗曠殑鏂規(guī)硶鏄痗onsole.log()錛屽彲浠ョ敤鏉ュ彇浠lert()鎴杁ocument.write()銆傛瘮濡傦紝鍦ㄧ綉欏佃剼鏈腑浣跨敤console.log("Hello World")錛屽姞杞芥椂鎺у埗鍙板氨浼氳嚜鍔ㄦ樉紺哄涓嬪唴瀹廣?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032601.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鍙﹀錛屾牴鎹俊鎭殑涓嶅悓鎬ц川錛宑onsole瀵硅薄榪樻湁4縐嶆樉紺轟俊鎭殑鏂規(guī)硶錛屽垎鍒槸涓鑸俊鎭痗onsole.info()銆侀櫎閿欎俊鎭痗onsole.debug()銆佽鍛婃彁紺篶onsole.warn()銆侀敊璇彁紺篶onsole.error()銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">姣斿錛屽湪緗戦〉鑴氭湰涓彃鍏ヤ笅闈㈠洓琛岋細</p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.info("榪欐槸info");</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.debug("榪欐槸debug");</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.warn("榪欐槸warn");</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.error("榪欐槸error");</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鍔犺澆鏃訛紝鎺у埗鍙頒細鏄劇ず濡備笅鍐呭銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032602.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鍙互鐪嬪埌錛屼笉鍚屾ц川鐨勪俊鎭墠闈㈡湁涓嶅悓鐨勫浘鏍囷紝騫朵笖姣忔潯淇℃伅鍚庨潰閮芥湁瓚呯駭閾炬帴錛岀偣鍑誨悗璺寵漿鍒扮綉欏墊簮鐮佺殑鐩稿簲琛屻?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>浜屻佸崰浣嶇</strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">console瀵硅薄鐨勪笂闈?縐嶆柟娉曪紝閮藉彲浠ヤ嬌鐢╬rintf椋庢牸鐨勫崰浣嶇銆備笉榪囷紝鍗犱綅絎︾殑縐嶇被姣旇緝?yōu)畱锛屽彧鏀寔瀛椊W︼紙%s錛夈佹暣鏁幫紙%d鎴?i錛夈佹誕鐐規(guī)暟錛?f錛夊拰瀵硅薄錛?o錛夊洓縐嶃?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">姣斿錛?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.log("%d騫?d鏈?d鏃?,2011,3,26);</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.log("鍦嗗懆鐜囨槸%f",3.1415926);</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032603.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">%o鍗犱綅絎︼紝鍙互鐢ㄦ潵鏌ョ湅涓涓璞″唴閮ㄦ儏鍐點傛瘮濡傦紝鏈夎繖鏍蜂竴涓璞★細</p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆var dog = {} ;</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆dog.name = "澶ф瘺" ;</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆dog.color = "榛勮壊";</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鐒跺悗錛屽瀹冧嬌鐢╫%鍗犱綅絎︺?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.log("%o",dog);</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032604.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>涓夈佸垎緇勬樉紺?/strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">濡傛灉淇℃伅澶錛屽彲浠ュ垎緇勬樉紺猴紝鐢ㄥ埌鐨勬柟娉曟槸console.group()鍜宑onsole.groupEnd()銆?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.group("絎竴緇勪俊鎭?);</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆console.log("絎竴緇勭涓鏉?);</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆console.log("絎竴緇勭浜屾潯");</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.groupEnd();</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.group("絎簩緇勪俊鎭?);</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆console.log("絎簩緇勭涓鏉?);</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆console.log("絎簩緇勭浜屾潯");</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.groupEnd();</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032605.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鐐瑰嚮緇勬爣棰橈紝璇ョ粍淇℃伅浼氭姌鍙犳垨灞曞紑銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032606.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>鍥涖乧onsole.dir()</strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">console.dir()鍙互鏄劇ず涓涓璞℃墍鏈夌殑灞炴у拰鏂規(guī)硶銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">姣斿錛岀幇鍦ㄤ負絎簩鑺傜殑dog瀵硅薄錛屾坊鍔犱竴涓猙ark()鏂規(guī)硶銆?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆dog.bark = function(){alert("姹豹姹?);};</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鐒跺悗錛屾樉紺鴻瀵硅薄鐨勫唴瀹癸紝</p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.dir(dog);</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032607.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>浜斻乧onsole.dirxml()</strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">console.dirxml()鐢ㄦ潵鏄劇ず緗戦〉鐨勬煇涓妭鐐癸紙node錛夋墍鍖呭惈鐨刪tml/xml浠g爜銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">姣斿錛屽厛鑾峰彇涓涓〃鏍艱妭鐐癸紝</p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆var table = document.getElementById("table1");</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鐒跺悗錛屾樉紺鴻鑺傜偣鍖呭惈鐨勪唬鐮併?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.dirxml(table);</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032608.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>鍏乧onsole.assert()</strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">console.assert()鐢ㄦ潵鍒ゆ柇涓涓〃杈懼紡鎴栧彉閲忔槸鍚︿負鐪熴傚鏋滅粨鏋滀負鍚︼紝鍒欏湪鎺у埗鍙拌緭鍑轟竴鏉$浉搴斾俊鎭紝騫朵笖鎶涘嚭涓涓紓甯搞?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">姣斿錛屼笅闈袱涓垽鏂殑緇撴灉閮戒負鍚︺?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆var result = 0;</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.assert( result );</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆var year = 2000;</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.assert(year == 2011 );</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032609.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>涓冦乧onsole.trace()</strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">console.trace()鐢ㄦ潵榪借釜鍑芥暟鐨勮皟鐢ㄨ建榪廣?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">姣斿錛屾湁涓涓姞娉曞櫒鍑芥暟銆?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆function add(a,b){</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆return a+b;</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆}</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鎴戞兂鐭ラ亾榪欎釜鍑芥暟鏄浣曡璋冪敤鐨勶紝鍦ㄥ叾涓姞鍏onsole.trace()鏂規(guī)硶灝卞彲浠ヤ簡銆?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆function add(a,b){</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆console.trace();</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆return a+b;</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆}</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鍋囧畾榪欎釜鍑芥暟鐨勮皟鐢ㄤ唬鐮佸涓嬶細</p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆var x = add3(1,1);</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆function add3(a,b){return add2(a,b);}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆function add2(a,b){return add1(a,b);}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆function add1(a,b){return add(a,b);}</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">榪愯鍚庯紝浼氭樉紺篴dd()鐨勮皟鐢ㄨ建榪癸紝浠庝笂鍒頒笅渚濇涓篴dd()銆乤dd1()銆乤dd2()銆乤dd3()銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032610.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>鍏佽鏃跺姛鑳?/strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">console.time()鍜宑onsole.timeEnd()錛岀敤鏉ユ樉紺轟唬鐮佺殑榪愯鏃墮棿銆?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.time("璁℃椂鍣ㄤ竴");</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆for(var i=0;i<1000;i++){</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆for(var j=0;j<1000;j++){}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.timeEnd("璁℃椂鍣ㄤ竴");</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032611.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>涔?jié)銆佹ц兘鍒嗘瀽</strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鎬ц兘鍒嗘瀽錛圥rofiler錛夊氨鏄垎鏋愮▼搴忓悇涓儴鍒嗙殑榪愯鏃墮棿錛屾壘鍑虹摱棰堟墍鍦紝浣跨敤鐨勬柟娉曟槸console.profile()銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鍋囧畾鏈変竴涓嚱鏁癋oo()錛岄噷闈㈣皟鐢ㄤ簡鍙﹀涓や釜鍑芥暟funcA()鍜宖uncB()錛屽叾涓璮uncA()璋冪敤10嬈★紝funcB()璋冪敤1嬈°?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆function Foo(){</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆for(var i=0;i<10;i++){funcA(1000);}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆funcB(10000);</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆function funcA(count){</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆for(var i=0;i<count;i++){}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆function funcB(count){</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆銆銆for(var i=0;i<count;i++){}</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆}</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鐒跺悗錛屽氨鍙互鍒嗘瀽Foo()鐨勮繍琛屾ц兘浜嗐?/p><blockquote style="background-color: #ffffff; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.profile('鎬ц兘鍒嗘瀽鍣ㄤ竴');</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆Foo();</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">銆銆console.profileEnd();</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鎺у埗鍙頒細鏄劇ず涓寮犳ц兘鍒嗘瀽琛紝濡備笅鍥俱?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032612.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鏍囬鏍忔彁紺猴紝涓鍏辮繍琛屼簡12涓嚱鏁幫紝鍏辮楁椂2.656姣銆傚叾涓璮uncA()榪愯10嬈★紝鑰楁椂1.391姣錛屾渶鐭繍琛屾椂闂?.123姣錛屾渶闀?.284姣錛屽鉤鍧?.139姣錛沠uncB()榪愯1嬈★紝鑰楁椂1.229ms姣銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">闄や簡浣跨敤console.profile()鏂規(guī)硶錛宖irebug榪樻彁渚涗簡涓涓?姒傚喌"錛圥rofiler錛夋寜閽傜涓嬈$偣鍑昏鎸夐挳錛?鎬ц兘鍒嗘瀽" 寮濮嬶紝浣犲彲浠ュ緗戦〉榪涜鏌愮鎿嶄綔錛堟瘮濡俛jax鎿嶄綔錛夛紝鐒跺悗絎簩嬈$偣鍑昏鎸夐挳錛?鎬ц兘鍒嗘瀽"緇撴潫錛岃鎿嶄綔寮曞彂鐨勬墍鏈夎繍綆楀氨浼氳繘琛屾ц兘鍒嗘瀽銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032613.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>鍗併佸睘鎬ц彍鍗?/strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">鎺у埗鍙伴潰鏉跨殑鍚嶇О鍚庨潰錛屾湁涓涓掍笁瑙掞紝鐐瑰嚮鍚庝細鏄劇ず灞炴ц彍鍗曘?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032614.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">榛樿鎯呭喌涓嬶紝鎺у埗鍙板彧鏄劇ずJavascript閿欒銆傚鏋滈変腑Javascript璀﹀憡銆丆SS閿欒銆乆ML閿欒閮介佷笂錛屽垯鐩稿叧鐨勬彁紺轟俊鎭兘浼氭樉紺恒?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">榪欓噷姣旇緝鏈夌敤鐨勬槸"鏄劇ずXMLHttpRequests"錛屼篃灝辨槸鏄劇ずajax璇鋒眰銆傞変腑浠ュ悗錛岀綉欏電殑鎵鏈塧jax璇鋒眰錛岄兘浼氬湪鎺у埗鍙伴潰鏉挎樉紺哄嚭鏉ャ?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">姣斿錛岀偣鍑諱竴涓?a target="_blank" style="color: #1a356e; text-decoration: initial;">YUI紺轟緥</a>錛屾帶鍒跺彴灝變細鍛婅瘔鎴戜滑錛屽畠鐢╝jax鏂瑰紡鍙戝嚭浜嗕竴涓狦ET璇鋒眰錛宧ttp璇鋒眰鍜屽搷搴旂殑澶翠俊鎭拰鍐呭涓諱綋錛屼篃閮藉彲浠ョ湅鍒般?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><img src="http://image.beekka.com/blog/201103/bg2011032615.png" alt="" style="border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;"><strong>[鍙傝冩枃鐚甝</strong></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">* <a target="_blank" style="color: #1a356e; text-decoration: initial;">Firebug Tutorial - Logging, Profiling and CommandLine (Part I)</a></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">* <a target="_blank" style="color: #1a356e; text-decoration: initial;">Firebug Tutorial - Logging, Profiling and CommandLine (Part II)</a></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; color: #333333; font-family: verdana, arial, 瀹嬩綋; font-size: 13px; line-height: 25px; background-color: #ffffff;">錛堝畬錛?/p><img src ="http://www.tkk7.com/zhaochengming/aggbug/395606.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/zhaochengming/" target="_blank">helloworld2008</a> 2013-02-22 19:40 <a href="http://www.tkk7.com/zhaochengming/archive/2013/02/22/395606.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦‥xtjs4搴旂敤涓嬌鐢‥xt.Loaderhttp://www.tkk7.com/zhaochengming/archive/2011/07/28/355233.htmlhelloworld2008helloworld2008Thu, 28 Jul 2011 07:46:00 GMThttp://www.tkk7.com/zhaochengming/archive/2011/07/28/355233.htmlhttp://www.tkk7.com/zhaochengming/comments/355233.htmlhttp://www.tkk7.com/zhaochengming/archive/2011/07/28/355233.html#Feedback1http://www.tkk7.com/zhaochengming/comments/commentRss/355233.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/355233.html

鍦‥XTJS瀹樼綉鐪嬪埌涓鐗囨枃绔狅紝璁茬殑鏄疎xtjs.Loader鐨勪嬌鐢ㄦ柟娉曪紝鏂囩珷闈炲父璇︾粏鐨勪粙緇嶄簡 Loader鐨勬満鍒跺強鐢ㄦ硶錛屾劅瑙夐潪甯鎬笉閿欙紝浣嗘棤濂堣嫳鏂囧疄鍦ㄥお鐑傦紝灝辨病杞繃鏉ャ傛槰澶╂伆濂藉湪CSDN鐪嬪埌浜嗚繖綃囨枃绔犵殑璇戞枃錛岃岃瘧鏂囩殑璐ㄩ噺闈炲父楂橈紝瀵硅瘧鑰呯殑緲昏瘧 姘村鉤鎬庝竴涓盡鎱曚簡寰椼傚簾璇濅笉澶氳錛屾鏂囧紑濮嬨?/p>

鍦ㄥ紑濮嬩箣鍓嶏紝灝嗚嫳鏂囧師鏂囬摼鎺ユ斁涓婃潵錛岃嫳鏂囨按騫抽珮鐨勫彲浠ョ湅鐪嬪師鏂囧摝銆?/p>

閾炬帴鍦板潃錛?a target="_blank" >www.sencha.com/blog/using-ext-loader-for-your-application/

ExtJS 4.0鏄竴涓嬌鐢ㄦ柊鐨勪緷璧栫郴緇熺殑綾誨姞杞界郴緇熴傝繖涓や釜寮哄ぇ鐨勬柊鍔熻兘鍏佽浣犲垱寤哄ぇ閲忓厑璁告祻瑙堝櫒鎸夐渶涓嬭澆鑴氭湰浠g爜鐨勫簲鐢ㄣ?/p>

浠婂ぉ錛屾垜浠皢閫氳繃寤虹珛涓涓皬鐨勪嬌鐢ㄦ柊鐨勭被鍔犺澆緋葷粺鐨勫簲鐢ㄧ▼搴忔潵鐔熸?zhèn)変竴涓嬩緷璧栫鐞嗙郴緇熴傚悓鏃訛紝鎴戜滑灝嗚璁篍xt鍔犺澆緋葷粺鐨勫悇縐嶉厤緗」銆?/p>

鍦ㄥ紑濮嬩箣鍓嶏紝鎴戜滑鍏堟潵鐪嬬湅灝嗚瀹炵幇鐨勭粨鏋溿傝繖鏍峰仛錛屽彲浣挎垜浠‘瀹氶渶瑕佹墿灞曢偅浜涚被銆?/p>

001

搴旂敤浼氬寘鎷簰鐩哥粦瀹氱殑GridPanel鍜孎ormPanel錛屽悕縐板垎鍒負UserGridPanel鍜孶serFormPanel銆?UserGridPanel鐨勬搷浣滈渶瑕佸垱寤轟竴涓ā鍨嬪拰Store銆俇serGridPanel鍜孶serFormPanel灝嗚娓叉煋鍒頒竴涓悕縐頒負 UserEditorWindow鐨勭獥鍙o紝瀹冩墿寮犺嚜ExtJS鐨刉indow綾匯傛墍鏈夎繖浜涚被閮戒細鍦ㄥ懡鍚嶇┖闂碝yApp涓嬨?/p>

鍦ㄥ紑濮嬬紪鐮佸墠錛岄鍏堣紜畾鐩綍緇撴瀯錛屼互涓嬫槸浣跨敤鍛藉悕絀洪棿緇勭粐鐨勬枃浠跺す錛?/p>

002

浠庝笂鍥懼彲浠ョ湅鍒幫紝MyApp鐩綍宸茬粡鎸夌収鍛藉悕絀洪棿榪涙媶鍒嗘垚鍑犱釜鐩綍銆傚湪瀹屾垚寮鍙戠殑鏃跺欙紝鎴戜滑鐨勫簲鐢ㄥ皢浼氭湁涓涓涓嬪浘鎵紺虹殑鍐呴儴渚濊禆榪愯妯″瀷銆?/p>

錛?span style="font-family: 瀹嬩綋; color: #ff0000">灝界搴旂敤鐨勭洰褰曟瀯鎴愬緢璞xtJS 4 MVC鏋舵瀯錛屼簨瀹炰笂紺轟緥騫舵病鏈変嬌鐢ㄥ畠 錛?/p>

003

鐜板湪寮濮嬬紪鍐檌ndex.html鏂囦歡錛岃繖閲岄渶瑕佸寘鍚簲鐢ㄩ渶瑕佺殑鍚姩鏂囦歡鍜屽簲鐢ㄧ殑鏍規(guī)枃浠?app.js)銆?/p>

 
  1. <!DOCTYPE HTML PUBLIC  "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4.     <title>Ext 4 Loader</title>
  5.     <link rel="stylesheet" type="text/css"  href="js/ext-4.0.1/resources/css/ext-all.css" />
  6.     <script type="text/javascript" src="js/ext-4.0.1/ext-debug.js"></script>
  7.     <script type="text/javascript" src="js/MyApp/app.js"></script>
  8. </head>
  9. <body>
  10. </body>
  11. </html>

index.html鏂囦歡涓渶瑕佷嬌鐢╨ink鏍囪鍖呭惈ExtJS 4鐨勬牱寮忔枃浠躲傚寘鍚玡xt-debug.js鏂囦歡鐨刯avascript鏍囪鍙兘瑕佷慨鏀瑰嬈★紝ext-all-debug.js鏂囦歡鏄紑鍙戣皟璇曠敤鐨勶紝鑰宔xt-all.js鍒欐槸鍦ㄥ彂甯冧駭鍝佹椂浣跨敤鐨勩?/p>

榪欓噷鏈夊嚑涓夋嫨錛屾瘡涓夋嫨閮芥湁浼樼己鐐廣?/p>

浠ヤ笅鏄繖浜涙枃浠剁殑璇存槑錛?/p>

ext-all-debug-w-comments.js錛氬甫娉ㄩ噴鐨勭殑瀹屾暣璋冭瘯鐗堟湰銆傛枃浠舵瘮杈冨ぇ錛屽姞杞芥椂闂存瘮杈冮暱銆?/p>

ext-all-debug.js : 涓嶅甫娉ㄩ噴鐨勫畬鏁磋皟璇曠増鏈傛枃浠朵篃姣旇緝澶э紝浣嗗緢閫傚悎璋冭瘯銆?/p>

ext-all.js 錛涘帇緙╁悗鐨勫畬鏁寸増鏈紝鏂囦歡姣旇緝?yōu)畯銆備嬌鐢ㄨ鐗堟湰璋冭瘯寰堝洶闅撅紝鍥犳涓鑸湪鍙戝竷浜у搧鏃舵墠浣跨敤銆?/p>

ext-debug.js 錛?璇ユ枃浠跺彧鍖呭惈ExtJS鍩虹鏋舵瀯鍜岀┖鐨勭粨鏋勩備嬌鐢ㄨ鏂囦歡錛屽彲浠ュ疄鐜癊xtJS綾繪枃浠剁殑榪滅▼鍔犺澆錛岃屼笖鎻愪緵浜嗗緢濂界殑璋冭瘯浣撻獙錛屼笉榪囦唬浠鋒槸鐩稿綋鐨勬參銆?/p>

ext.js : ext-debug.js鐨勫帇緙╃増鏈?/p>

鎴戜滑鐨刬ndex.html灝嗕嬌鐢╡xt-debug.js鏂囦歡錛岃繖鏄疄鐜板姩鎬佸姞杞芥墍闇鐨勬渶浣庤姹傘傛渶鍚庯紝鎴戜滑灝嗗睍紺哄浣曚嬌鐢╡xt-all鐗堟湰鑾峰彇鏈濂界殑緇撴灉銆?/p>

鐢變簬UserGridPanel 綾昏姹傛ā鍨嬪拰Store錛屽洜鑰岋紝瑕佸厛瀹氫箟緙栧啓榪欎簺鏀寔綾匯傜幇鍦ㄥ紑濮嬬紪鍐欐ā鍨嬪拰Store錛?/p>

 
  1. Ext.define('MyApp.models.UserModel', {
  2.     extend   : 'Ext.data.Model',
  3.     fields   : [
  4.         'firstName',
  5.         'lastName',
  6.         'dob',
  7.         'userName'
  8.     ]
  9. });

浠ヤ笂浠g爜鎵╁睍鑷狤xt.data.Model錛屽皢鍒涘緩UserModel 綾匯傚洜涓烘墿灞曡嚜Ext.data.Model綾伙紝ExtJS浼氳嚜鍔ㄥ姞杞藉畠錛屽茍鍦ㄥ畠鍔犺澆鍚庡垱寤篣serModel綾匯?/p>

涓嬩竴姝ワ紝瑕佸垱寤烘墿灞曡嚜Ext.data.Store鐨刄serStore 綾伙細

 
  1. Ext.define('MyApp.stores.UserStore', {
  2.     extend    : 'Ext.data.Store',
  3.     singleton : true,
  4.     requires  : ['MyApp.models.UserModel'],
  5.     model     : 'MyApp.models.UserModel',
  6.     constructor : function() {
  7.         this.callParent(arguments);
  8.         this.loadData([
  9.             {
  10.                 firstName : 'Louis',
  11.                 lastName  : 'Dobbs',
  12.                 dob       : '12/21/34',
  13.                 userName  : 'ldobbs'
  14.             },
  15.             {
  16.                 firstName : 'Sam',
  17.                 lastName  : 'Hart',
  18.                 dob       : '03/23/54',
  19.                 userName  : 'shart'
  20.             },
  21.             {
  22.                 firstName : 'Nancy',
  23.                 lastName  : 'Garcia',
  24.                 dob       : '01/18/24',
  25.                 userName  : 'ngarcia'
  26.             }
  27.         ]);
  28.     }
  29. });

褰撳垱寤哄崟浠舵ā寮忕殑UserStore 鏃訛紝闇瑕佸湪UserStore鍘熷瀷娣誨姞涓涓猺equires鍏抽敭瀛楋紝瀹冧細鍦ㄧ被瀹炰緥鍖栧墠錛屼負ExtJS鎻愪緵涓涓被鐨勮姹傚垪琛ㄣ傚湪榪欎釜紺轟緥錛屽垪琛ㄤ腑鍙湁UserModel 涓涓姹傜被銆?/p>

錛堝疄闄呬笂錛?鍦⊿tore鐨勫師鍨嬩腑瀹氫箟浜唌odel涓篣serModel 綾伙紝ExtJS灝變細鑷姩鍔犺澆瀹冦傚湪requires鍏抽敭瀛椾腑鍒楀嚭鐨勭洰鐨勶紝鏄笇鏈涗綘鐨勪唬鐮佽兘鑷枃妗e寲錛坰elf-documenting錛夛紝浠庤屾彁閱掍綘錛孶serModel 綾繪槸蹇呴』鐨?錛?/p>

濂戒簡錛孶serGridPanel瑙嗗浘闇瑕佺殑鍩虹被宸茬粡鍒涘緩浜嗭紝鐜板湪鍙互鍒涘緩UserGridPanel綾諱簡錛?/p>

 
  1. Ext.define('MyApp.views.UsersGridPanel', {
  2.     extend   : 'Ext.grid.Panel',
  3.     alias    : 'widget.UsersGridPanel',
  4.     requires : ['MyApp.stores.UserStore'],
  5.     initComponent : function() {
  6.         this.store   = MyApp.stores.UserStore;
  7.         this.columns = this.buildColumns();
  8.         this.callParent();
  9.     },
  10.     buildColumns : function() {
  11.         return [
  12.             {
  13.                 header    : 'First Name',
  14.                 dataIndex : 'firstName',
  15.                 width     : 70
  16.             },
  17.             {
  18.                 header    : 'Last Name',
  19.                 dataIndex : 'lastName',
  20.                 width     : 70
  21.             },
  22.             {
  23.                 header    : 'DOB',
  24.                 dataIndex : 'dob',
  25.                 width     : 70
  26.             },
  27.             {
  28.                 header    : 'Login',
  29.                 dataIndex : 'userName',
  30.                 width     : 70
  31.             }
  32.         ];
  33.     }
  34. });

鍦ㄤ笂闈唬鐮佷腑錛岃娉ㄦ剰requires 鍏抽敭瀛楋紝鐪嬪畠鏄庝箞澧炲姞UserStore 涓鴻姹傜被鐨勩傚垰鎵嶏紝鎴戜滑涓篏ridPanel鎵╁睍鍜孲tore鎵╁睍閰嶇疆浜嗕竴涓洿鎺ョ殑渚濊禆鍏崇郴銆?/p>

涓嬩竴姝ワ紝鎴戜滑瑕佸垱寤篎ormPanel鎵╁睍錛?/p>

 
  1. Ext.define('MyApp.views.UserFormPanel', {
  2.     extend      : 'Ext.form.Panel',
  3.     alias       : 'widget.UserFormPanel',
  4.     bodyStyle   : 'padding: 10px; background-color: #DCE5F0;' 
  5.             + ' border-left: none;',
  6.     defaultType : 'textfield',
  7.     defaults    : {
  8.         anchor     : '-10',
  9.         labelWidth : 70
  10.     },
  11.     initComponent : function() {
  12.         this.items = this.buildItems();
  13.         this.callParent();
  14.     },
  15.     buildItems : function() {
  16.         return [
  17.             {
  18.                 fieldLabel : 'First Name',
  19.                 name       : 'firstName'
  20.             },
  21.             {
  22.                 fieldLabel : 'Last Name',
  23.                 name       : 'lastName'
  24.             },
  25.             {
  26.                 fieldLabel : 'DOB',
  27.                 name       : 'dob'
  28.             },
  29.             {
  30.                 fieldLabel : 'User Name',
  31.                 name       : 'userName'
  32.             }
  33.         ];
  34.     }
  35. });

鍥犱負UserForm 涓嶉渶瑕佷粠鏈嶅姟鍣ㄧ璇鋒眰浠諱綍綾伙紝鍥犺屼笉闇瑕佹坊鍔爎equires瀹氫箟銆?/p>

搴旂敤蹇畬鎴愪簡錛岀幇鍦ㄩ渶瑕佸垱寤篣serEditorWindow綾誨拰榪愯搴旂敤鐨刟pp.js銆備互涓嬫槸UserEditorWindow綾葷殑浠g爜銆傚洜涓鴻灝咷rid鍜岃〃鍗曠粦瀹氬湪涓璧鳳紝鍥犺岀被浠g爜鏈夌偣闀匡紝璇瘋璋咃細

 
  1. Ext.define('MyApp.views.UserEditorWindow', {
  2.     extend   : 'Ext.Window',
  3.     requires : ['MyApp.views.UsersGridPanel','MyApp.views.UserFormPanel'],
  4.     height : 200,
  5.     width  : 550,
  6.     border : false,
  7.     layout : {
  8.         type  : 'hbox',
  9.         align : 'stretch'
  10.     },
  11.     initComponent : function() {
  12.         this.items   = this.buildItems();
  13.         this.buttons = this.buildButtons();
  14.         this.callParent();
  15.         this.on('afterrender', this.onAfterRenderLoadForm, this);
  16.     },
  17.     buildItems : function() {
  18.         return [
  19.             {
  20.                 xtype     : 'UsersGridPanel',
  21.                 width     : 280,
  22.                 itemId    : 'userGrid',
  23.                 listeners : {
  24.                     scope     : this,
  25.                     itemclick : this.onGridItemClick
  26.                 }
  27.             },
  28.             {
  29.                 xtype  : 'UserFormPanel',
  30.                 itemId : 'userForm',
  31.                 flex   : 1
  32.             }
  33.         ];
  34.     },
  35.     buildButtons : function() {
  36.         return [
  37.             {
  38.                 text    : 'Save',
  39.                 scope   : this,
  40.                 handler : this.onSaveBtn
  41.             },
  42.             {
  43.                 text    : 'New',
  44.                 scope   : this,
  45.                 handler : this.onNewBtn
  46.             }
  47.         ];
  48.     },
  49.     onGridItemClick : function(view, record) {
  50.         var formPanel = this.getComponent('userForm');
  51.         formPanel.loadRecord(record)
  52.     },
  53.     onSaveBtn : function() {
  54.         var gridPanel  = this.getComponent('userGrid'),
  55.             gridStore  = gridPanel.getStore(),
  56.             formPanel  = this.getComponent('userForm'),
  57.             basicForm  = formPanel.getForm(),
  58.             currentRec = basicForm.getRecord(),
  59.             formData   = basicForm.getValues(),
  60.             storeIndex = gridStore.indexOf(currentRec),
  61.             key;
  62.         //loop through the record and set values
  63.         currentRec.beginEdit();
  64.         for (key in formData) {
  65.             currentRec.set(key, formData[key]);
  66.         }
  67.         currentRec.endEdit();
  68.         currentRec.commit();
  69.         // Add and select
  70.         if (storeIndex == -1) {
  71.             gridStore.add(currentRec);
  72.             gridPanel.getSelectionModel().select(currentRec)
  73.         }
  74.     },
  75.     onNewBtn : function() {
  76.         var gridPanel = this.getComponent('userGrid'),
  77.             formPanel = this.getComponent('userForm'),
  78.             newModel  = Ext.ModelManager.create({}, 
  79.                               'MyApp.models.UserModel');
  80.         gridPanel.getSelectionModel().clearSelections();
  81.         formPanel.getForm().loadRecord(newModel)
  82.     },
  83.     onAfterRenderLoadForm : function() {
  84.         this.onNewBtn();
  85.     }
  86. });

UserEditorWindow 鐨勪唬鐮佸寘鍚簡璁稿涓滆タ鐢ㄦ潵綆$悊UserGridPanel鍜孶serFormPanel綾葷殑鏁翠釜緇戝畾鐨勫0鏄庡懆鏈熴備負浜嗘寚紺篍xtJS鍦ㄥ垱寤鴻綾誨墠鍔犺澆榪欎袱涓被錛屽繀欏誨湪requires鍒楄〃閲屽垪鍑哄畠浠?/p>

鐜板湪瀹屾垚鏈鍚庝竴涓枃浠禷pp.js銆備負浜嗘渶澶ч檺搴﹀湴鎻愰珮鎴戜滑鐨勫涔狅紝灝嗘湁3嬈′慨鏀硅鍋氥傞鍏堜粠鏈綆鍗曢厤緗紑濮嬶紝鐒跺悗閫愭娣誨姞銆?/p>

 
  1. Ext.Loader.setPath('MyApp', 'js/MyApp');
  2. Ext.onReady(function() {
  3.     Ext.create('MyApp.views.UserEditorWindow').show();
  4. });

棣栧厛錛宎pp.js浼氬湪ExtJS娣誨姞MyApp鍛藉悕絀洪棿鐨勮礬寰勶紝榪欏彲閫氳繃璋冪敤Ext.loader.setPath鏂規(guī)硶瀹炵幇錛屾柟娉曠殑絎?涓弬鏁版槸鍛藉悕絀洪棿錛岀劧鍚庢槸鍔犺澆鏂囦歡涓庨〉闈㈢殑鐩稿璺緞銆?/p>

涓嬩竴姝ワ紝璋冪敤Ext.OnReady鏂規(guī)硶錛屼紶閫掍竴涓寘鍚獷xt.create鐨勫尶鍚嶅嚱鏁般侲xt.create浼氬湪ExtJS 4.0鍒濆鍖栦箣鍚庢墽琛岋紝浠ュ瓧絎︿覆褰㈠紡浼犻掔殑UserEditorWindow 綾諱細琚疄渚嬪寲銆傚洜涓轟笉闇瑕佹寚鍚戝疄渚嬪拰甯屾湜绔嬪嵆鏄劇ず瀹冿紝鍥犺屽湪鍚庨潰涓叉帴浜唖how鏂規(guī)硶鐨勮皟鐢ㄣ?/p>

濡傛灉浣犳墦寮榪欎釜欏甸潰錛?a >http://moduscreate.com/senchaarticles/01/pass1.html 錛夛紝浣犱細鐪嬪埌UI娓叉煋錛屼絾寰堟參錛屽茍涓擡xtJS浼氬湪Firebug涓樉紺轟互涓嬭鍛婁俊鎭細

004

ExtJS鎻愮ず鎴戜滑娌℃湁浣跨敤鍔犺澆緋葷粺鏈浼樺寲鐨勬柟寮忋傝繖鏄浜屾瑕佽璁虹殑闂銆傜劧鍚庯紝榪欐槸涓涓ソ鐨勫涔犳満浼氾紝瑕佸ソ濂界悊鐢便?/p>

     鎴戜滑闇瑕侀厤緗瓼irebug鍦ㄦ帶鍒跺彴涓樉紺篨HR璇鋒眰錛屼互渚垮湪鎺у埗鍙頒腑鐪嬪埌鎵鏈夎姹傦紝鑰屼笉闇瑕佸垏鎹㈠埌緗戠粶闈㈡澘銆傝繖鏍鳳紝鎴戜滑涓嶅崟鍙互瑙傚療鍒扮被渚濊禆緋葷粺鐨勫伐浣滄儏鍐碉紝榪樺彲浠ヤ粠鎵鏈塃xtJS綾誨姞杞界殑鏂囦歡涓氳繃榪囨護鏂瑰紡鎵懼埌鎴戜滑瑕佹眰榪欐牱鐨勬枃浠躲?/p>

     鍦‵irebug鎺у埗鍙拌繃婊よ緭鍏ユ涓緭鍏?#8220;User”錛屼綘浼氱湅鍒頒笅鍥炬墍紺虹殑緇撴灉銆?/p>

005浠庡浘涓彲浠ョ湅鍒幫紝UserEditorWindow綾葷涓涓鍔犺澆錛屾帴鐫璇鋒眰UserGridPanel銆俇serGridPanel 瑕佹眰UserStore鍜孶serModel綾匯傛渶鍚庡姞杞経serFormPanel 綾匯?/p>

鎴戝垰鎵嶆彁鍒幫紝ExtJS鎻愮ず浜嗘垜浠病鏈変嬌鐢ㄥ姞杞界郴緇熸渶浼樺寲鐨勬柟寮忋傝繖鏄洜涓轟緷璧栨槸鍦‥xt.OnReady瑙﹀彂鍔犺澆涔嬪悗閫氳繃鍚屾XHR璇鋒眰紜畾鐨勶紝鑰岃繖涓嶆槸鏈夋晥鐨勬柟寮忎笖闅句簬璋冭瘯銆?/p>

鏈潵淇榪欎釜闂錛屽彲浠ヤ慨鏀筧pp.js鎸囩ずExtJS鍏堝姞杞芥垜浠畾涔夌殑綾伙紝榪欐牱鍗沖彲鎻愪緵鎬ц兘鍙堜究浜庤皟璇曪細

 
  1. Ext.Loader.setPath('MyApp', 'js/MyApp');
  2. Ext.require('MyApp.views.UserEditorWindow');
  3. Ext.onReady(function() {
  4.     Ext.create('MyApp.views.UserEditorWindow').show();
  5. });

涓轟簡蹇熷姞杞芥垜浠畾涔夌殑綾誨拰閬垮厤璋冭瘯淇℃伅錛屽彲綆鍗曠殑鍦‥xt.onReady鍓嶈皟鐢‥xt.require錛屽彧鏄疎xtJS璇鋒眰 UserEditorWindow綾匯傝繖灝嗕細璁〦xtJS鍦ㄦ枃妗EAD鏍囪鍐呮敞鍏ヤ竴涓猻cript鏍囪錛岃繍琛岃祫婧愬湪Ext.OnReady鍓嶅姞杞姐?/p>

鏌ョ湅http://moduscreate.com/senchaarticles/01/pass2.html 鍙湅鍒板畠鏄浣曞伐浣滃湴銆傚湪欏甸潰鍔犺澆鍚庯紝浣犱細娉ㄦ剰鍒癊xtJS娌℃湁鍦ㄦ帶鍒跺彴鏄劇ず璀﹀憡淇℃伅浜嗐?/p>

鎴戜滑鎵鍋氱殑鏄ExtJS妗嗘灦鍜屽簲鐢ㄧ被寤惰繜鍔犺澆銆傝櫧鐒惰繖鏍峰仛璋冭瘯寰堝ソ錛屼絾鏄浜庨渶瑕佸揩閫熻皟璇曠殑鎯呭喌錛岄〉闈㈡覆鏌撴椂闂翠細璁╀綘鎰熷埌鐥涜嫤銆備負浠涔堬紵

鍘熷洜寰堢畝鍗曪紝鍥犱負榪欓渶瑕佸姞杞借澶氳祫婧愭枃浠躲傚湪紺轟緥涓紝ExtJS鍙戦佷簡193涓狫avascript璧勬簮璇鋒眰鍒皐eb鏈嶅姟鍣紝榪樻湁閮ㄥ垎鏄湪緙撳瓨涓殑錛?/p>

006

鎴戜滑鍒涘緩浜?涓狫avascript鏂囦歡錛?涓被鏂囦歡鍜宎pp.js錛夛紝榪欐剰鍛崇潃鍔犺澆瑕佹眰鐨凟xtJS鏂囦歡鏈?87涓姹傘傚綋浣犲湪鏈湴鍋氬紑鍙戠殑鏃跺欙紝榪欎釜鏂規(guī)鍙錛屼絾涓嶆槸鏈鐞嗘兂鐨勫拰鏁堟灉鏈濂界殑銆?/p>

瑙e喅榪欎釜闂錛屾垜浠彲浠ヤ嬌鐢ㄦ姌涓柟妗堬紝閫氳繃ext-all-debug鍔犺澆ExtJS妗嗘灦錛屽姩鎬佸姞杞芥垜浠殑綾繪枃浠躲傝瀹炵幇榪欎釜錛岄渶瑕佷慨鏀逛袱涓枃浠躲?/p>

 
  1. <script type="text/javascript"  src="js/ext-4.0.1/ext-all-debug.js"></script>

棣栧厛錛岄渶瑕佷慨鏀笽ndex.html錛屼嬌鐢╡xt-all-debug.js鏇挎崲ext.debug.js銆?/p>

鎺ョ潃錛屼慨鏀筧pp.js錛屽紑鍚疎xt.Loader錛?/p>

 
  1. (function() {
  2.     Ext.Loader.setConfig({
  3.         enabled : true,
  4.         paths   : {
  5.             MyApp : 'js/MyApp'
  6.         } 
  7.     });
  8.  
  9.     Ext.require('MyApp.views.UserEditorWindow');
  10.  
  11.     Ext.onReady(function() {
  12.         Ext.create('MyApp.views.UserEditorWindow').show();
  13.     });
  14. })();

閫氳繃璋冪敤Loader.setConfig鍙紑鍚疎xt.Loader錛岄渶瑕佷紶閫掍竴涓尶鍚嶅璞★紝瀹冪殑eanbled灞炴ц緗負true錛岃屽懡鍚嶇┖闂磋緗負璺緞鏄犲皠銆?/p>

閫氳繃緙栬緫app.js錛屽湪鏈湴寮鍙戠幆澧冧笅錛屽簲鐢ㄥ皢浼氬湪1縐掑唴瀹屾垚鍔犺澆鍜屾覆鏌撱?/p>

007

婧愪唬鐮佷笅杞藉湴鍧錛?a title="http://moduscreate.com/senchaarticles/01/files.zip" >http://moduscreate.com/senchaarticles/01/files.zip

璇戞枃閾炬帴鍦板潃錛?a target="_blank" >blog.csdn.net/tianxiaode/archive/2011/06/28/6571589.aspx



]]>
ExtJs xtype涓瑙?/title><link>http://www.tkk7.com/zhaochengming/archive/2011/07/28/355230.html</link><dc:creator>helloworld2008</dc:creator><author>helloworld2008</author><pubDate>Thu, 28 Jul 2011 07:37:00 GMT</pubDate><guid>http://www.tkk7.com/zhaochengming/archive/2011/07/28/355230.html</guid><wfw:comment>http://www.tkk7.com/zhaochengming/comments/355230.html</wfw:comment><comments>http://www.tkk7.com/zhaochengming/archive/2011/07/28/355230.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/zhaochengming/comments/commentRss/355230.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/zhaochengming/services/trackbacks/355230.html</trackback:ping><description><![CDATA[<div><table align="center" border="1" cellpadding="2" width="750"><tbody><tr><td colspan="3"><strong>鍩烘湰緇勪歡錛?/strong></td> </tr> <tr style="font-weight: bold; color: black; font-style: italic; background-color: #f5f9f0;"> <td>xtype</td> <td>Class</td> <td>鎻忚堪</td> </tr> <tr> <td>button</td> <td>Ext.Button</td> <td>鎸夐挳</td> </tr> <tr> <td>splitbutton</td> <td>Ext.SplitButton</td> <td>甯︿笅鎷夎彍鍗曠殑鎸夐挳</td> </tr> <tr> <td>cycle</td> <td>Ext.CycleButton</td> <td>甯︿笅鎷夐夐」鑿滃崟鐨勬寜閽?/td> </tr> <tr> <td>buttongroup</td> <td>Ext.ButtonGroup</td> <td>緙栫粍鎸夐挳(Since 3.0)</td> </tr> <tr> <td>slider</td> <td>Ext.Slider</td> <td>婊戝姩鏉?/td> </tr> <tr> <td>progress</td> <td>Ext.ProgressBar</td> <td>榪涘害鏉?/td> </tr> <tr> <td>statusbar</td> <td>Ext.StatusBar</td> <td>鐘舵佹潯錛?.2鍔犺繘鏉ワ紝3.0 鍙堝幓浜?/td> </tr> <tr> <td>colorpalette</td> <td>Ext.ColorPalette</td> <td>璋冭壊鏉?/td> </tr> <tr> <td>datepicker</td> <td>Ext.DatePicker</td> <td>鏃ユ湡閫夋嫨闈㈡澘</td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td colspan="3">瀹瑰櫒鍙婃暟鎹被緇勪歡</td> </tr> <tr style="font-weight: bold; color: black; font-style: italic; background-color: #f5f9f0;"> <td style="color: black;">xtype</td> <td>Class</td> <td>鎻忚堪</td> </tr> <tr> <td>window</td> <td>Ext.Window</td> <td>紿楀彛</td> </tr> <tr> <td>viewport</td> <td>Ext.ViewPort</td> <td>瑙嗗彛錛屽嵆嫻忚鍣ㄧ殑瑙嗗彛錛岃兘闅忎箣浼哥緝</td> </tr> <tr> <td>box</td> <td>Ext.BoxComponent</td> <td>鐩掑瓙緇勪歡錛岀浉褰撲簬涓涓?<div></td> </tr> <tr> <td>component</td> <td>Ext.Component</td> <td>緇勪歡</td> </tr> <tr> <td>container</td> <td>Ext.Container</td> <td>瀹瑰櫒</td> </tr> <tr> <td>panel</td> <td>Ext.Panel</td> <td>闈㈡澘</td> </tr> <tr> <td>tabpanel</td> <td>Ext.TabPanel</td> <td>閫夐」闈㈡澘</td> </tr> <tr> <td>treepanel</td> <td>Ext.tree.TreePanel</td> <td>鏍戝瀷闈㈡澘</td> </tr> <tr> <td>flash</td> <td>Ext.FlashComponent</td> <td>鏄劇ず Flash 鐨勭粍浠?Since 3.0)</td> </tr> <tr> <td>grid</td> <td>Ext.grid.GridPanel</td> <td>琛ㄦ牸</td> </tr> <tr> <td>editorgrid</td> <td>Ext.grid.EditorGridPanel</td> <td>鍙紪杈戠殑琛ㄦ牸</td> </tr> <tr> <td>propertygrid</td> <td>Ext.grid.PropertyGrid</td> <td>灞炴ц〃鏍?/td> </tr> <tr> <td>editor</td> <td>Ext.Editor</td> <td>緙栬緫鍣?/td> </tr> <tr> <td>dataview</td> <td>Ext.DataView</td> <td>鏁版嵁鏄劇ず瑙嗗浘</td> </tr> <tr> <td>listview</td> <td>Ext.ListView</td> <td>鍒楄〃瑙嗗浘</td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td colspan="3">宸ュ叿鏍忕粍浠訛細</td> </tr> <tr style="font-weight: bold; color: black; font-style: italic; background-color: #f5f9f0;"> <td>xtype</td> <td>Class</td> <td>鎻忚堪</td> </tr> <tr> <td>paging</td> <td>Ext.PagingToolbar</td> <td>鍒嗛〉宸ュ叿鏉?/td> </tr> <tr> <td>toolbar</td> <td>Ext.Toolbar</td> <td>宸ュ叿鏍?/td> </tr> <tr> <td>tbbutton</td> <td>Ext.Toolbar.Button</td> <td>宸ュ叿鏍忔寜閽?/td> </tr> <tr> <td>tbfill</td> <td>Ext.Toolbar.Fill</td> <td>宸ュ叿鏍忓~鍏呭尯</td> </tr> <tr> <td>tbitem</td> <td>Ext.Toolbar.Item</td> <td>宸ュ叿鏉¢」鐩?/td> </tr> <tr> <td>tbseparator</td> <td>Ext.Toolbar.Separator</td> <td>宸ュ叿鏍忓垎闅旂</td> </tr> <tr> <td>tbspacer</td> <td>Ext.Toolbar.Spacer</td> <td>宸ュ叿鏍忕┖鐧?/td> </tr> <tr> <td>tbsplit</td> <td>Ext.Toolbar.SplitButton</td> <td>宸ュ叿鏍忓垎闅旀寜閽?/td> </tr> <tr> <td>tbtext</td> <td>Ext.Toolbar.TextItem</td> <td>宸ュ叿鏍忔枃鏈」</td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td colspan="3">鑿滃崟緇勪歡錛?/td> </tr> <tr style="font-weight: bold; color: black; font-style: italic; background-color: #f5f9f0;"> <td>xtype</td> <td>Class</td> <td>鎻忚堪</td> </tr> <tr> <td>menu</td> <td>Ext.menu.Menu</td> <td>鑿滃崟</td> </tr> <tr> <td>colormenu</td> <td>Ext.menu.ColorMenu</td> <td>棰滆壊閫夋嫨鑿滃崟</td> </tr> <tr> <td>datemenu</td> <td>Ext.menu.DateMenu</td> <td>鏃ユ湡閫夋嫨鑿滃崟</td> </tr> <tr> <td>menubaseitem</td> <td>BaseItem</td> <td> </td> </tr> <tr> <td>menucheckitem</td> <td>Ext.menu.CheckItem</td> <td>閫夐」鑿滃崟欏?/td> </tr> <tr> <td>menuitem</td> <td>Ext.menu.Item</td> <td> </td> </tr> <tr> <td>menuseparator</td> <td>Ext.menu.Separator</td> <td>鑿滃崟鍒嗛殧綰?/td> </tr> <tr> <td>menutextitem</td> <td>Ext.menu.TextItem</td> <td>鏂囨湰鑿滃崟欏?/td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td colspan="3">琛ㄥ崟鍙婅〃鍗曞煙緇勪歡錛?/td> </tr> <tr style="font-weight: bold; color: black; font-style: italic; background-color: #f5f9f0;"> <td>xtype</td> <td>Class</td> <td>鎻忚堪</td> </tr> <tr> <td>form</td> <td>Ext.FormPanel/Ext.form.FormPanel</td> <td>琛ㄥ崟闈㈡澘</td> </tr> <tr> <td>checkbox</td> <td>Ext.form.Checkbox</td> <td>澶氶夋</td> </tr> <tr> <td>combo</td> <td>Ext.form.ComboBox</td> <td>涓嬫媺妗?/td> </tr> <tr> <td>datefield</td> <td>Ext.form.DateField</td> <td>鏃ユ湡閫夋嫨欏?/td> </tr> <tr> <td>timefield</td> <td>Ext.form.TimeField</td> <td>鏃墮棿褰曞叆欏?/td> </tr> <tr> <td>field</td> <td>Ext.form.Field</td> <td>琛ㄥ崟瀛楁</td> </tr> <tr> <td>fieldset</td> <td>Ext.form.FieldSet</td> <td>琛ㄥ崟瀛楁緇?/td> </tr> <tr> <td>hidden</td> <td>Ext.form.Hidden</td> <td>琛ㄥ崟闅愯棌鍩?/td> </tr> <tr> <td>htmleditor</td> <td>Ext.form.HtmlEditor</td> <td>HTML 緙栬緫鍣?/td> </tr> <tr> <td>label</td> <td>Ext.form.Label</td> <td>鏍囩</td> </tr> <tr> <td>numberfield</td> <td>Ext.form.NumberField</td> <td>鏁板瓧緙栬緫鍣?/td> </tr> <tr> <td>radio</td> <td>Ext.form.Radio</td> <td>鍗曢夋寜閽?/td> </tr> <tr> <td>textarea</td> <td>Ext.form.TextArea</td> <td>澶氳鏂囨湰妗?/td> </tr> <tr> <td>textfield</td> <td>Ext.form.TextField</td> <td>琛ㄥ崟鏂囨湰妗?/td> </tr> <tr> <td>trigger</td> <td>Ext.form.TriggerField</td> <td>瑙﹀彂褰曞叆欏?/td> </tr> <tr> <td>checkboxgroup</td> <td>Ext.form.CheckboxGroup</td> <td>緙栫粍鐨勫閫夋(Since 2.2)</td> </tr> <tr> <td>displayfield</td> <td>Ext.form.DisplayField</td> <td>浠呮樉紺猴紝涓嶆牎楠?涓嶈鎻愪氦鐨勬枃鏈</td> </tr> <tr> <td>radiogroup</td> <td>Ext.form.RadioGroup</td> <td>緙栫粍鐨勫崟閫夋寜閽?Since 2.2)</td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td colspan="3">鍥捐〃緇勪歡錛?/td> </tr> <tr style="font-weight: bold; color: black; font-style: italic; background-color: #f5f9f0;"> <td>xtype</td> <td>Class</td> <td>鎻忚堪</td> </tr> <tr> <td>chart</td> <td>Ext.chart.Chart</td> <td>鍥捐〃緇勪歡</td> </tr> <tr> <td>barchart</td> <td>Ext.chart.BarChart</td> <td>鏌辯姸鍥?/td> </tr> <tr> <td>cartsianchart</td> <td>Ext.chart.CartesianChart</td> <td> </td> </tr> <tr> <td>columnchart</td> <td>Ext.chart.ColumnChart</td> <td> </td> </tr> <tr> <td>linechart</td> <td>Ext.chart.LineChart</td> <td>榪炵嚎鍥?/td> </tr> <tr> <td>piechart</td> <td>Ext.chart.PieChart</td> <td>鎵囧艦鍥?/td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td colspan="3">鏁版嵁闆?Store錛?/td> </tr> <tr style="font-weight: bold; color: black; font-style: italic; background-color: #f5f9f0;"> <td>xtype</td> <td>Class</td> <td>鎻忚堪</td> </tr> <tr> <td>arraystore</td> <td>Ext.data.ArrayStore</td> <td> </td> </tr> <tr> <td>directstore</td> <td>Ext.data.DirectStore</td> <td> </td> </tr> <tr> <td>groupingstore</td> <td>Ext.data.GroupingStore</td> <td> </td> </tr> <tr> <td>jsonstore</td> <td>Ext.data.JsonStore</td> <td> </td> </tr> <tr> <td>simplestore</td> <td>Ext.data.SimpleStore</td> <td> </td> </tr> <tr> <td>store</td> <td>Ext.data.Store</td> <td> </td> </tr> <tr> <td>xmlstore</td> <td>Ext.data.XmlStore</td> <td> </td></tr></tbody></table></div><img src ="http://www.tkk7.com/zhaochengming/aggbug/355230.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/zhaochengming/" target="_blank">helloworld2008</a> 2011-07-28 15:37 <a href="http://www.tkk7.com/zhaochengming/archive/2011/07/28/355230.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>XML澶勭悊鐗規(guī)畩瀛楃http://www.tkk7.com/zhaochengming/archive/2010/12/02/339585.htmlhelloworld2008helloworld2008Thu, 02 Dec 2010 03:14:00 GMThttp://www.tkk7.com/zhaochengming/archive/2010/12/02/339585.htmlhttp://www.tkk7.com/zhaochengming/comments/339585.htmlhttp://www.tkk7.com/zhaochengming/archive/2010/12/02/339585.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/339585.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/339585.html鍦ㄤ嬌鐢▁ml鏂囦歡鏃訛紝鏈夋椂鍊欏唴瀹逛腑浼氬惈鏈変竴浜涚壒孌婂瓧絎︼紝瀵艱嚧鍦ㄨВ鏋恱ml鐨勬椂鍊欏嚭鐜板紓甯搞?/p>

瑙f瀽鏁版嵁

XML 瑙f瀽鍣ㄩ氬父鎯呭喌涓嬩細澶勭悊XML鏂囨。涓殑鎵鏈夋枃鏈?/p>

褰揦ML鍏冪礌琚В鏋愮殑鏃跺欙紝XML鍏冪礌鍐呴儴鐨勬枃鏈篃浼氳瑙f瀽銆?/p>

    濡傛灉鏂囨湰涓惈鏈?#8220;<”錛?#8220;>”絳夌壒孌婄殑瀛楃鏃跺皢浼氬嚭鐜板紓甯搞傦紙褰撳惈鏈?#8220;錛?#8221;鏃訛紝DataSet.ReadXml涔熶細鍑虹幇寮傚父錛夈?/pre>
    涓縐嶈В鍐蟲柟娉曟槸錛氱敤瀹炰綋&鏉ヨ〃紺恒?/pre>

涓嬮潰鏄簲涓湪XML鏂囨。涓瀹氫箟濂界殑瀹炰綋:

&lt; < 灝忎簬鍙?/td>
&gt; > 澶т簬鍙?/td>
&amp; & 鍜?/td>
&apos; ' 鍗曞紩鍙?/td>
&quot; " 鍙屽紩鍙?/td>
鍙︿竴縐嶈В鍐蟲柟娉曟槸浣跨敤CDATA閮ㄤ歡錛?/pre>

涓涓?CDATA 閮ㄤ歡浠?<![CDATA[" 鏍囪寮濮嬶紝浠?]]>"鏍囪緇撴潫

鎵鏈夊湪CDATA閮ㄤ歡涔嬮棿鐨勬枃鏈兘浼氳瑙f瀽鍣ㄥ拷鐣ャ?/p>

CDATA娉ㄦ剰浜嬮」:

CDATA閮ㄤ歡涔嬮棿涓嶈兘鍐嶅寘鍚獵DATA閮ㄤ歡錛堜笉鑳藉祵濂楋級銆傚鏋淐DATA閮ㄤ歡鍖呭惈浜嗗瓧絎?]]>" 鎴栬?<![CDATA[" 錛屽皢寰堟湁鍙兘鍑洪敊銆?/p>

鍚屾牱瑕佹敞鎰忓湪瀛楃涓?]]>"涔嬮棿娌℃湁絀烘牸鎴栬呮崲琛岀銆?/p>



]]>XML澶勭悊鐗規(guī)畩瀛楃http://www.tkk7.com/zhaochengming/archive/2010/12/02/339586.htmlhelloworld2008helloworld2008Thu, 02 Dec 2010 03:14:00 GMThttp://www.tkk7.com/zhaochengming/archive/2010/12/02/339586.htmlhttp://www.tkk7.com/zhaochengming/comments/339586.htmlhttp://www.tkk7.com/zhaochengming/archive/2010/12/02/339586.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/339586.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/339586.html鍦ㄤ嬌鐢▁ml鏂囦歡鏃訛紝鏈夋椂鍊欏唴瀹逛腑浼氬惈鏈変竴浜涚壒孌婂瓧絎︼紝瀵艱嚧鍦ㄨВ鏋恱ml鐨勬椂鍊欏嚭鐜板紓甯搞?/p>

瑙f瀽鏁版嵁

XML 瑙f瀽鍣ㄩ氬父鎯呭喌涓嬩細澶勭悊XML鏂囨。涓殑鎵鏈夋枃鏈?/p>

褰揦ML鍏冪礌琚В鏋愮殑鏃跺欙紝XML鍏冪礌鍐呴儴鐨勬枃鏈篃浼氳瑙f瀽銆?/p>

    濡傛灉鏂囨湰涓惈鏈?#8220;<”錛?#8220;>”絳夌壒孌婄殑瀛楃鏃跺皢浼氬嚭鐜板紓甯搞傦紙褰撳惈鏈?#8220;錛?#8221;鏃訛紝DataSet.ReadXml涔熶細鍑虹幇寮傚父錛夈?/pre>
    涓縐嶈В鍐蟲柟娉曟槸錛氱敤瀹炰綋&鏉ヨ〃紺恒?/pre>

涓嬮潰鏄簲涓湪XML鏂囨。涓瀹氫箟濂界殑瀹炰綋:

&lt; < 灝忎簬鍙?/td>
&gt; > 澶т簬鍙?/td>
&amp; & 鍜?/td>
&apos; ' 鍗曞紩鍙?/td>
&quot; " 鍙屽紩鍙?/td>
鍙︿竴縐嶈В鍐蟲柟娉曟槸浣跨敤CDATA閮ㄤ歡錛?/pre>

涓涓?CDATA 閮ㄤ歡浠?<![CDATA[" 鏍囪寮濮嬶紝浠?]]>"鏍囪緇撴潫

鎵鏈夊湪CDATA閮ㄤ歡涔嬮棿鐨勬枃鏈兘浼氳瑙f瀽鍣ㄥ拷鐣ャ?/p>

CDATA娉ㄦ剰浜嬮」:

CDATA閮ㄤ歡涔嬮棿涓嶈兘鍐嶅寘鍚獵DATA閮ㄤ歡錛堜笉鑳藉祵濂楋級銆傚鏋淐DATA閮ㄤ歡鍖呭惈浜嗗瓧絎?]]>" 鎴栬?<![CDATA[" 錛屽皢寰堟湁鍙兘鍑洪敊銆?/p>

鍚屾牱瑕佹敞鎰忓湪瀛楃涓?]]>"涔嬮棿娌℃湁絀烘牸鎴栬呮崲琛岀銆?/p>



]]>javascript鎶宸у悎闆?錛堣漿鑷猦ttp://ttyp.cnblogs.com/archive/2004/11/15/63900.html錛?/title><link>http://www.tkk7.com/zhaochengming/archive/2010/04/09/317837.html</link><dc:creator>helloworld2008</dc:creator><author>helloworld2008</author><pubDate>Fri, 09 Apr 2010 05:01:00 GMT</pubDate><guid>http://www.tkk7.com/zhaochengming/archive/2010/04/09/317837.html</guid><wfw:comment>http://www.tkk7.com/zhaochengming/comments/317837.html</wfw:comment><comments>http://www.tkk7.com/zhaochengming/archive/2010/04/09/317837.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.tkk7.com/zhaochengming/comments/commentRss/317837.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/zhaochengming/services/trackbacks/317837.html</trackback:ping><description><![CDATA[     鎽樿: 浜嬩歡婧愬璞? event.srcElement.tagName event.srcElement.type 鎹曡幏閲婃斁 event.srcElement.setCapture();  event.srcElement.releaseCapture();  浜嬩歡鎸夐敭 event.keyCode ...  <a href='http://www.tkk7.com/zhaochengming/archive/2010/04/09/317837.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/zhaochengming/aggbug/317837.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/zhaochengming/" target="_blank">helloworld2008</a> 2010-04-09 13:01 <a href="http://www.tkk7.com/zhaochengming/archive/2010/04/09/317837.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓婄櫨涓浣犱簨鍗婂姛鍊嶇殑jquery鎻掍歡(杞?http://www.tkk7.com/zhaochengming/archive/2010/03/25/316517.htmlhelloworld2008helloworld2008Thu, 25 Mar 2010 05:01:00 GMThttp://www.tkk7.com/zhaochengming/archive/2010/03/25/316517.htmlhttp://www.tkk7.com/zhaochengming/comments/316517.htmlhttp://www.tkk7.com/zhaochengming/archive/2010/03/25/316517.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/316517.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/316517.html闃呰鍏ㄦ枃

]]>
15涓弸濂界殑jQuery鎻愮ず妗嗘彃浠? 杞?http://www.tkk7.com/zhaochengming/archive/2010/03/25/316516.htmlhelloworld2008helloworld2008Thu, 25 Mar 2010 04:39:00 GMThttp://www.tkk7.com/zhaochengming/archive/2010/03/25/316516.htmlhttp://www.tkk7.com/zhaochengming/comments/316516.htmlhttp://www.tkk7.com/zhaochengming/archive/2010/03/25/316516.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/316516.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/316516.html 

闇瑕佸湪鐢ㄦ埛鎶婂厜鏍囩Щ鍒版煇涓厓绱犱笂鏃舵樉紺轟竴浜涢澶栦俊鎭椂錛屾彁紺烘鏄竴縐嶄笉閿欑殑鏂瑰紡錛屾彁紺烘浼氬湪榧犳爣鍋滅暀鐨勬椂鍊欐樉紺猴紝榧犳爣縐誨紑鏃舵秷澶便?/p>

閫傚綋鐨勪嬌鐢ㄦ彁紺烘鑳藉ぇ澶ф彁鍗囩綉绔欑殑鍙嬪ソ搴︼紝騫朵笖鍙互鑺傜渷涓浜涗笉蹇呰鐨勭綉欏電┖闂達紝浠婂ぉ鎴戜滑灝嗙湅鍒?5嬈懼埗浣滃弸濂界殑鎻愮ず妗嗙殑jQuery鎻掍歡銆?/p>

1. qTip

qTip鏄竴嬈懼姛鑳介珮綰х殑鎻愮ず妗嗘彃浠訛紝瀹冩彁渚涗簡闈炲父澶氱殑鐗規(guī)э紝鍖呮嫭鍦嗚妗嗐佹彁紺烘場娉$瓑銆?br /> qtip

2. jQuery Tools/Tooltips

榪欎釜鎻愮ず妗嗘彃浠惰兘澶熸樉紺轟換浣曠殑HTML鍏冪礌錛屾瘮濡傞摼鎺ャ佽〃鏍箋佽〃鍗曘佸浘鐗囷紝瀹炵幇榪欎簺鏁堟灉鏄緢杞繪澗鐨勶紝浣犱篃鍙互杞繪澗鍒朵綔鍑鴻嚜宸辯嫭鐗歸鏍肩殑鎻愮ず妗嗐?img class="alignnone size-full wp-image-585" title="jquery-tools-tooltips" alt="jquery-tools-tooltips" src="http://www.webdesignbooth.com/wp-content/uploads/2009/06/jquery-tools-tooltips.png" width="500" height="132" />

3. Simpletip

Simpletip 鍏佽浣犻氳繃Jquery鐨勫厓绱犻夋嫨鍣ㄥ拰浜嬩歡綆$悊鍣ㄨ交鏉懼湪浠諱綍鍏冪礌涓婂埗浣滄彁紺烘錛屾彁紺烘鍙互浣塊潤鎬佺殑銆佸姩鎬佺殑銆佺敋鑷沖彲浠ラ氳繃ajax鍔犺澆錛屽茍涓旈兘鏈夐潪甯稿涓嶆噦鐨勬樉紺烘晥鏋溿?/p>

simpletip

4. jQuery (mb)Tooltip

jQuery (mb)Tooltip鏄竴嬈鵑氳繃 jQuery timers 鍜屽崐閫忔槑闃村獎鎻掍歡瀹炵幇鐨勬紓浜殑鎻愮ず妗嗘彃浠訛紝瀹冧負鍚勭闇姹傛彁渚涘緢澶氬彲閫夐」銆?/p>

5. EZPZ Tooltip

浣犱笉闇瑕佹坊鍔犱換浣旵SS鎴栧浘鐗囧氨鍙互鎵╁睍銆佸畾鍒舵彁紺烘鐨勬牱寮忛鏍箋?/p>

ezpz-tooltip

6. jQuery Input Floating Hint Box

榪欎釜鎻掍歡鍦ㄨ〃鍗曞彸杈規(guī)彁渚涗竴涓嚜鍔ㄥ彉鍖栫殑鎻愮ず妗嗭紝褰撹緭鍏ユ鑾峰緱鐒︾偣鏃跺畠?yōu)兗氭槃·哄Q屽け鍘葷劍鐐規(guī)椂灝遍殣钘忋?img class="alignnone size-full wp-image-588" title="iquery-input-floating-hint-box" alt="iquery-input-floating-hint-box" src="http://www.webdesignbooth.com/wp-content/uploads/2009/06/iquery-input-floating-hint-box.png" width="465" height="150" />

7. HTML Tooltip

html-tooltip

8. Orbital Tooltip

浣犲彲浠ョ敤 Orbital Tooltip鍦ㄧ洰鏍囧厓绱犵殑360°浠諱綍涓涓綅緗埗浣滃嚭涓涓彁紺烘銆?orbital-tooltip

9. Tipsy

Facebook椋庢牸鐨勬彁紺烘鎻掍歡銆?br /> tipsy

10. clueTip

cluetip



]]>
clientheight clientwidth offsetheight offsetwidthhttp://www.tkk7.com/zhaochengming/archive/2010/03/20/316029.htmlhelloworld2008helloworld2008Sat, 20 Mar 2010 09:53:00 GMThttp://www.tkk7.com/zhaochengming/archive/2010/03/20/316029.htmlhttp://www.tkk7.com/zhaochengming/comments/316029.htmlhttp://www.tkk7.com/zhaochengming/archive/2010/03/20/316029.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/316029.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/316029.html

div鐨勬牱寮忓涓嬶細
width:300px;
height:200px;
padding:10px;
border:10px solid #ccc;
background:#eee;
font-size:12px;



鍒欙細

IE6.0銆丗F1.06+錛?/strong>
clientWidth = width + padding = 300+10×2 = 320
clientHeight = height + padding = 200+10×2 = 220
offsetWidth = width + padding + border = 300+10×2+10×2= 340
offsetHeight = height + padding + border = 200+10×2+10×2 = 240

IE5.0/5.5錛?/strong>
clientWidth = width - border = 300-10×2 = 280
clientHeight = height - border = 200-10×2 = 180
offsetWidth = width = 300
offsetHeight = height = 200



]]>
padding margin border 鍖哄埆http://www.tkk7.com/zhaochengming/archive/2010/03/20/316028.htmlhelloworld2008helloworld2008Sat, 20 Mar 2010 09:47:00 GMThttp://www.tkk7.com/zhaochengming/archive/2010/03/20/316028.htmlhttp://www.tkk7.com/zhaochengming/comments/316028.htmlhttp://www.tkk7.com/zhaochengming/archive/2010/03/20/316028.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/316028.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/316028.html

杈規(guī)灞炴?font face="Times New Roman">(border)鐢ㄦ潵璁懼畾涓涓厓绱犵殑杈圭嚎銆?/font>

杈硅窛灞炴?font face="Times New Roman">(margin)鏄敤鏉ヨ緗竴涓厓绱犳墍鍗犵┖闂寸殑杈圭紭鍒扮浉閭誨厓绱犱箣闂寸殑璺濈銆?/font>

闂撮殭灞炴?font face="Times New Roman">(padding)鏄敤鏉ヨ緗厓绱犲唴瀹瑰埌鍏冪礌杈圭晫鐨勮窛紱匯?/font>

榪欎笁涓睘鎬ч兘灞炰簬CSS涓?/font>box綾誨瀷鐨勫睘鎬с?/font>

涓嬮潰榪欎釜紺烘剰鍥撅紝寰堝艦璞″湴浣撶幇浜嗕笁鑰呬箣闂寸殑鍖哄埆銆?/span>

榪欓噷鎻愪緵涓寮犵洅妯″瀷鐨?font face="Times New Roman">3D紺烘剰鍥撅紝甯屾湜渚夸簬浣犵殑鐞嗚В鍜岃蹇嗐?/font>



]]>
javaScript灞忚斀鎸夐敭 ( 杞嚜:http://hi.baidu.com/shunxinyangkun/blog/item/7090911ba576f8d4ac6e7576.html )http://www.tkk7.com/zhaochengming/archive/2008/10/08/233119.htmlhelloworld2008helloworld2008Wed, 08 Oct 2008 05:10:00 GMThttp://www.tkk7.com/zhaochengming/archive/2008/10/08/233119.htmlhttp://www.tkk7.com/zhaochengming/comments/233119.htmlhttp://www.tkk7.com/zhaochengming/archive/2008/10/08/233119.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/233119.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/233119.html <head>
   <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
   <noscript><meta http-equiv="refresh" content="0;url=about:noscript"></noscript>
   <title>灞忚斀榧犳爣鍙抽敭銆丆trl+N銆丼hift+F10銆丄lt+F4銆丗11銆丗5鍒鋒柊銆侀鏍奸敭</title>
</head>
<body>
<script language="Javascript"><!--
  //灞忚斀榧犳爣鍙抽敭銆丆trl+N銆丼hift+F10銆丗11銆丗5鍒鋒柊銆侀鏍奸敭
  //Author: meizz(姊呰姳闆? 2002-6-18
function
document.oncontextmenu(){event.returnValue=false;}//灞忚斀榧犳爣鍙抽敭
function
window.onhelp(){return false} //灞忚斀F1甯姪
function
document.onkeydown()
{
  if ((window.event.altKey)&&
       ((window.event.keyCode==37)||   //灞忚斀 Alt+ 鏂瑰悜閿?←
        (window.event.keyCode==39)))   //灞忚斀 Alt+ 鏂瑰悜閿?→
   {
      alert("涓嶅噯浣犱嬌鐢ˋLT+鏂瑰悜閿墠榪涙垨鍚庨緗戦〉錛?);
      event.returnValue=false;
   }
     /* 娉細榪欒繕涓嶆槸鐪熸鍦板睆钄?Alt+ 鏂瑰悜閿紝
      鍥犱負 Alt+ 鏂瑰悜閿脊鍑鴻鍛婃鏃訛紝鎸変綇 Alt 閿笉鏀撅紝
      鐢ㄩ紶鏍囩偣鎺夎鍛婃錛岃繖縐嶅睆钄芥柟娉曞氨澶辨晥浜嗐備互鍚庤嫢
      鏈夊摢浣嶉珮鎵嬫湁鐪熸灞忚斀 Alt 閿殑鏂規(guī)硶錛岃鍛婄煡銆?/

  if ((event.keyCode==8)   ||                 //灞忚斀閫鏍煎垹闄ら敭
       (event.keyCode==116)||                 //灞忚斀 F5 鍒鋒柊閿?
       (event.ctrlKey && event.keyCode==82)){ //Ctrl + R
      event.keyCode=0;
      event.returnValue=false;
      }
  if (event.keyCode==122){event.keyCode=0;event.returnValue=false;}  //灞忚斀F11
  if (event.ctrlKey && event.keyCode==78) event.returnValue=false;   //灞忚斀 Ctrl+n
  if (event.shiftKey && event.keyCode==121)event.returnValue=false;  //灞忚斀 shift+F10
  if (window.event.srcElement.tagName == "A" && window.event.shiftKey)  
       window.event.returnValue = false;             //灞忚斀 shift 鍔犻紶鏍囧乏閿柊寮涓緗戦〉
  if ((window.event.altKey)&&(window.event.keyCode==115))             //灞忚斀Alt+F4
   {
       window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");
      return false;
   }
}
</script>
灞忚斀榧犳爣鍙抽敭銆丆trl+N銆丼hift+F10銆丄lt+F4銆丗11銆丗5鍒鋒柊銆侀鏍奸敭
</body>
</html>

]]>
澶氳璦娉ㄦ剰鐐?/title><link>http://www.tkk7.com/zhaochengming/archive/2008/09/09/227959.html</link><dc:creator>helloworld2008</dc:creator><author>helloworld2008</author><pubDate>Tue, 09 Sep 2008 07:14:00 GMT</pubDate><guid>http://www.tkk7.com/zhaochengming/archive/2008/09/09/227959.html</guid><wfw:comment>http://www.tkk7.com/zhaochengming/comments/227959.html</wfw:comment><comments>http://www.tkk7.com/zhaochengming/archive/2008/09/09/227959.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/zhaochengming/comments/commentRss/227959.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/zhaochengming/services/trackbacks/227959.html</trackback:ping><description><![CDATA[<p style="margin-left: 18pt; text-indent: -18pt; tab-stops: list 18.0pt">1.<span style="font: 7pt 'Times New Roman'">       </span>Jboss/Tomcat<span style="font-family: 瀹嬩綋">涓殑</span>server.xml<span style="font-family: 瀹嬩綋">涓?/span><Connector><span style="font-family: 瀹嬩綋">涓姞鍏?/span>URIEncoding="utf-8"</p> <img src ="http://www.tkk7.com/zhaochengming/aggbug/227959.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/zhaochengming/" target="_blank">helloworld2008</a> 2008-09-09 15:14 <a href="http://www.tkk7.com/zhaochengming/archive/2008/09/09/227959.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>javascript 鑾峰彇灞忓箷鍙婃祻瑙堝櫒澶у皬鍜屽潗鏍囩瓑http://www.tkk7.com/zhaochengming/archive/2008/09/09/227958.htmlhelloworld2008helloworld2008Tue, 09 Sep 2008 07:13:00 GMThttp://www.tkk7.com/zhaochengming/archive/2008/09/09/227958.htmlhttp://www.tkk7.com/zhaochengming/comments/227958.htmlhttp://www.tkk7.com/zhaochengming/archive/2008/09/09/227958.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/227958.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/227958.htmldocument.body.offsetHeight鏄幏寰?lt;body>鍐呯殑楂樺害淇℃伅
杞嚜錛歨ttp://hi.baidu.com/collect_zero/blog/item/5fc3e8012686f8071d95838f.html


window.screen.width鏄幏鍙栨暣涓睆騫曠殑楂樺害淇℃伅錛屾祻瑙堝櫒鏈澶у寲鐨勬儏鍐典笅鏄?#8221;1024”

window.screen.width鏄幏鍙栨暣涓睆騫曞幓闄や換鍔℃爮鍚庣殑楂樺害淇℃伅錛屾祻瑙堝櫒鏈澶у寲鐨勬儏鍐典笅鏄?#8221;1004”

緗戦〉鍙鍖哄煙瀹斤細document.body.clientWidth
緗戦〉鍙鍖哄煙楂橈細document.body.clientHeight
緗戦〉鍙鍖哄煙瀹斤細document.body.offsetWidth (鍖呮嫭杈圭嚎鐨勫)
緗戦〉鍙鍖哄煙楂橈細document.body.offsetHeight (鍖呮嫭杈圭嚎鐨勫)
緗戦〉姝f枃鍏ㄦ枃瀹斤細document.body.scrollWidth
緗戦〉姝f枃鍏ㄦ枃楂橈細document.body.scrollHeight
緗戦〉琚嵎鍘葷殑楂橈細document.body.scrollTop
緗戦〉琚嵎鍘葷殑宸︼細document.body.scrollLeft
緗戦〉姝f枃閮ㄥ垎涓婏細window.screenTop
緗戦〉姝f枃閮ㄥ垎宸︼細window.screenLeft
灞忓箷鍒嗚鯨鐜囩殑楂橈細window.screen.height
灞忓箷鍒嗚鯨鐜囩殑瀹斤細window.screen.width
灞忓箷鍙敤宸ヤ綔鍖洪珮搴︼細window.screen.availHeight
灞忓箷鍙敤宸ヤ綔鍖哄搴︼細window.screen.availWidth



]]>
html table 鏍囬 涓嶆粴鍔?/title><link>http://www.tkk7.com/zhaochengming/archive/2008/09/04/226835.html</link><dc:creator>helloworld2008</dc:creator><author>helloworld2008</author><pubDate>Thu, 04 Sep 2008 01:12:00 GMT</pubDate><guid>http://www.tkk7.com/zhaochengming/archive/2008/09/04/226835.html</guid><wfw:comment>http://www.tkk7.com/zhaochengming/comments/226835.html</wfw:comment><comments>http://www.tkk7.com/zhaochengming/archive/2008/09/04/226835.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/zhaochengming/comments/commentRss/226835.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/zhaochengming/services/trackbacks/226835.html</trackback:ping><description><![CDATA[<style type="text/css"> <!-- body { background: #FFF; color: #000; font: normal normal 12px Verdana, Geneva, Arial, Helvetica, sans-serif; margin: 10px; padding: 0 } table, td, a { color: #000; font: normal normal 12px Verdana, Geneva, Arial, Helvetica, sans-serif } .td { nowrap:’’true’’; } div.tableContainer { clear: both; border: 1px solid #963; height: 285px; overflow: auto; width: 100%; } /* WinIE 6.x needs to re-account for it’’s scrollbar. Give it some padding */ \html div.tableContainer/* */ { padding: 0 16px 0 0 } /* clean up for allowing display Opera 5.x/6.x and MacIE 5.x */ html>body div.tableContainer { height: auto; padding: 0; width: 740px } /* Reset overflow value to hidden for all non-IE browsers. */ /* Filter out Opera 5.x/6.x and MacIE 5.x */ head:first-child+body div[class].tableContainer { height: 285px; overflow: hidden; width: 756px } /* define width of table. IE browsers only */ /* if width is set to 100%, you can remove the width */ /* property from div.tableContainer and have the div scale */ div.tableContainer table { float: left; width: 100% } /* WinIE 6.x needs to re-account for padding. Give it a negative margin */ \html div.tableContainer table/* */ { margin: 0 -16px 0 0 } /* define width of table. Opera 5.x/6.x and MacIE 5.x */ html>body div.tableContainer table { float: none; margin: 0; width: 740px } /* define width of table. Add 16px to width for scrollbar. */ /* All other non-IE browsers. Filter out Opera 5.x/6.x and MacIE 5.x */ head:first-child+body div[class].tableContainer table { width: 756px } /* set table header to a fixed position. WinIE 6.x only */ /* In WinIE 6.x, any element with a position property set to relative and is a child of */ /* an element that has an overflow property set, the relative value translates into fixed. */ /* Ex: parent element DIV with a class of tableContainer has an overflow property set to auto */ thead.fixedHeader tr { position: relative; /* expression is for WinIE 5.x only. Remove to validate and for pure CSS solution */ top: expression(document.getElementById("tableContainer").scrollTop) } thead.fixedHeader2 tr { position: relative; /* expression is for WinIE 5.x only. Remove to validate and for pure CSS solution */ bottom: expression(document.getElementById("tableContainer").scrollHeight > document.getElementById("tableContainer").clientHeight ? document.getElementById("tableContainer").scrollHeight - document.getElementById("tableContainer").scrollTop - document.getElementById("tableContainer").clientHeight :0) } /* set THEAD element to have block level attributes. All other non-IE browsers */ /* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */ /* Filter out Opera 5.x/6.x and MacIE 5.x */ head:first-child+body thead[class].fixedHeader tr { display: block } /* make the TH elements pretty */ thead.fixedHeader th { background: #C96; border-left: 1px solid #EB8; border-right: 1px solid #B74; border-top: 1px solid #EB8; font-weight: normal; padding: 4px 3px; text-align: center } /* make the TH elements pretty */ thead.fixedHeader2 th { background: #C96; border-left: 1px solid #EB8; border-right: 1px solid #B74; border-top: 1px solid #EB8; font-weight: normal; padding: 4px 3px; text-align: left } /* make the A elements pretty. makes for nice clickable headers */ thead.fixedHeader a, thead.fixedHeader a:link, thead.fixedHeader a:visited { color: #FFF; display: block; text-decoration: none; width: 100% } thead.fixedHeader2 a, thead.fixedHeader2 a:link, thead.fixedHeader a:visited { color: #FFF; display: block; text-decoration: none; width: 100% } /* make the A elements pretty. makes for nice clickable headers */ /* WARNING: swapping the background on hover may cause problems in WinIE 6.x */ thead.fixedHeader a:hover { color: #FFF; display: block; text-decoration: underline; width: 100% } /* define the table content to be scrollable */ /* set TBODY element to have block level attributes. All other non-IE browsers */ /* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */ /* induced side effect is that child TDs no longer accept width: auto */ /* Filter out Opera 5.x/6.x and MacIE 5.x */ head:first-child+body tbody[class].scrollContent { display: block; height: 262px; overflow: auto; width: 100% } /* make TD elements pretty. Provide alternating classes for striping the table */ /* http://www.alistapart.com/articles/zebratables/ */ tbody.scrollContent td, tbody.scrollContent tr.normalRow td { background: #FFF; border-bottom: 1px solid #EEE; border-left: 1px solid #EEE; border-right: 1px solid #AAA; border-top: 1px solid #AAA; padding: 2px 3px } tbody.scrollContent tr.alternateRow td { background: #EEE; border-bottom: 1px solid #EEE; border-left: 1px solid #EEE; border-right: 1px solid #AAA; border-top: 1px solid #AAA; padding: 2px 3px } /* define width of TH elements: 1st, 2nd, and 3rd respectively. */ /* All other non-IE browsers. Filter out Opera 5.x/6.x and MacIE 5.x */ /* Add 16px to last TH for scrollbar padding */ /* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */ head:first-child+body thead[class].fixedHeader th { width: 200px } head:first-child+body thead[class].fixedHeader th + th { width: 250px } head:first-child+body thead[class].fixedHeader th + th + th { border-right: none; padding: 4px 4px 4px 3px; width: 316px } /* define width of TH elements: 1st, 2nd, and 3rd respectively. */ /* All other non-IE browsers. Filter out Opera 5.x/6.x and MacIE 5.x */ /* Add 16px to last TH for scrollbar padding */ /* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */ head:first-child+body tbody[class].scrollContent td { width: 200px } head:first-child+body tbody[class].scrollContent td + td { width: 250px } head:first-child+body tbody[class].scrollContent td + td + td { border-right: none; padding: 2px 4px 2px 3px; width: 300px /* expression is for WinIE 5.x only. Remove to validate and for pure CSS solution */ top: expression(document.getElementById("tableContainer").scrollTop) } --> </style> <script> function test() { var cH = document.getElementById("tableContainer").clientHeight; var sH = document.getElementById("tableContainer").scrollHeight; var sT = document.getElementById("tableContainer").scrollTop; alert(cH+":"+sH+":"+sT); } </script> <div id="xnzlsfe" class="tableContainer" id="tableContainer"> <table class="scrollTable" cellspacing="0" cellpadding="0" width="100%" border="0"> <thead class="fixedHeader"> <tr> <th><a onclick="javascript:test();" href="#">Header 1</a></th> <th><a href="#">Header 2</a></th> <th><a href="#">Header 3</a></th> <th><a href="#">Header 4</a></th> </tr> </thead> <tbody class="scrollContent"> <tr> <td>Cell Content 1</td> <td>Cell Content 2</td> <td>Cell Content 3</td> <td>Cell Content 4</td> </tr> <tr> <td>More Cell Content 1</td> <td>More Cell Content 2</td> <td>More Cell Content 3</td> <td>More Cell Content 4</td> </tr> <tr> <td noWrap>Even More Cell Content 1</td> <td noWrap>Even More Cell Content 2</td> <td noWrap>Even More Cell Content 3</td> <td noWrap>Even More Cell Content 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>And Repeat 4</td> </tr> <tr> <td>And Repeat 1</td> <td>And Repeat 2</td> <td>And Repeat 3</td> <td>鏈鍚?7</td> </tr> </tbody> <thead class="fixedHeader2"> <tr> <th><a href="#">鍚堣:</a></th> <th colspan="6"><a href="#">10000</a></th> </tr> </thead> </table> </div> <br /> <br /> 浠g爜 <br /> <p><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>  <br /> <style type="text/css">  <br /> <!--  <br /> body {  <br /> background: #FFF;  <br /> color: #000;  <br /> font: normal normal 12px Verdana, Geneva, Arial, Helvetica, sans-serif;  <br /> margin: 10px;  <br /> padding: 0  <br /> }  </p> <p>table, td, a {  <br /> color: #000;  <br /> font: normal normal 12px Verdana, Geneva, Arial, Helvetica, sans-serif  <br /> }  </p> <p>.td  <br /> {  <br /> nowrap:’’true’’;  <br /> }  </p> <p>div.tableContainer {  <br /> clear: both;  <br /> border: 1px solid #963;  <br /> height: 285px;  <br /> overflow: auto;  <br /> width: 100%;  <br /> }  </p> <p>/* WinIE 6.x needs to re-account for it’’s scrollbar. Give it some padding */  <br /> \html div.tableContainer/* */ {  <br /> padding: 0 16px 0 0  <br /> }  </p> <p>/* clean up for allowing display Opera 5.x/6.x and MacIE 5.x */  <br /> html>body div.tableContainer {  <br /> height: auto;  <br /> padding: 0;  <br /> width: 740px  <br /> }  </p> <p>/* Reset overflow value to hidden for all non-IE browsers. */  <br /> /* Filter out Opera 5.x/6.x and MacIE 5.x */  <br /> head:first-child+body div[class].tableContainer {  <br /> height: 285px;  <br /> overflow: hidden;  <br /> width: 756px  <br /> }  </p> <p>/* define width of table. IE browsers only */  <br /> /* if width is set to 100%, you can remove the width */  <br /> /* property from div.tableContainer and have the div scale */  <br /> div.tableContainer table {  <br /> float: left;  <br /> width: 100%  <br /> }  </p> <p>/* WinIE 6.x needs to re-account for padding. Give it a negative margin */  <br /> \html div.tableContainer table/* */ {  <br /> margin: 0 -16px 0 0  <br /> }  </p> <p>/* define width of table. Opera 5.x/6.x and MacIE 5.x */  <br /> html>body div.tableContainer table {  <br /> float: none;  <br /> margin: 0;  <br /> width: 740px  <br /> }  </p> <p>/* define width of table. Add 16px to width for scrollbar. */  <br /> /* All other non-IE browsers. Filter out Opera 5.x/6.x and MacIE 5.x */  <br /> head:first-child+body div[class].tableContainer table {  <br /> width: 756px  <br /> }  </p> <p>/* set table header to a fixed position. WinIE 6.x only */  <br /> /* In WinIE 6.x, any element with a position property set to relative and is a child of */  <br /> /* an element that has an overflow property set, the relative value translates into fixed. */  <br /> /* Ex: parent element DIV with a class of tableContainer has an overflow property set to auto */  <br /> thead.fixedHeader tr {  <br /> position: relative;  <br /> /* expression is for WinIE 5.x only. Remove to validate and for pure CSS solution */  <br /> top: expression(document.getElementById("tableContainer").scrollTop)  <br /> }  <br /> thead.fixedHeader2 tr {  <br /> position: relative;  <br /> /* expression is for WinIE 5.x only. Remove to validate and for pure CSS solution */  <br /> bottom: expression(document.getElementById("tableContainer").scrollHeight > document.getElementById("tableContainer").clientHeight ? document.getElementById("tableContainer").scrollHeight - document.getElementById("tableContainer").scrollTop - document.getElementById("tableContainer").clientHeight :0)  <br /> }  </p> <p>/* set THEAD element to have block level attributes. All other non-IE browsers */  <br /> /* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */  <br /> /* Filter out Opera 5.x/6.x and MacIE 5.x */  <br /> head:first-child+body thead[class].fixedHeader tr {  <br /> display: block  <br /> }  </p> <p>/* make the TH elements pretty */  <br /> thead.fixedHeader th {  <br /> background: #C96;  <br /> border-left: 1px solid #EB8;  <br /> border-right: 1px solid #B74;  <br /> border-top: 1px solid #EB8;  <br /> font-weight: normal;  <br /> padding: 4px 3px;  <br /> text-align: center  <br /> }  <br /> /* make the TH elements pretty */  <br /> thead.fixedHeader2 th {  <br /> background: #C96;  <br /> border-left: 1px solid #EB8;  <br /> border-right: 1px solid #B74;  <br /> border-top: 1px solid #EB8;  <br /> font-weight: normal;  <br /> padding: 4px 3px;  <br /> text-align: left  <br /> }  <br /> /* make the A elements pretty. makes for nice clickable headers */  <br /> thead.fixedHeader a, thead.fixedHeader a:link, thead.fixedHeader a:visited {  <br /> color: #FFF;  <br /> display: block;  <br /> text-decoration: none;  <br /> width: 100%  <br /> }  <br /> thead.fixedHeader2 a, thead.fixedHeader2 a:link, thead.fixedHeader a:visited {  <br /> color: #FFF;  <br /> display: block;  <br /> text-decoration: none;  <br /> width: 100%  <br /> }  </p> <p>/* make the A elements pretty. makes for nice clickable headers */  <br /> /* WARNING: swapping the background on hover may cause problems in WinIE 6.x */  <br /> thead.fixedHeader a:hover {  <br /> color: #FFF;  <br /> display: block;  <br /> text-decoration: underline;  <br /> width: 100%  <br /> }  </p> <p>/* define the table content to be scrollable */  <br /> /* set TBODY element to have block level attributes. All other non-IE browsers */  <br /> /* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */  <br /> /* induced side effect is that child TDs no longer accept width: auto */  <br /> /* Filter out Opera 5.x/6.x and MacIE 5.x */  <br /> head:first-child+body tbody[class].scrollContent {  <br /> display: block;  <br /> height: 262px;  <br /> overflow: auto;  <br /> width: 100%  <br /> }  </p> <p>/* make TD elements pretty. Provide alternating classes for striping the table */  <br /> /* http://www.alistapart.com/articles/zebratables/ */  <br /> tbody.scrollContent td, tbody.scrollContent tr.normalRow td {  <br /> background: #FFF;  <br /> border-bottom: 1px solid #EEE;  <br /> border-left: 1px solid #EEE;  <br /> border-right: 1px solid #AAA;  <br /> border-top: 1px solid #AAA;  <br /> padding: 2px 3px  <br /> }  </p> <p>tbody.scrollContent tr.alternateRow td {  <br /> background: #EEE;  <br /> border-bottom: 1px solid #EEE;  <br /> border-left: 1px solid #EEE;  <br /> border-right: 1px solid #AAA;  <br /> border-top: 1px solid #AAA;  <br /> padding: 2px 3px  <br /> }  </p> <p>/* define width of TH elements: 1st, 2nd, and 3rd respectively. */  <br /> /* All other non-IE browsers. Filter out Opera 5.x/6.x and MacIE 5.x */  <br /> /* Add 16px to last TH for scrollbar padding */  <br /> /* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */  <br /> head:first-child+body thead[class].fixedHeader th {  <br /> width: 200px  <br /> }  </p> <p>head:first-child+body thead[class].fixedHeader th + th {  <br /> width: 250px  <br /> }  </p> <p>head:first-child+body thead[class].fixedHeader th + th + th {  <br /> border-right: none;  <br /> padding: 4px 4px 4px 3px;  <br /> width: 316px  <br /> }  </p> <p>/* define width of TH elements: 1st, 2nd, and 3rd respectively. */  <br /> /* All other non-IE browsers. Filter out Opera 5.x/6.x and MacIE 5.x */  <br /> /* Add 16px to last TH for scrollbar padding */  <br /> /* http://www.w3.org/TR/REC-CSS2/selector.html#adjacent-selectors */  <br /> head:first-child+body tbody[class].scrollContent td {  <br /> width: 200px  <br /> }  </p> <p>head:first-child+body tbody[class].scrollContent td + td {  <br /> width: 250px  <br /> }  </p> <p>head:first-child+body tbody[class].scrollContent td + td + td {  <br /> border-right: none;  <br /> padding: 2px 4px 2px 3px;  <br /> width: 300px  </p> <p>/* expression is for WinIE 5.x only. Remove to validate and for pure CSS solution */  <br /> top: expression(document.getElementById("tableContainer").scrollTop)  <br /> }  <br /> -->  <br /> </style>  <br /> </head><body>  <br />  <script><br />    function test() {<br />     var cH = document.getElementById("tableContainer").clientHeight;<br />     var sH = document.getElementById("tableContainer").scrollHeight;<br />     var sT = document.getElementById("tableContainer").scrollTop;<br />     alert(cH+":"+sH+":"+sT);<br />    }<br />   </script><br /> <div id="tableContainer" class="tableContainer">  <br /> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="scrollTable">  <br /> <thead class="fixedHeader">  <br /> <tr>  <br /> <th><a href="#" onclick="javascript:test();">Header 1</a></th>  <br /> <th><a href="#">Header 2</a></th>  <br /> <th><a href="#">Header 3</a></th>  <br /> <th><a href="#">Header 4</a></th>  <br /> </tr>  <br /> </thead>  <br /> <tbody class="scrollContent">  <br /> <tr>  <br /> <td>Cell Content 1</td>  <br /> <td>Cell Content 2</td>  <br /> <td>Cell Content 3</td>  <br /> <td>Cell Content 4</td>  <br />  <br /> </tr>  <br /> <tr>  <br /> <td>More Cell Content 1</td>  <br /> <td>More Cell Content 2</td>  <br /> <td>More Cell Content 3</td>  <br /> <td>More Cell Content 4</td>  <br /> </tr>  <br /> <tr>  <br /> <td nowrap>Even More Cell Content 1</td>  <br /> <td nowrap>Even More Cell Content 2</td>  <br /> <td nowrap>Even More Cell Content 3</td>  <br /> <td nowrap>Even More Cell Content 4</td>  <br /> </tr>  </p> <p><tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr> <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr> <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr> <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr>  <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>And Repeat 4</td>  </p> <p></tr> <br /> <tr>  <br /> <td>And Repeat 1</td>  <br /> <td>And Repeat 2</td>  <br /> <td>And Repeat 3</td>  <br /> <td>鏈鍚?7</td>  <br /> </tr>  </p> <p></tbody>  </p> <p><thead class="fixedHeader2">  <br /> <tr>  <br /> <th><a href="#">鍚堣:</a></th>  <br /> <th colspan=6><a href="#">10000</a></th>  <br /> </tr>  <br /> </thead>  </p> <p></table>  <br /> </div>  </p> <p></body></html> </p> <img src ="http://www.tkk7.com/zhaochengming/aggbug/226835.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/zhaochengming/" target="_blank">helloworld2008</a> 2008-09-04 09:12 <a href="http://www.tkk7.com/zhaochengming/archive/2008/09/04/226835.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>ajax涓嬫媺鎻愮ずhttp://www.tkk7.com/zhaochengming/archive/2007/08/13/136478.htmlhelloworld2008helloworld2008Mon, 13 Aug 2007 10:56:00 GMThttp://www.tkk7.com/zhaochengming/archive/2007/08/13/136478.htmlhttp://www.tkk7.com/zhaochengming/comments/136478.htmlhttp://www.tkk7.com/zhaochengming/archive/2007/08/13/136478.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/136478.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/136478.htmlfunction suggest(src,confield,convalue,operation,thisObj) {
var str = thisObj.value;
var key = window.event.keyCode;
if (key == 40 || key == 38) {
   if (isNull(thisObj.value2)) {
    thisObj.value2 = thisObj.value;
   }
   var suggestDiv = document.getElementById(thisObj.name+"_suggest");
   if (!isNull(suggestDiv)) {
    var divArr = suggestDiv.childNodes;
    var hasIn = false;
    for (var i = 0; i < divArr.length; i++) {
     if(divArr[i].className == "td-across-deep") {
      hasIn = true;
      divArr[i].className = "td-across-low";
      divArr[i].style.backgroundColor = "white";
      if (key == 40) {
       if (i == divArr.length-1) {
        thisObj.value = thisObj.value2;
       } else {
        divArr[i+1].className = "td-across-deep";
        divArr[i+1].style.backgroundColor = "";
        thisObj.value = divArr[i+1].innerText;
       }
      } else if (key == 38) {
       if (i == 0) {
        thisObj.value = thisObj.value2;
       } else {
        divArr[i-1].className = "td-across-deep";
        divArr[i-1].style.backgroundColor = "";
        thisObj.value = divArr[i-1].innerText;
       }
      }
      break;
     }
    }
    if (!hasIn) {
     var i = 0;
     if (key == 38) {
      i = divArr.length-1;
      suggestDiv.scrollTop = 200;
     } else {
      suggestDiv.scrollTop = 0;
     }
     divArr[i].className = "td-across-deep";
     divArr[i].style.backgroundColor = "";
     thisObj.value = divArr[i].innerText;
    } else {
     key == 40 ? (suggestDiv.scrollTop +=17) : (suggestDiv.scrollTop -=17);
    }
    return true;
   }
}
var dbonclick = document.body.onclick
document.body.onclick = function() {
   if(!isNull(dbonclick))
    dbonclick();
   var arr = document.getElementsByTagName("div");
   if (!isNull(arr))
   for (var i = 0; i < arr.length; i++) {
    if (!isNull(arr[i].name))
    if (arr[i].name.indexOf("suggest") >= 0) {
     document.body.removeChild(arr[i]);
    }
   }
   arr = document.getElementsByTagName("iframe");
   if (!isNull(arr))
   for (var i = 0; i < arr.length; i++) {
    if (!isNull(arr[i].name))
    if (arr[i].name.indexOf("suggest") >= 0) {
     document.body.removeChild(arr[i]);
    }
   }
   thisObj.value2 = null;
}
try {
document.body.onclick();
} catch (e) {
   alert(e);
}
if (key == 13 || key ==   27 || isNull(str) || str.trim() == "" ) {
   return true;
}
var h=location.protocol+"http://"+location.host+"/";
     var pn=location.href.substring(h.length);
     pn=pn.substring(0,pn.indexOf("/"));
var records=thisObj.name.substring(thisObj.name.lastIndexOf("_")+1);
var fields = confield.split("#");
var conVal = convalue.split("#");
var confields = confield.split("#");
var con = "";
for (var i = 1; i < conVal.length; ++i) {
   var temp = "&fld"+confields[i]+"=";
   if (conVal[i].substring(0,1) == "&") {
    temp += conVal[i].substring(1);
   } else {
    var valObj = document.all["fld_abm"+parseFloat(conVal[i])+"_"+records];
    if (valObj == null) {
     valObj = document.all["fld_abm"+parseFloat(conVal[i])+"_"+1];
    }
    temp += strTrim(getObjValue(valObj));
   }
   con += temp;
}
url="/"+pn+"/FormServlet?act=getSuggest&src="+src+"&field="+confield+con;
     if (operation != null) {
      url += "&operation="+operation;
     }
while (url.indexOf("#") >=0) {
   url = url.replace("#","_");
}
     url+="&suggest="+str;
url = encodeURI(url);
var ajax = new Ajax(url,"post");
var divObj = document.all[thisObj.name+"_suggest"];
var iframeObj = document.createElement("iframe");

iframeObj.id = thisObj.name+"_suggest_iframe";
iframeObj.name = thisObj.name+"_suggest_iframe";
document.body.appendChild(iframeObj);
if (isNull(divObj)) {
   divObj = document.createElement("DIV");
}
divObj.name = thisObj.name+"_suggest";
divObj.id = thisObj.name+"_suggest";
divObj.style.border = '1px';
divObj.isOut = "true";
divObj.onmouseover = "javascript:this.isOut = 'false'";
divObj.onmouseout = "javascript:this.isOut = 'true'";
divObj.style.cursor = "hand";

document.body.appendChild(divObj);
divObj.style.position = "absolute";
ajax.setResponseFun(function(){
   var dom = ajax.getDomDoc();
   if(dom.readyState == 4) {
    var root = dom.documentElement;
    var str = "";
    if (root.childNodes.length == 0) {
     document.body.onclick();
     return true;
    }
    for(var i = 0; i < root.childNodes.length; i++) {
     str+="<div onmouseover='javascript:suggestOver(this);'";
     str+=" onmouseout='javascript:suggestOut(this);' ";
     str+=" onclick='javascript:setSearch(this.innerHTML,\""+thisObj.name+"\");' class='td-across-low' style='background-color:white;'>";
     str+=root.childNodes[i].text+"</div>";
    }
    divObj.innerHTML = str;
    divObj.style.borderBottom = '0.008cm outset ';
    divObj.style.borderRight = '0.008cm outset ';
    divObj.style.borderTop = '0.008cm outset ';
    divObj.style.borderLeft = '0.008cm outset ';
    divObj.style.overflowY = "auto";
    divObj.style.height = divObj.offsetHeight > 300 ? 300 : divObj.offsetHeight;
    var oRect = thisObj.getBoundingClientRect();
    divObj.style.left = oRect.left;
    divObj.style.top = oRect.top + 18;
    divObj.style.width = thisObj.clientWidth+2;
    try {
     var iobj = document.getElementById(thisObj.name+"_suggest_iframe");
     iobj.style.position = "absolute";
     iobj.style.left = divObj.offsetLeft;
     iobj.style.top = divObj.offsetTop;
     iobj.style.height = divObj.offsetHeight;
     iobj.style.width = divObj.offsetWidth;
    } catch(e){}
   }
});
ajax.send();
return true;
}

function suggestOver(obj) {
for(var i = 0; i < obj.parentNode.childNodes.length; i++) {
   obj.parentNode.childNodes[i].className = "td-across-low";  
   obj.parentNode.childNodes[i].style.backgroundColor = "white";
}
obj.className = "td-across-deep";
obj.style.backgroundColor = "";
}

function suggestOut(obj) {
obj.className = "td-across-low";
obj.style.backgroundColor = "white";
}

function setSearch(value,thisObjName) {
document.all[thisObjName].value = value;
try {
document.body.removeChild(document.getElementById(thisObjName+"_suggest_iframe"));
document.body.removeChild(document.getElementById(thisObjName+"_suggest"));
} catch (e){}
}

function hideSuggest(thisObj) {
var obj = document.getElementById(thisObj.name+"_suggest");
if ( isNull(obj) ) {
   return true;
} else {
   if (obj.isOut == "true") {
    document.body.removeChild(document.getElementById(obj.name+"_suggest_iframe"));
    document.body.removeChild(obj);
   }
}
return true;
}



]]>
iframe璋冩暣欏甸潰楂樺害錛岄傚悎澶ф枃浠剁殑緗戦〉http://www.tkk7.com/zhaochengming/archive/2007/08/13/136477.htmlhelloworld2008helloworld2008Mon, 13 Aug 2007 10:55:00 GMThttp://www.tkk7.com/zhaochengming/archive/2007/08/13/136477.htmlhttp://www.tkk7.com/zhaochengming/comments/136477.htmlhttp://www.tkk7.com/zhaochengming/archive/2007/08/13/136477.html#Feedback0http://www.tkk7.com/zhaochengming/comments/commentRss/136477.htmlhttp://www.tkk7.com/zhaochengming/services/trackbacks/136477.html<iframe id="frameaaa"    onload="try{document.all['frameaaa'].style.height=frameaaa.document.body.scrollHeight;}catch(e){}"
scrolling="no"> </iframe>

var menuOpen = false;
function openMemo(){
    var obj = document.getElementById('frameaaa');
    if(!menuOpen) {
     obj.src = "XXX/XXX.html";
     obj.style.display="block";
     menuOpen = true;
     try {
       obj.onreadystatechange = function() {obj.fireEvent('onload');}
       } catch(e) {}
    }
}

濡傛灉娌℃湁onreadystatechange錛屽皬鏂囦歡鏄傚悎鐨勶紝澶ф枃浠跺氨涓嶈浜?/p>

]]>
javascript 浠縨sn 寮瑰嚭淇℃伅 鐐瑰嚮涓嶉殣钘?/title><link>http://www.tkk7.com/zhaochengming/archive/2007/08/13/136462.html</link><dc:creator>helloworld2008</dc:creator><author>helloworld2008</author><pubDate>Mon, 13 Aug 2007 10:42:00 GMT</pubDate><guid>http://www.tkk7.com/zhaochengming/archive/2007/08/13/136462.html</guid><wfw:comment>http://www.tkk7.com/zhaochengming/comments/136462.html</wfw:comment><comments>http://www.tkk7.com/zhaochengming/archive/2007/08/13/136462.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/zhaochengming/comments/commentRss/136462.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/zhaochengming/services/trackbacks/136462.html</trackback:ping><description><![CDATA[<p>/**<br>* 鍔熻兘: 浠縈sn淇℃伅鎻愮ず<br>* @param height : 淇℃伅妗嗙殑楂樺害<br>* @param width : 淇℃伅妗嗙殑瀹藉害<br>* @param title : 淇℃伅妗嗙殑鏍囬<br>* @param innerHTML : 淇℃伅妗嗛潰鏉挎樉紺哄唴瀹?鏀懼湪<DIV></DIV>涓?浠繪剰鐨凥TML浠g爜<br>* @return void <br>*/<br>function CMsnMsg(width,height,title,innerHTML) {<br>this.height = (height!=null)?height:150;<br>this.width = (width!=null)?width:200;<br>this.title = title; <br>this.innerHTML = innerHTML;<br>//浠ヤ笅涓洪粯璁ゅ艱緗?鍙互璋冪敤瀵硅薄鐨勬垚鍛樼洿鎺ヤ慨鏀?br>//淇℃伅妗嗛粯璁や負鑷姩闅愯棌<br>this.autoHide = true;<br>//淇℃伅妗嗗彸杈圭殑x鍧愭爣<br>this.right = screen.width - 2;<br>//淇℃伅妗嗙殑宸﹂儴x鍧愭爣<br>this.left = this.right - this.width;<br>//淇℃伅妗嗙殑搴曢儴y鍧愭爣<br>this.bottom = screen.height;<br>//淇℃伅妗嗙殑欏墮儴鐨剏鍧愭爣<br>this.top = this.bottom - this.height;<br>//榛樿涓烘病鏈夊叧闂?br>this.close = false;<br>//榛樿涓烘病鏈夊仠姝笉鍔?br>this.pause = false;<br>//淇℃伅妗嗙Щ鍔ㄩ熷害<br>this.speed = 15;<br>//姝e父鏄劇ず闇瑕佸涔呯殑鏃墮棿,鐒跺悗鍏抽棴鎺?br>this.timeout = 300;<br>//璁劇疆姝ラ暱<br>this.step = 1;<br>//瀹氭椂鍣?br>this.timer = 0;<br>}</p> <p>/**<br>* CMsnMsg瀵硅薄鐨勬樉紺烘柟娉?br>*/<br>CMsnMsg.prototype.show = function() {<br>var pop = window.createPopup();<br>this.pop = pop;<br>      var str = "<DIV style='BORDER-RIGHT: #455690 1px solid; BORDER-TOP: #a6b4cf 1px solid; Z-INDEX: 99999; LEFT: 0px; BORDER-LEFT: #a6b4cf 1px solid; WIDTH: " <br>      str +=this.width + "px; BORDER-BOTTOM: #455690 1px solid; POSITION: absolute; TOP: 0px; HEIGHT: " + this.height + "px; BACKGROUND-COLOR: #c9d3f3'>"  <br>      str += "<TABLE style='BORDER-TOP: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid' cellSpacing=0 cellPadding=0 width='100%' bgColor=#cfdef4 border=0>"  <br>      str += "<TR>"  <br>      str += "<TD style='FONT-SIZE: 12px;COLOR: #0f2c8c' width=30 height=24></TD>"  <br>      str += "<TD style='PADDING-LEFT: 4px; FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #1f336b; PADDING-TOP: 4px' vAlign=center width='100%'>" + this.title + "</TD>"  <br>      str += "<TD style='PADDING-RIGHT: 2px; PADDING-TOP: 2px' vAlign=center align=right width=19>"  <br>      str += "<SPAN title=鍏抽棴 style='FONT-WEIGHT: bold; FONT-SIZE: 12px; CURSOR: hand; COLOR: black; MARGIN-RIGHT: 4px' id='btSysClose' >×</SPAN></TD>"  <br>      str += "</TR>"  <br>      str += "<TR>"  <br>      str += "<TD style='PADDING-RIGHT: 1px;PADDING-BOTTOM: 1px' colSpan=3 height=" + (this.height-28) + ">"  <br>      str += "<DIV style='BORDER-RIGHT: #b9c9ef 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: #728eb8 1px solid; PADDING-LEFT: 8px; FONT-SIZE: 12px; PADDING-BOTTOM: 8px;";<br>      str += "BORDER-LEFT: #728eb8 1px solid; WIDTH: 100%; COLOR: #1f336b; PADDING-TOP: 8px; BORDER-BOTTOM: #b9c9ef 1px solid; HEIGHT: 100%'>"  <br>str += this.innerHTML;<br>      str += "</DIV>"  <br>      str += "</TD>"  <br>      str += "</TR>"  <br>      str += "</TABLE>"  <br>      str += "</DIV>"  <br>      pop.document.body.innerHTML = str;<br>      this.offset = 0;<br>      var me = this;<br>      pop.document.body.onmouseover = function() {me.pause = true;};<br>      pop.document.body.onmouseout = function() {me.pause = false;};<br>    <br>      var fun = function() {<br>       var x = me.left;<br>       var y = 0;<br>       var width = me.width;<br>       var height = me.height;<br>       if (me.offset > me.height) {<br>        height = me.height;<br>       } else {<br>        height = me.offset;<br>       }<br>       y = me.bottom - me.offset;<br>    if (y <= me.top) {<br>     me.timeout -= 1;<br>     if (me.timeout == 0) {<br>      window.clearInterval(me.timer);<br>      if (me.autoHide) {<br>       me.hide();<br>      }<br>     }<br>    } else {<br>     me.offset += me.step;<br>    }<br>    me.pop.show(x,y,width,height);<br>      }    <br>      this.timer = window.setInterval(fun,this.speed);<br>      var btClose = pop.document.getElementById("btSysClose");<br>      btClose.onclick = function(){  <br>          me.close = true;<br>          me.hide();<br>      }<br>}<br>/**<br>* CMsnMsg瀵硅薄鐨勫叧闂柟娉?br>*/<br>CMsnMsg.prototype.hide = function() {<br>flag = true;<br>var offset = this.height>this.bottom-this.top?this.height:this.bottom-this.top;<br>var me = this;<br>if(this.timer > 0){  <br>    window.clearInterval(me.timer); <br>      }<br>      var fun = function() {<br>       if (!me.pause || me.close) {<br>        var x = me.left;<br>        var y = 0;<br>        var width = me.width;<br>        var height = 0;<br>        if (me.offset > 0) {<br>         height = me.offset;<br>        }<br>        y = me.bottom - height;<br>        if (y >= me.bottom) {<br>         window.clearInterval(me.timer);  <br>         me.pop.hide();<br>        } else {<br>         me.offset -= me.step;<br>        }<br>        me.pop.show(x,y,width,height);<br>       }     <br>      }<br>      this.timer = window.setInterval(fun,this.speed);<br>}<br>var msg = null;<br>function test() {<br>if (msg == null || !msg.pause) {<br>     msg = new CMsnMsg(300,220,"ABM緋葷粺鎻愮ず");<br>     msg.innerHTML = "<A href='www.baidu.com'>www.baidu.com</a>"<br>     msg.show();<br>}<br>}<br>window.setInterval("test();",20000);</p> <img src ="http://www.tkk7.com/zhaochengming/aggbug/136462.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/zhaochengming/" target="_blank">helloworld2008</a> 2007-08-13 18:42 <a href="http://www.tkk7.com/zhaochengming/archive/2007/08/13/136462.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://jggbk.com" target="_blank">亚洲永久中文字幕在线</a>| <a href="http://nblfkj.com" target="_blank">亚洲人成在线观看</a>| <a href="http://blblkj.com" target="_blank">青苹果乐园免费高清在线</a>| <a href="http://www-6209.com" target="_blank">美女又黄又免费的视频</a>| <a href="http://499k.com" target="_blank">亚洲国产模特在线播放</a>| <a href="http://9522952.com" target="_blank">色婷婷六月亚洲婷婷丁香</a>| <a href="http://57fi.com" target="_blank">国产亚洲AV手机在线观看</a>| <a href="http://scdsrq.com" target="_blank">夜色阁亚洲一区二区三区</a>| <a href="http://yy6090qpgdy.com" target="_blank">午夜福利不卡片在线播放免费</a>| <a href="http://bnb989.com" target="_blank">成年人免费网站在线观看</a>| <a href="http://cangtuyuan.com" target="_blank">久久久久亚洲精品日久生情</a>| <a href="http://www664660a.com" target="_blank">国产真人无码作爱免费视频</a>| <a href="http://56v6.com" target="_blank">午夜亚洲国产精品福利</a>| <a href="http://286513.com" target="_blank">久久精品亚洲日本波多野结衣</a>| <a href="http://367316.com" target="_blank">在线不卡免费视频</a>| <a href="http://mabaolu.com" target="_blank">99久久综合国产精品免费</a>| <a href="http://www456788.com" target="_blank">日韩版码免费福利视频</a>| <a href="http://cjsyw123.com" target="_blank">亚洲色大成网站www</a>| <a href="http://littlevv.com" target="_blank">国产精品免费视频一区</a>| <a href="http://26672814.com" target="_blank">黄页网址大全免费观看12网站</a>| <a href="http://t66p.com" target="_blank">亚洲国产香蕉人人爽成AV片久久</a>| <a href="http://mtsp2.com" target="_blank">男女交性无遮挡免费视频</a>| <a href="http://boyipark.com" target="_blank">成人特级毛片69免费观看</a>| <a href="http://lfpfjc.com" target="_blank">亚洲视频在线精品</a>| <a href="http://juytv.com" target="_blank">91精品国产亚洲爽啪在线影院 </a>| <a href="http://992fanli.com" target="_blank">aaa毛片免费观看</a>| <a href="http://666mou.com" target="_blank">国精产品一区一区三区免费视频 </a>| <a href="http://15831883389.com" target="_blank">久久国产免费观看精品3</a>| <a href="http://pengkaimjg.com" target="_blank">亚洲人成电影网站</a>| <a href="http://222dv.com" target="_blank">亚洲成a人片在线播放</a>| <a href="http://huahui1866.com" target="_blank">亚洲人成精品久久久久</a>| <a href="http://jinmenonline.com" target="_blank">黄页网站免费观看</a>| <a href="http://xiaoduanfa.com" target="_blank">国产成人免费a在线视频色戒</a>| <a href="http://hdznzdh.com" target="_blank">CAOPORN国产精品免费视频</a>| <a href="http://by11gun.com" target="_blank">可以免费观看的国产视频</a>| <a href="http://1408600.com" target="_blank">毛片a级毛片免费播放100</a>| <a href="http://www-715111.com" target="_blank">亚洲精品无码永久在线观看</a>| <a href="http://szybzc.com" target="_blank">久久亚洲国产视频</a>| <a href="http://arkinbokis.com" target="_blank">国产精品亚洲专区在线播放</a>| <a href="http://720880.com" target="_blank">久久爰www免费人成</a>| <a href="http://whspmd.com" target="_blank">亚洲精品无码激情AV</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>