一段网页点击效果代码~

<script type="text/javascript"> 
/* 鼠标特效 */ 
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": 999999999999999999999999999999999999999999999999999999999999999999999, 
            "top": y - 20, 
            "left": x, 
            "position": "absolute", 
            "font-weight": "bold", 
            "color": "#FFFF00" 
        }); 
        $("body").append($i); 
        $i.animate({ 
            "top": y - 180, 
            "opacity": 0 
        }, 
        1500, 
        function() { 
            $i.remove(); 
        }); 
    }); 
}); 
  
$(function(){$("#BadApplePlayer_Ad").hide()});
</script>

点击效果
kevin3.png

Comments : 5

  1. buy cialis

    Hi there to all, the contents existing at this web site are in fact remarkable for people knowledge, well, keep up the nice work fellows.

  2. Lesmeerty

    Amoxicillin And Chylamidia Propecia E Infertilidad Farmacia Lilly Keflex п»їcialis Levitra In Osterreich Rezeptfrei Achat Cytotec Algerie Cross Sensitivity To Amoxicillin

  3. StevOwetlY

    Viagra Medication Online Windsor Canada Online Pharmacy generic cialis Does Cephalexin Kill Coccidia

  4. Matbeaumn

    Amoxicillin And Sinus Infections Prix Propecia Espagne Buy Tadalis Sx Generic Cialis Propecia Online With Prescription Viagra Generique Fiable

  5. Lesmeerty

    Propecia De 1 Miligramo http://cialibuy.com - cialis cheapest online prices Precio Cialis 5 Mg En Farmacia Buy Cialis Order Flagyl Tablets

发表留言

人生在世,错别字在所难免,无需纠正。