DFdou's Blog Life is short,Be yourself.

7kankan11bookekzw免费小说网要看书网 官路风流 酒神 uawx书都阅读网 冒牌大英雄 斗罗大陆
2511/090

璁板緱鍏虫敞浣犵殑绔炰簤瀵规墜

browser
鎹簡宸ヤ綔涔嬪悗瀵瑰伐浣滃伐鍏风殑鎺ヨЕ澶氫簡璧锋潵锛屼笂涓涓伐浣滃姙鍏Mac鍜學indows鏄5锛5寮锛屼絾鏄祻瑙堝櫒澶у鍑犱箮閮芥槸Firefox锛岃櫧鐒惰鍋氫笅IE6锛7鐨勫吋瀹癸紝浣嗘槸鍩烘湰涓婁笉鐢ㄥ幓绠E8锛孲afari锛岀悊鐢卞緢绠鍗曪紝鍥藉唴瀹㈡埛鍩烘湰鐢ㄤ笉鍒般傝繖涔熺畻鏄釜鑺傜害鎴愭湰鐨勫仛娉曪紝涓嶈繃鐜板湪鎯虫兂鍏跺疄IE8鍜孲afari鐩稿IE6鏉ヨ瀵笴SS鏀寔绠楀緢瑙勮寖浜(椤轰究鍛煎悂涓涓"璇峰崌绾ф偍鐨処E6锛宼hx")銆傝嚦浜嶤hrome锛屽垰鍑烘潵鏃跺欐病鍙戠幇鑷甫璋冨紡宸ュ叿锛屽氨涓鐩存斁鐫锛岃屼笖锛屼範鎯簡Firefox锛屾彃浠舵暟閲忓鍢涖
鐜板湪宸ヤ綔鐨勫湴鏂筂ac锛孶buntu宸笉澶氭槸55寮锛屽彧鏈変负鏁颁笉澶氱殑浜鸿浜哤indows锛屾仼锛屾垜灏辨槸涓烘暟涓嶅鐨勫叾涓竴涓搱鍝堛傛祻瑙堝櫒鏂归潰锛孖E6锛7锛8锛孎irefox锛孋hrome鍒嗗竷鐨勫緢涓嶅潎琛★紝鍙湁涓烘暟涓嶅鐨勯偅缇や汉瑁呯殑鏄疘E鈥
鎺ヨЕ浜嗕竴娈垫椂闂存墠鍙戠幇锛屽師鏉irebug绫讳技鐨勫姛鑳絀E8锛孋hrome閮芥槸鑷甫鐨勶紝浜庢槸"璞嗚厫浣爋ut锛屽緢out銆" 鐜板湪鏄悓鏃跺鎴戠殑璇勪环锛555鍟婏綖
flash vs sliverlight
鍥犱负涓昏鍦ㄥ仛Flash鐨勫伐浣滐紝鎵浠ュ钩鏃朵竴鑸彧鍏虫敞Flash鏂归潰鐨勬柊闂伙紝Sliverlight鍦ㄦ垜鐪嬫潵涓鐩存槸楦¤倠锛屽嚭浜嗕箣鍚庝竴鐩存病褰撳洖浜嬪効锛屽浗鍐呭SL鏀寔鏈澶氱殑浼拌灏辨槸鑵捐锛孮Q瀹夎鍖呴噷鏈夋崋缁慡L铏氭嫙鏈猴紝涓嶇煡閬揗S杩欎釜鍗曞瓙浠樹簡澶氬皯绫冲搱銆侻S鑷劧涔熶笉鏄渷娌圭殑鐏紝浜庢槸SL涔嬪悗锛孲L3锛孲L4鏉ヤ簡锛屾湁涓澶╋紝蹇界劧灏卞彂鐜癝L宸茬粡瀹屽叏涓嶆槸褰撳勾鐨凷L浜嗭紝鍛靛懙锛岃皝鍙钩鏃朵笉澶熷叧娉ㄥ摢銆
鎬庝箞璇村憿锛屽钩鏃惰繕鏄鍏虫敞鐐逛笢瑗垮惂锛屽挨鍏舵槸绔炰簤瀵规墜鐨勪骇鍝侊紝涓嶇劧娌℃硶浣撶幇鑷繁鐨勪紭鍔跨殑銆
杩欏氨濂芥瘮浣犲拰鏌愪汉鍚屾椂鍦ㄨ拷涓涓狹M锛屼綘棣栧厛蹇呴』寰椾簡瑙M(鎴栬呰娑堣垂鑰?)锛屾帴鐫杩樿浜嗚В閭d釜璇ユ鐨勬儏鏁岋紝杩欐牱鎵嶈兘鍋氬埌鐭ュ繁鐭ュ郊锛岀櫨鎴樹笉娈嗐
----------------------------------------------------------------------------------------------
鏈杩戞墦绠楄涓猆buntu锛屾墜鐥掑惂锛岀湅闅斿锛屽墠鍚庨兘鏄疷buntu銆
鍙﹀锛屽湪鍚屽鐨勫奖鍝嶄笅鐪嬩簡涓婮ava锛屾墠鍙戠幇璇村師鏉S鏄繖涔堢箒鐞愮殑璇硶锛孞ava绠娲佸緢澶氬晩銆

