/************************************************************************ ************************************************************************* @Name : QapTcha - jQuery Plugin @Revison : 2.5 @Date : 26/01/2011 @Author: Surrel Mickael (www.myjqueryplugins.com - www.msconcept.fr) @License : Open Source - MIT License : http://www.opensource.org/licenses/mit-license.php ************************************************************************** *************************************************************************/ jQuery.QapTcha = { build : function(options) { var defaults = { txtLock : '发表评论前,请滑动滚动条解锁', txtUnlock : '已解锁,可以发表评论了', disabledSubmit : false, autoRevert : true, autoSubmit : false, url : '/iQapTcha4tyepcho', action : 'iQapTcha4tyepcho' }; if(this.length>0) return jQuery(this).each(function(i) { /** Vars **/ var opts = $.extend(defaults, options), $this = $(this), form = $('form').has($this), Clr = jQuery('