南下客

遇见更好的自己

给网站添加社会主义核心价值观鼠标点击特效

JS代码如下放在网站中就可以使用了

if(navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)){}else{var a_idx=0;jQuery(document).ready(function($){$("body").click(function(e){var a=new Array("富强","民主","文明","和谐","自由","平等","公正","法治","爱国","敬业","诚信","友善");var $i=$("<span/>").text(a[a_idx]);a_idx=(a_idx+1)%a.length;var x=e.pageX,y=e.pageY;$i.css({"z-index":999999,top:y-20,left:x,position:"absolute","font-weight":"bold",color:"#26047d"});$("body").append($i);$i.animate({top:y-180,opacity:0},1500,function(){$i.remove()})})})}


Title - Artist
0:00