發表文章

目前顯示的是 4月 28, 2013的文章

The way to hide Last Seen Status on WhatsApp?

圖片
How to Hide Last Seen Status on WhatsApp? Launch  WhatsApp . Go to  Settings  by tapping the tab that's located at the bottom right. Go to  Chat Settings , then tap  Advanced . Now all you need to do is to toggle the  "Last Seen Timestamp"  option to  OFF . Now, that was not so hard, was it? If you don't want to  hide Last Seen Status on WhatsApp , then you can always set the Last Seen Timestamp to  ON . If you have any questions on how to hide Online Status on WhatsApp, let us know in the comments section. Source from:  http://jaxov.com/2012/09/hide-online-offline-status-whatsapp/

html viewport meta

html viewport meta 淺見及說明 web mobile 化已經是一個全球的局面,好像網站如果沒有做個 media query,都會羞的不敢見人。 神奇的地方是很多人都會在html head 處加上 viewport 這個 meta data,為了釐清實際的效用以及屬性,接下來將大略介紹 viewport-meta 說明屬性與應用。 屬性說明 W3C 協會定義  viewport meta  目前還屬於草案,意思就是有可能隨時修改,特別註記一下,此文於西元2012年3月28日撰寫,以下描述如有出入,以W3C 標準為主。 viewport 可以設定的屬性分別如下, width:可設定數值,或者指定為 device-width height:可設定數值,或者指定為 device-height initial-scale:第一次進入頁面的初始比例 minimum-scale:允許縮小最小比例 maximum-scale:允許放大最大比例 user-scalable:允許使用者縮放,1 or 0 (yes or no) 最初執行viewport meta加入如下 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 編譯過程會轉化成如下的語意, @viewport { width: device-width; initial-scale: 1.0 } 基本說明 width=device-width 先提一下幾個注意的地方,首先在 viewport 裡面的 width 通常會看到設定為device-width ,主要是為了讓整個頁面寬度與手機可視寬度相同,如此就可以簡單相容於不同機型螢幕大小,如果這邊width 沒有設定的話,就會依照 html css 給予的 width 當作預設值。 因為解析度不同,device-width 有時候不一定是 view width ,所以在類似 iphone 4 高解析度機器上,device-width=320 ,可是實際解析度為 480,這時候就需要利用javascript 針對UA 下去做動態調整。 user-scalable 從屬性名稱來看就是...

Install Warcraft 3 Reign of Chaos/ the Frozen Throne with digital copy

圖片
Install Warcraft 3 Reign of Chaos/ the Frozen Throne with digital copy Here is the steps to install Warcraft 3 Reign of Chaos/ the Frozen Throne with digital copy 1. go to  http://www.battle.net . Create a Blizzard account. 2. Registered and verified your account through email 3. Go into 'account management'. 4. Add a Game 5. Enter the Warcraft 3 RoC/ tFT CD Key 6. Then you will be allowed to download both in their digital forms.

[Yii] User-friendly URLs

Creating URLs User-friendly URLs Using Named Parameters Parameterizing Routes Parameterizing Hostnames Hiding  index.php Faking URL Suffix Using Custom URL Rule Classes Complete URL management for a Web application involves two aspects: When a user request comes in terms of a URL, the application needs to parse it into understandable parameters. The application needs to provide a way of creating URLs so that the created URLs can be understood by the application. For a Yii application, these are accomplished with the help of  CUrlManager . Note:  You can specify URLs without using Yii but it is not recommended since you will not be able to easily change URLs via configuration without touching application code or to achieve application portability. 1. Creating URLs  Although URLs can be hardcoded in controller views, it is often more flexible to create them dynamically: $url = $this -> createUrl ( $route , $params ) ; where  $...