1806/090

Flash-Transparent鏃跺湪FF鍜孲afari涓嬫棤娉曡緭鍏ヤ腑鏂囩殑瑙e喅鏂规

Learned from 銆妔wfInputs: Solving Mozilla + Transparent Mode + Win + Special Chars within inputs銆
鍘熸潵鍐欒繃涓棩蹇銆奆lash鍦⊿afari涓嬫棤娉曡緭鍏ヤ腑鏂囥锛屽綋鏃舵病鏈夋壘鍒板ソ鐨勮В鍐虫柟妗堬紝鐜板湪鍦ㄧ綉涓婄湅鍒版湁杩欎箞涓笢瑗匡紝swfInputs
What to do in your code?鍏蜂綋浠g爜鐨勪娇鐢細
swfInputs consists of two parts(swfInputs鍖呭惈2涓儴鍒):
* The SWFTextInput AS3 Class (which create the connection to the JavaScript class)锛屼竴涓狝S3缁勪欢锛岃礋璐lash鍜孞S鐨勯氫俊銆
* and the swfInputs JavaScript Class (which handles the creation and HTML communication)锛屼竴涓狫S鏂囦欢锛岃礋璐e湪HTML绔缓绔婭nput銆
To activate the JavaScript part you just need to insert two script-tags into the HTML code and call the constructor method. At the moment swfInputs uses the dojoToolkit JavaScript library for position calculation and basic connection handling. I looking forward to remove this need of dojo to reduce the filesize.
swfInputs浣跨敤dojoToolkit JS妗嗘灦锛屾仼锛屼綔鑰呮牴鎹渶姹備慨姝d簡dojoToolkit鐨勫昂瀵搞

<script src="../javascript/dojo.js" language="javascript"></script>
<script src="../javascript/swfInputs.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
			swfInputs.init('swfInputTestcase');
</script>
2605/090

CSS-Two “Sticky Footer” Pure-CSS Solutions

濡傞锛屼粖澶╄鐨勬槸鍥哄簳DIV鐨勭函CSS瑙e喅鏂规锛屽晩锛屾垨鑰呰瑙e喅鏂规硶姣旇緝鍚堥傦紵
鎵句簡涓嬭祫鏂欙紝鐩墠鏈2涓瘮杈冨彲闈犺屼笖鍏煎鎬ц緝濂界殑瑙e喅鏂规锛屼竴涓槸CSS Sticky Footer锛屽洜涓烘湁涓枃鐗堬紝澶у鑷繁鐪嬪惂銆
绗2涓槸Ryanfait鐨銆奙ake the Footer Stick to the Bottom of a Page銆
涓よ呯浉宸笉澶э紝鏈澶氬氨鏄疌SS Sticky Footer灏戜簡涓涓狣IV锛屼笖鍏煎鐨勬祻瑙堝櫒鏇村銆
鏉ワ紝鐪嬩竴涓銆奙ake the Footer Stick to the Bottom of a Page銆 鐨凥TML浠g爜锛

