웹 페이지가 흐려진 거예요. [JavaScript 코드]

1738 단어
<![if !IE]>    
    <script>       
    /*    
    * by moli    
    */    
    $(document).ready(function(){    
      if(document.cookie.indexOf("lu=") == -1 ){    
        //  2     
        setTimeout("jQuery.mxblur.interID = setInterval('jQuery.mxblur.begin()', 5)", 1500);    
      }    
    });    
    
    $.mxblur = {    
        interID : null,    
        num: 0.01,    
        begin : function() {    
            jQuery.mxblur.blur( jQuery.mxblur.num );    
            if(jQuery.mxblur.num > 3) {    
                jQuery.mxblur.num = 0;    
              if(confirm(" ! ? ?")) {    
                 alert(" , , :)");    
                 clearInterval(jQuery.mxblur.interID );    
                 jQuery.mxblur.blur(0);    
                 document.cookie = "lu=lu";    
              }    
            }    
            jQuery.mxblur.num = jQuery.mxblur.num  + 1 /100;    
        },    
        blur : function() {    
            $("body").css("-webkit-filter","blur("+$.mxblur.num+"px)");    
            $("body").css("-moz-filter","blur("+$.mxblur.num+"px)");    
            $("body").css("-o-filter","blur("+$.mxblur.num+"px)");    
            $("body").css("-ms-filter","blur("+$.mxblur.num+"px)");    
            $("body").css("filter","blur("+$.mxblur.num+"px)");    
            $("body").css("filter","url(blur.svg#"+ $.mxblur.num.toFixed(1) +")");    
        }    
    }    
    </script>    
    <![endif]>

좋은 웹페이지 즐겨찾기