Tag Archives: Postaday2011

馬嶽 – 輸者替補 曠古絕今

曠古絕今… 用來形容香港特區政府班“官”真係最貼切不過。

 

特區政府為了防止民主派再用辭職發動「公投」,想出了曠古絕今的替補制度:由本來輸的候選人補上出缺的席位。政府有關論據錯誤極多,處處誤導公眾,實在極為可悲。
 

違反比例代表制精神

政府強調有關安排符合比例代表制選舉制度,但其實新安排和比例代表制原則大相逕庭。比例代表制最簡單和重要的精神和原則,就是議席應該大致按照選舉中各政黨名單得票的比例而分配。簡言之,一個政黨如果在選舉中獲得一成的選票,它應該在議會中拿得大約一成的議席(全面普選的話),令議會的議席分佈,可以大約反映社會中民意的分佈。 Continue reading 馬嶽 – 輸者替補 曠古絕今

jQuery – Slideshow Example

This is another jQuery example which i want to share with you. Again, it maybe not good for use but it would be a nice example for beginners to take a quick look on jQuery. Try jQuery Cycle Plugin to get more interesting animation. If you are looking for more jQuery examples, take a look in my previous blog posts.

Continue reading jQuery – Slideshow Example

Drupal – Enable Quantity Field for Ubercart Add to cart form

Update @ 2015-04-27: There is a simpler way to achieve this without coding. Please refer to this comment.

In the Ubercart product page, the product quantity option in the add to cart form is hidden by default. If you want to allow user modifying the product quantity in the order, create a custom module and implement the following hook. Continue reading Drupal – Enable Quantity Field for Ubercart Add to cart form