https://avatars.githubusercontent.com/u/6058558

程式狂想筆記

記錄網頁特效動機

最近看到一些日本動畫網站做的越來越厲害
以前看到動態以為是Flash做出來的東西
但仔細一看,竟然是HTML5+JavaScript合出來的東西
於是我對一些網站製作手法開始有興趣了

AngularJS讀取載入檔案資訊

http://www.dotblogs.com.tw/regionbbs/archive/2012/06/28/html5.file.api.aspx http://odetocode.com/blogs/scott/archive/2013/07/05/a-file-input-directive-for-angularjs.aspx http://stackoverflow.com/questions/16579427/html5-file-upload-with-angularjs http://plnkr.co/edit/JPxSCyrxosVXfZnzEIuS?p=preview http://plnkr.co/edit/HEA7wYq8Uv0Ee0J4SX7u?p=preview html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <!doctype html> <html ng-app="plunker" > <head> <meta charset="utf-8"> <title>AngularJS Plunker</title> <script>document.write('<base href="' + document.location + '" />');</script> <link rel="stylesheet" href="style.css"> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.js"></script> <script src="app.js"></script> </head> <body ng-controller="MainCtrl"> <input type="file" filelist-bind multiple="multiple" name="files"/> <br> files : <pre>{{ files | json }}</pre> </body> </html> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 var app = angular.

last登入資訊不見了!!!

今天在宿舍連家裡的動物機連不進去,後來就用真實IP連線去了
登入後馬上下意識用last去看一下登入狀況
結果發現只有一條剛剛登入的訊息!!!

瀏覽器播放影片控制開始時間和結束時間

最近在想有沒有瀏覽器播放MP4控制播放時間
結果一搜尋還真的有耶!!!

在(Start HTML5 video at a particular position when loading?)[http://stackoverflow.com/questions/5981427/start-html5-video-at-a-particular-position-when-loading]這篇找到相關方法