Search
3/20/2007
3/16/2007
Setting the “name” attribute in Internet Explorer » Semicolon
Setting the “name” attribute in Internet Explorer » Semicolon
Death to bad DOM Implementations ¬ Easy Reader
function createElementWithName(type, name) {
var element;
// First try the IE way; if this fails then use the standard way
if (document.all) {
element =
document.createElement('< '+type+' name="'+name+'" />');
} else {
element = document.createElement(type);
element.setAttribute('name', name);
}
return element;
}
IE版本的view generated source
Firefox下面要看到generated source,也就是Javascript動態產生出來的HTML,有firebug or Web Developer可以用,在IE下好險也有,
Web Accessibility Toolbar - Resources - Vision Australia
CamelCase - Wikipedia, the free encyclopedia
CamelCase - Wikipedia, the free encyclopedia - 照樣造句就是CSS的properties到Javascript都會寫成CamelCase的樣式,
也就是 background-color 寫成 target.backgroundColor = 'red'
CamelCase, camel case or medial capitals is the practice of writing compound words or phrases in which the words are joined without spaces and are capitalized within the compound. The term's name comes from the uppercase "bumps" in the middle of the compound word, suggestive of the humps of a camel.
標籤: terms
3/11/2007
3/09/2007
hoamon's sandbox: CMClass: 微軟徵才試題
hoamon's sandbox: CMClass: 微軟徵才試題 - 題目很久以前就看過了,不過現在才搞懂是在問什麼。
標籤: job
3/06/2007
3/05/2007
3/04/2007
Tsung's Blog | Mplayer 常見錯誤訊息修復
Tsung's Blog | Mplayer 常見錯誤訊息修復
修復 Requested audio codec family [mp3] (afm=mp3lib) not available. enable it at compilation 的步驟如下:
1. 開啟 Mplayer
2. 在 Mplayer 上按右鍵 選 Preferences
3. 切換到Codecs & Demuxer
4. 找到 Audio codec family 選擇"FFmpeg/libavcodec audio decoders
5. 按OK
6. 完成
用firefox無法下載某些站的torrent有解了
解決 Firefox 下載 RAR/torrent 的問題 at Gea-Suan Lin’s BLOG
將有問題站的 fetch.php 設定成 application/octet-stream 即可。
訂閱:
文章 (Atom)