- Apr 27 Mon 2015 04:10
2015 第三本書 十倍勝領導力
- Apr 27 Mon 2015 02:45
用Javascript 實踐上傳前預覽圖片
用Javascript實現 上傳前閱覽圖片,但是這個方法只能支持IE10之後的版本,其他瀏覽器都可以用,IE9和之前的版本都無法使用。
Input FileUpload files Property 不支持IE9和之前的版本。
http://www.w3schools.com/jsref/prop_fileupload_files.asp
- Apr 27 Mon 2015 02:18
Hidden input type="file" technique IE9無法上傳文件的解決方法
IE出於安全性的考慮,上傳檔時必須要點擊<input type=’file’>控制項本身才能上傳成功。而因為<input type=’file’>長的實在太醜,很少能滿足我們的審美,我們通常都是會隱藏它,然後用其他的button去觸發它。而這麼做在IE9下是不被允許的。
至于解决方法,只有用CSS來達成的,我的作法是把upload or <input type='file'> 弄成透明的蓋在DIV上,也就是應用z-index 用法。 為什麼會針對IE9呢?
- Apr 27 Mon 2015 01:49
JScript – Convert Image To Base64
Yesterday I was updating an HTA (HTML Application) and needed to figure out how to convert an image into a base64 code that could be used in a stylesheet. I needed this to be able to embed an image in the source code instead of referencing an actual image. For this reason I wrote the following function (with the help of this post):
- Apr 19 Sun 2015 10:25
Sharepoint 新手開發筆記 - 開發角色定位跟開發類型
Sharepoint 開發主要分三種
- Apr 18 Sat 2015 11:57
怎麼找出進程中的w3wp.exe對應哪個IIS網站 Which w3wp.exe PID corresponds to which application pool ?
The problem is that when it comes to w3wp.exe processes for the diagram above, there are three of them and just by looking in the task manager there is no easy way to tell them apart. Each instance of a w3wp.exe process has a PID (short for process identifier), but the question is which PID belongs to which application pool.
- Apr 08 Wed 2015 21:27
2015年 第二本書 餐桌上的奇蹟
- Apr 06 Mon 2015 22:26
2015年 第一本書 - 賺有錢人的錢:你該賣什麼?怎麼賣?
- Apr 03 Fri 2015 15:46
Karma和Jasmine自動化單元測試
1. Karma的介紹
Karma是Testacular的新名字,在2012年google開源了Testacular,2013年Testacular改名為Karma。Karma是一個讓人感到非常神秘的名字,表示佛教中的緣分,因果報應,比Cassandra這種名字更讓人猜不透!
- Mar 02 Mon 2015 00:25
PCI-DSS (Payment Card Industry Data Security Standard) 支付卡產業資料安全標準