<div class="wrapper">
<p>Your website content here.</p>
<div class="push"></div>
</div>
<div class="footer">
<p>Copyright (c) 2008</p>
</div>

杩欓噷鐨凞IV->push灏辨槸澶氬嚭鏉ョ殑閭d釜DIV锝炲紩鐢CSS Sticky Footer鐨勮瘽璇村氨鏄細

Some HTML purists may find this a blasphemous use of non-semantic code. Our solution avoids the extra

瀵圭収鐨勪腑鏂囩炕璇戞槸锛

瀵笻TML璇箟瑕佹眰涓ユ牸鐨勪汉鍙互璇翠唬鐮佽繖涔堝啓鏄笉绗﹀悎瑙勮寖鐨勶紝鎴戜滑鐨勬柟妗堜笉鐢ㄩ檮鍔犵殑DIV~

鐒跺悗鏄疌SS锛

* {
margin: 0;
}
html, body {
 height: 100%;
}
.wrapper {
 min-height: 100%;
 height: auto !important;
 height: 100%;
 margin: 0 auto -4em;
}
.footer, .push {
 height: 4em;
}

杩欓噷鍚CSS Sticky Footer鐨勫仛娉曟槸涓鏍风殑锛岄渶瑕佺粰.footer鍐欎竴涓猦eight锛屽苟涓斿湪.wapper閲屽啓margin-bottom锛宧eight銆
鏈汉娌℃湁瀹夎澶鐨勬祻瑙堝櫒娴嬭瘯锛屼笉杩CSS Sticky Footer鏄彿绉板吋瀹筃澶氫釜娴忚鍣紝鑰孯yanfait鐨勫垯鏄爣浜咶F锛孖E锛孫pera锛孲afari銆

2804/090

Time to Patch Google Chrome or IE锛

This article learned from readwriteweb.com and written by Sarah Perez.

Earlier this month, a problem was discovered in Google's new web browser, Google Chrome, that would have allowed an attacker to launch and run scripts on a compromised machine. The issue, originally discovered by Roi Saltzman of the IBM Rational Application Security Research Group, had been given a security rating of "high." Interestingly enough, although the attack takes advantage of security issues in Google Chrome, the initial entry point for the malicious code would have taken place in Internet Explorer.

Goolge has now released a patch for this issue. If you want to make sure your browser is up-to-date, click through for the instructions.

About the Security Issue(s)

According to researcher, Roi Saltzman, a malicious attacker can use three separate issues in parts of Chrome to create attacks that endanger users who surf to a malicious web site using Internet Explorer. Chrome program manager, Mark Larson, explains that the flaw could have caused Google Chrome to "launch, open multiple tabs, and load scripts that run after navigating to a URL of the attacker's choice." (Yes, it seems that to get the malicious code working, a user would still need to be surfing with IE.)

How to Fix Your Copy of Chrome

Now that a patch is available, you can update Google Chrome on your own. Even if you never run IE, it's always a good idea to have the latest version of Chrome installed. Although Google says that the browser will update itself automatically, on my machine, the update had not yet taken place on my ever-open copy of Chrome - I had to force the update manually.

If you want to do the same, you'll need to first click on the Settings menu in Chrome. This is the menu to the right of the address bar which is identified with an icon resembling a wrench. In that menu, click the option "About Google Chrome." If you need the update, it will begin automatically. Once complete, you'll be prompted to close and then reopen the browser for the update to finish installing.

about_google_chrome.png

To be extra sure that the update took, you can return to that menu option after relaunching Chrome and make sure that the version number reads 1.0.154.59.

