A jQuery plugin converting img to many checkboxes.
imgタグで指定した画像をcheckboxのドット絵に変換するjQueryプラグインです。
This image will be converted to
HTMLでscriptを読み込みます。
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script src="javascripts/jquery.dotCheckbox.js"></script>
$(SELECTOR).dotCheckbox()で src に指定した画像をドット絵に変換します。
$(function() {
$("img.dot-check-box").dotCheckbox()
})
animation ドット絵のアニメーションを指定します。 blink or horizontal-slide or vertical-slide で指定します。デフォルト値は none (アニメーションなし)です。
This image will be converted to
This image will be converted to
http://bugcloud.github.com/dot-check-box/
MIT