看上去很简单,但是很时髦的一个插件,使用了一些CSS3和jQuery技术,拥有自定义字体和令人印象深刻的标记图案。$(document).ready(function() { $('ul.form li a').click( function(e) { e.preventDefault(); // prevent the default action e.stopPropagation; // stop the click from bubbling $(this).closest('ul').find('.selected').removeClass('selected'); $(this).parent().addClass('selected'); }); });