寫網頁變得輕鬆寫意(?),就如同 jQuery 的 slogan : Write less, Do more
jQuery 的另外一個好處就是,他開放了一些標準給使用者能夠自行開發 plugin
擴充其功能,這邊介紹的 plugin 是: jQuery Timer plugin
官方網站:http://jquery.offput.ca/every/
授權方式:WTFPL (do whatever the fuck you want with it)
在開始介紹之前,先回顧一下標準的 Javascript timer 要怎麼使用: