标签:自定义 java doc linux length pup index font append
需要申请JS权限,JS权限申请通过之后,将如下代码放入侧边栏,页首,页末,都可以
复制如下代码
<script type="text/javascript"> /* 鼠标特效 */ var a_idx = 0; jQuery(document).ready(function($) { $("body").click(function(e) { var a = new Array("?Linux?","?Shell?","?Script?","?Mysql?","?Apache?","?Love?","?JavaScript?","?","?Python?"); var $i = $("<span></span>").text(a[a_idx]); a_idx = (a_idx + 1) % a.length; var x = e.pageX, y = e.pageY; $i.css({ "z-index": 999999999999999999999999999999999999999999999999999999999999999999999, "top": y - 20, "left": x, "position": "absolute", "font-weight": "bold", "color": "rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")" }); $("body").append($i); $i.animate({ "top": y - 180, "opacity": 0 }, 1500, function() { $i.remove(); }); }); }); </script>
本文来自:https://www.cnblogs.com/lmyupupblogs/p/10268060.html
标签:自定义 java doc linux length pup index font append
原文地址:https://www.cnblogs.com/despotic/p/10625447.html