(Uncomment the second line if you also wish to check whether IE is running in “compatibility” (quirks) mode or in standards-mode.) All other browsers cheerfully ignore the Javascript comment block (/* … */) so what they end up with is essentially this: var is_ie; …which evaluates as an implicit false, when used as …

好友既網站終於去到public beta 既階段, 當然要係呢度賣下廣告啦 🙂 話唔定呢個就係香港版既facebook 呢 ~~ Dear friends, We are very excited to announce the launch of our new website www.getogeto.com, a place where you can get all your best friends together. Getogeto provides all FREE services and leads you through every step to host gatherings in a few simple steps, without making …

http://www.blogjava.net/gf7/archive/2007/02/28/101148.html iText經驗總結 因為前些日子在一個項目中用到了iText，稍有收獲，便總結于此，以供他人所需。 iText是一個比較底層的pdf庫，很多項目的pdf操作都是以它為基礎的。像spring，以及另一個比較有名的報表工具jasperreports。簡單的pdf報表輸出用它比較合適，比較復雜的話使用起來就比較困難了，你要手工編寫太多的代碼。 比較好的是iText網站上提供相當多的示例代碼，比較容易入門。我這里只說一些在它的文檔里並沒有直接講到的東西。 1 關于Document Document的几種构造函數： public Document(); public Document(Rectangle pageSize); public Document(Rectangle pageSize, int marginLeft, int marginRight, int marginTop, int marginBottom); 下面兩種比較有用，如果是你想定義紙張大小和邊緣的時候。對于Margin，iText上提到”You can also change the margins while you are adding content. Note that the changes will only be noticed on the NEXT page. If you want the margins mirrored (odd and …