Skip to content

Month: April 2011


Categories:

[更新] jQuery 台灣郵遞區號套件 1.4

Post date:

jQuery 台灣郵遞區號套件更新至 1.4: 修改原始碼以符合 jslint.com 驗證 修改參數名稱 areaName => districtName, zipName => zipcodeName, areaSel => districtSel, zipSel => zipcodeSel, zipReadonly => readonly 修正當指定元素名稱時,若名稱內包含 [] 會發生錯誤的情形。 加入 destroy, reset, serialize 等方法 更新 Creative Commons License 至 3.0 $(function(){ $('#zipcode-1').twzipcode(); $('#zipcode-2').twzipcode({ zipcodeSel: 830, readonly: false }); $('button').click(function(){ var result = $('#' + $(this).val()).twzipcode($(this).text()); if ('serialize' === $(this).text()) […]

Categories:

[修正] Google Maps API v3 畫圓參數修正

Post date:
Tags:

自從發表了 Google Maps API v3 畫圓文章至今,Google Maps API 已更新至 3.4 版。 目前發現從 3.3 開始,Circle options 中的 fillColor, strokeColor 必須填寫完整的 Hex Code 而不能使用簡短寫法,例如:#369 就必須寫成 #336699。 所以就順手修正了 Google Maps API v3 畫圓 Demo。

Borderlands 再度跳水!

Post date:

是的,4 月 11 至 4 月 14 是 2K Games 的特惠日,不過前幾天的特惠簡直就像搔癢,直到今天,Borderlands 終於跳水,就順勢把 DLC2: Mad Moxxi’s Underdome Riot 帶回家啦,只要 2.49 鎂,多麼划算…多麼…靠盃! 而年度版更是只要 7.50 鎂,簡直是跳到沒人性了(舒維,哀家對不住您 XD) — 小王子,需要嗎?我可以代購唷,啾咪~