jquery Effect Encyclopedia of the production of computer health physical examination score special effects attached source code download _jquery

Source: Internet
Author: User
Tags auth lowercase account security

jquery Production of computer health examination score results are shown below, like friends can download the source Oh.

View effect Map Source Download

File references:

<script type= "Text/javascript" src= "Js/jquery-... min.js" ></script> <script type= "Text/javascript"
> var current =;
$ (document). Ready (function () {$ (". Score-state-right"). attr ("style", "width:px"); $ ("#check-secure"). HTML ("Start Detection");
  $ ("#check-secure"). Click (function () {if ($ ("#scorenum"). html ()!= "") {var current=;
  } var scoreline=;
  var score=;
  var line=;
  var auth = $ (". Safe-auth-done"). Length;
  var mobile = $ (". Safe-mobile-done"). Length;
  var google = $ (". Safe-google-done"). Length;
  var tradepwd = $ (". Safe-tradepwd-done"). Length; 
  var pwdscore =;
  var scoredetail= ';
    if (auth>) {score=score+;
  scoredetail+= ' <li class= "score-good-list clearfix" ><span> you have completed the real-name certification </span></li> '; }else{scoredetail+= ' <li class= "score-error-list clearfix" ><span> Congratulations, you do not have a real name certification!
  </span><a href= "#" data-click= "app" > View information </a></li> ';
    } if (mobile>) {score=score+; scoredetail+= ' <li class= ' SCORe-good-list Clearfix "><span> you have completed binding cell phone </span></li> '; }else{scoredetail+= ' <li class= "score-error-list clearfix" ><span> binding secure mobile phone, account security one-step </span><a
  href= "#" data-click= "app" > immediately bind </a></li> ';
    } if (google>) {score=score+;
  scoredetail+= ' <li class= "score-good-list clearfix" ><span> you have bound Google authenticator </span></li> '; }else{scoredetail+= ' <li class= "score-error-list clearfix" ><span> you have not yet tied Google authenticator </span><a href=
  "#" data-click= "app" > Bind Google </a></li> ';
  } if (tradepwd>) {score=score+; }else{scoredetail+= ' <li class= "score-error-list clearfix" ><span> you have not set up a trading password </span><a "#"
  data-click= "App" > Set password </a></li> ';
      } if (pwdscore>=) {if (pwdscore==) {score=score+; scoredetail+= ' <li class= "score-warn-list clearfix" ><span> Your trading password security generally, it is recommended to modify the form of uppercase and lowercase + numerals + special symbols. </span><a href= "#" data-click= "app" > modify password </a></li> ';
      }else if (pwdscore==) {score=score+; scoredetail+= ' <li class= "score-good-list clearfix" ><span> Congratulations, your trading password security is very high, you can not modify.
    </span><a href= "#" data-click= "app" > Modify password </a></li> '; }else if (pwdscore==) {scoredetail+= ' <li class= ' score-warn-list clearfix ' ><span> Your trading password security is generally recommended to be modified to uppercase and lowercase + The form of a number + special symbol.
    </span><a href= "#" data-click= "app" > Modify password </a></li> ';
  } $ ("#score_detail"). HTML (scoredetail);
  scoreline=line* (score/);
  var speedline=score*;
  var snum = setinterval ("Increment ()",);
     $ (". Score-state-right"). Animate ({width:scoreline+ "px"},speedline,function () {$ (". Score-detail"). Show ();
  Window.clearinterval (Snum);
  });
$ ("#check-secure"). HTML ("Re-detection");
});
}); 
function increment () {current++ $ ("#scorenum"). HTML (current); } </script>
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.