설치문제 > 질문과 답변

본문 바로가기

질문과답변

[해결중] 설치문제

총 채택 포인트
200 포인트
채택된 회원에게 주는 후원 포인트
100 포인트
채택 후 작성자(오피) 회수 포인트
100 포인트

본문

시즌4.

인스톨 하면 아래롸 같은..

;( function( $, window, document, undefined ) { "use strict"; // Create the defaults once var pluginName = "PasswordStrengthManager", defaults = { password: "", confirm_pass : "", blackList : [], minChars : "", maxChars : "" }; // The actual plugin constructor function Plugin ( element, options ) { this.element = element; this.settings = $.extend( {}, defaults, options ); this._defaults = defaults; this._name = pluginName; this.init(); this.info = ""; } // Avoid Plugin.prototype conflicts $.extend( Plugin.prototype, { init: function() { var errors = this.customValidators(); if ("" == this.settings.password) { this.info = ""; } else if (this.settings.confirm_pass && (this.settings.password != this.settings.confirm_pass)) { this.msg = "비밀번호가 서로 일치하지 않습니다."; } else if (errors == 0) { this.msg = ""; var strength = zxcvbn(this.settings.password, this.settings.blackList); this.info = 'security_'+strength.score; } $(this.element).attr('class', this.info); $(this.element).find('.security_text').html(this.msg); }, minChars: function() { if (this.settings.password.length < this.settings.minChars) { this.msg = "비밀번호는 최소 " + this.settings.minChars + "자 이상 입력하셔야 합니다."; return false; } else { return true; } }, maxChars: function() { if (this.settings.password.length > this.settings.maxChars) { this.msg = "비밀번호는 최대 " + this.settings.maxChars + "자까지 사용하실 수 있습니다."; return false; } else { return true; } }, customValidators: function() { var err = 0; if (this.settings.minChars != "") { if (!this.minChars()) { err++; } } if (this.settings.maxChars != "") { if (!this.maxChars()) { err++; } } return err; } } ); $.fn[pluginName] = function (options) { this.each(function() { $.data(this, "plugin_" + pluginName, new Plugin(this, options)); }); return this; }; } )( jQuery, window, document );

도움을 주세요

 

포인트 122
경험치 2,954
[레벨 5] - 진행률 96%
가입일
2015-12-25 07:31:56
서명
미입력
자기소개
미입력

최신글이 없습니다.

최신글이 없습니다.

댓글목록2

JamesShin님의 댓글

profile_image
PHP 변수 중 short_open_tag의 문제인 것으로 보입니다. 다음 글을 참고하시기 바랍니다.

short_open_tag 문제 해결 방법 http://eyoom.net/bbs/board.php?bo_table=tip&wr_id=20

행운을 빕니다. 이모티콘

오피님의 댓글의 댓글

profile_image
감사합니다 꾸벅
이윰빌더 시즌4 질문과 답변 게시판입니다.

질문과 답변 게시판에는 가능한 이윰 관리자가 답변을 드리지 않습니다. 회원간 활성화 될수 있도록 도움 부탁드리며, 질문자는 원하는 답변이 달릴경우 꼭 채택하여 주시기 바랍니다.

상품구매 및 유료상품 문의는 1:1문의 게시판을 이용해 주시기 바랍니다.

1:1문의 바로가기 : https://eyoom.net/bbs/qalist.php

전체 1,916 건 - 117 페이지
번호
제목
글쓴이
채택포인트
사이트 내 전체검색