It was with some shock that I read (via Slashdot) about Adobe's Open Source presentation engine (and layout system). In my experience, very few companies take much stock in writing generic systems that leverage the body of computer science. So, I was quite pleased to read Sean Parent's comments: The most ambitious library, Adam, stems from the intuition that the logic behind a simple human interfa
Your browser is outdated. Please update to a version respecting Web Standards.
Windows 2000/XPのFont Link機能 (Font Linking) 注意:半角かなが混じっているので、Shift-JIS環境でないと文字化けする可能性があります。 目次 はじめに レジストリの編集 説明 注意点 使用例 参考文献 さいごに はじめに フォントの組み替えができるFontLink 機能(原語はability) は、どうやら英語版Windows CE (iPAQなど) の日本語化ページでしか紹介されてようなので、紹介ページを作ってみました。 この機能を使うと英語のフォントに、日本語のフォントが組み込めます。 ただ残念なのは、Windows CEと違って、元のフォントが持っている文字をマスクできないので、機能の自由度が低いことです。 まんがの吹き出しで使われる、漢字かな混植フォントを使いたい作りたいのであれば、 Homeの「混植フォントを合成(memo)」を参照し
ProFont and Sheldon What's this? These are various download files for all people who love ProFont and comparable small sized, monospaced bitmap fonts. For more information, read ProFont for Windows, Mac, Linux. Files Sheldon for Windows, .fon format, ZIP archive, 5.7 KBytes. ProFont for Windows, .fon format, ZIP archive, 22 KBytes. ProFont for Windows TrueType, .ttf format, ZIP archive, 25
id:higepon:20050914:1126689576の続き。 Effect::Sizeを使う場合、隠れた部分の height が事前に分からないと厳しいと書いたところ。 http://synklab.net/blog/?itemid=74の中の人からトラックバックが来ました。 この問題を、非常にスマートに解決しています。 ポイントは var entries = document.getElementsByClassName(className); for (var i = 0; i < entries.length; i++) { var e = entries[i]; showing[e.id] = false; saveHeight[e.id] = e.offsetHeight; e.style.visibility = 'visible'; e.style.overflow
id:higepon:20050831の続き 同じ .js ファイルの中で宣言の順番に気を使う。後方参照できない(?) この件は、id:kambaraと話していて解決というか納得した。 var Hoge = Class.create(); Hoge.prototype = (new HogeBase).extend ( { このようにクラスを”宣言”しているつもりになるのだが、良く考えるとこれは動的に上から下に実行されているため起こる問題だ。 JavaScript自身は後方参照できるが、prototype.js の仕組み上後方参照できないということ。 $関数 document.getElementByIdの代わりに使う。 厳密には $('hoge') だと たとえば <div id='hoge'> のオブジェクトが返る。 $('hoge', 'hige') だと、'hoge', 'hige
id:higepon:20050602#1117724735で、textarea を利用した printデバッグを紹介しました。 その後、集まった情報を整理しておきます。。 id:YamamiさんよりMicrosoftのツール。 http://support.microsoft.com/default.aspx?scid=kb;ja;81617(JavaScriptのデバッグ) id:tapotさんよりGreasemonkeyのGM_log。 id:tapot:20050603:p4 id:moceanstarさんによる、オブジェクトプロパティ展開。(これ良いですね。) id:moceanstar:20050603#1117786327 追記: id:tapotさんより http://www.hacksrus.com/%7Eginda/venkman/ Netscape 7.xで動作するデ
id:higepon:20050602:1117724735で、書いたデバッグ方法をオブジェクト指向っぽく。 var debug = new Debug('debug', true); function Debug(target, debug) { this.target = target; this.out = function(str) { if (!debug) return; var place = document.getElementById(this.target); if (!place) return; place.value += str + "\n"; } this.clear = function() { if (!debug) return; this.value = ''; } } <textarea cols=70 rows=30 id="debug"></t
Lifehacker has been the world’s leading guide to tech and life tips, tricks and hacks since 2005. Our job is to figure out how tech, gadgets, software and other things work, so you don’t have to. Our team of experts spend over 5,000 hours per month researching and hands-on testing into the very best answers to your biggest questions and problems.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く