• Welcome to the eight year blog, I'm glad to meet you at the right age!
  • Due to the theme, QQ login partners will display the default avatar in the comments. Please go to the personal center and upload the avatar again.

Socialist core values mouse click JS special effect code

Code Notes barben 2 years ago (March 11, 2019) 2124 views 1 comment

Now there are so many click special effects code, but I chose to follow the trend again because I am a good young man who abides by the law and loves his country~

Code directly on it! The JQ library needs to be introduced. If jQuery has been introduced into the code, please delete the first line of the following code

 <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
var a_ IDX = 0; 
jquery (document). Ready (function ($) {
 $("body"). Click (function (E) {var a = new array ("prosperity", "democracy", "civilization", "harmony", "freedom", "equality", "justice", "rule of law", "patriotism", "dedication", "honesty", "Friendliness"); 
var $I = $("< span / >"). Text (a [a)_ idx]);
        a_ idx = (a_ idx + 1) % a.length;
        var x = e.pageX,
        y = e.pageY;
            "z-index": 100000000,
            "top": y - 20,
            "left": x,
            "position": "absolute",
            "font-weight": "bold",
            "color": "#00afef"
             "top": y - 180,
            "opacity": 0
        function() {

The mouse click effect is as follows:

Eight blogs that year, we've been there all the time
If the author does not indicate the original article, please indicate the link and source of this article
Socialist core values click JS special effect code - https://www.barben.cn/code/183.html
Like it( fourteen )
Post my comments
Cancel comment
expression Mapping Bold Strikethrough Center Italics

You need to bring your nickname and email with you in the year of eight!

  • Nickname (required)
  • Email address (required)
  • website
Successfully captured one A rare spirit
  1. Reference
    Howard's Cabin 2019-08-19 11:54 reply