--------------------------------------------------------------------------------------------------
Chrome鐖嗗嚭涓涓悶绗戠殑婕忔礊锛屽彲浠ュ湪Chrome澶氳繘绋嬮噷鍔犺浇澶栭儴Script浠g爜锛岀劧鍚庡涓嫑鐨勪汉杩涜鏀诲嚮锛屼絾鏄繖涓敾鍑昏繕闇瑕佷娇鐢ㄨ呮墦寮IE鎵嶈兘瀹屾垚鈥︹︿篃灏辨槸璇达紝浣跨敤Chrome浼氳浜轰娇鐢ㄨ繖涓紡娲炴敾鍑伙紝浣嗘槸杩欎釜鍙堟槸鍩轰簬IE鐨勨︹﹀ソ鏃犺鍟婃垜鈥︹﹀晩鍝堬紝Google translate 鈥滃ソ鏃犺鍟婃垜鈥 to 鈥淎h well I am speechless鈥濃︹ust for fun锝

1512/080

IE6鐨刟bsolute Bug

浠婂ぉ璺熷濡圭殑浠诲姟鏄В鍐冲濡逛笂鏄熸湡鍋氱殑浠Ifekt.net鐨刉P鐨偆锛
鍝囧锛屾垜鍙戠幇濮愬鏄秺鏉ヨ秺寮哄ぇ浜 :meinv
宸笉澶氬湪涓崍鐨勬椂鍊欒В鍐充簡IE7鐨勫吋瀹归棶棰橈紝鍞夛紝鍙逛竴鍙ワ紝JS鐨勮皟璇曚篃澶鏉備簡鍚э紝IE鎻愮ず鐨勯敊璇湴鐐癸紝妯$硦鐨勫お鍘夊锛屽彧鑳紸lert涔堬紵
鍏煎鐜㊣E7锛屽彂鐜癐E6涓嬭竟涓嶈锛岀湅浜嗕笅Ifekt.net锛屽彂鐜板畠閭h竟鐨勫眳鐒朵篃涓嶆敮鎸両E6锛屾睏銆
鎬庝箞鍔炪傚氨鏄笉鏀寔top鐨刟nimate()锛屻傘
16锛30鐨勬椂鍊欏濡瑰憡璇夋垜濂戒簡锛岃寮傘
闂簡涓嬪拰瑙o紝鍘熸潵鏄疘E6涓嬬殑absolute Bug锛屽搰锛岃繖鏍蜂篃鑳芥壘鍒癇UG鎵鍦ㄣ傘傘傘
杩欎釜BUG鏄繖鏍风殑锛宩Query鍦↖E6涓嬫棤娉曡鍙朇SS涓殑absolute灞炴э紝鍙兘鍦ㄩ渶瑕佹晥鏋滅殑鍦版柟閲嶆柊鍐欏叆absolute銆傘
鍞夛紝IE6锛宑an we say no to you锛熲︹

2306/080

鍏充簬HTML娉ㄩ噴鍦↖E,FF涓嬬殑闂

浠婃棭鍙戠幇鐨勪竴涓棶棰橈紝HTML娉ㄩ噴鍦↖E璺烣F涓嬬殑宸紓銆

<!---------------->
浣犲ソ
<!------------>
<!--bof 甯︽枃瀛楄鏄庣殑娉ㄩ噴-->
浣犲ソ鍟
<!--eof 甯︽枃瀛楄鏄庣殑娉ㄩ噴-->

鍦↖E涓嬭竟锛<!------------>鏄悎娉曠殑锛屽彲浠ヨ姝g‘鐨勮В鏋愩

鍦‵F涓嬭竟锛屽缓璁娇鐢<!--娉ㄩ噴鍐呭-->鐨勬爣鍑嗘牸寮忥紝鍚﹀垯锛屽緢瀹规槗瑙f瀽閿欒鈥︹

鎶婅鏄剧ず鐨凥TML鍐呭缁欒В鏋愭帀浜嗐傘傘

Tagged as: , , No Comments