<ul id="custom_list" style="width: 300px"> <li><input name="first" type="checkbox"><span>First checkbox</span></li> <li><input name="second" type="checkbox" checked><span>Simple checkbox is checked</span></li> <li><input name="third" type="checkbox"><span>Another simple</span></li> <li><input name="last" type="checkbox" checked><span>Last checkbox is checked</span></li> </ul>Just add simple javascript:
$(function(){ $("#custom_list").vchecks(); });And here is a result:
适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗.