重要 , Raspbian Epiphany 瀏覽器 全內容(包括圖片影片)放大縮小方式
按住Ctrl和鍵盤+或-即可放大和縮小 Epiphany 會自動記憶你在此網域上一次的放大縮小程度 開啟時自動放大
2016年3月16日 星期三
2016年3月15日 星期二
瀏覽器內建的歷史undo redo API 以及取消內建的方法
https://developer.mozilla.org/en-US/docs/Web/API/History_API
http://stackoverflow.com/questions/16578016/disable-undo-and-redo-in-browsers
不需要以上方法,只要用e.preventDefault()即可 一定要記得有()!!!!
http://stackoverflow.com/questions/16578016/disable-undo-and-redo-in-browsers
不需要以上方法,只要用e.preventDefault()即可 一定要記得有()!!!!
2016年3月14日 星期一
強制關閉rails server的方法 kill -9 the_server_PID ,PID到工作目錄下的tmp資料夾去看
強制關閉rails server的方法 kill -9 the_server_PID ,PID號碼到工作目錄下的tmp資料夾去看
2016年3月6日 星期日
sortable multi drag 多選的方法
http://stackoverflow.com/questions/3774755/jquery-sortable-select-and-drag-multiple-list-items
重要,讓某個物件的所有新舊(live update)子物件都被隨時附與event listener的方法
重要,讓某個物件的所有新舊(live update)子物件都被隨時附與event listener的方法
$("body").on("event","selector",function(e){ })
2016年3月5日 星期六
重要 sortable 處理handle以及新增new object後的 refresh 用法
http://stackoverflow.com/questions/12716039/adding-a-new-item-to-a-jquery-sortable-not-being-picked-up-by-refresh
http://jsfiddle.net/rniemeyer/qwgrf/
重要 我遭遇的問題
http://stackoverflow.com/questions/15497383/jquery-ui-sortable-cant-drag-li-elements-in-cloned-ul
正確解 http://jsfiddle.net/weqYs/
只能使用clone(),其他event要手動加上, 不可使用clone(true,true) 因為背後的sortable的結構會亂掉
讓新物件也都有assign到listener的寫法
http://stackoverflow.com/questions/8650410/jquery-on-method-doesnt-see-new-elements
2016年3月1日 星期二
找回剛關閉的的chrome頁面的方法
search for "chrome recently closed tabs extension"
or simply Ctrl + Shift + T
------
Ctrl + W : 關閉目前分頁
Ctrl +T : 開啟新分頁
or simply Ctrl + Shift + T
------
Ctrl + W : 關閉目前分頁
Ctrl +T : 開啟新分頁
訂閱:
文章 (Atom)