view plaincopy to clipboardprint?

 $(function() {  
     $('a[href*=#]').click(function() {  
         if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') &&　location.hostname == this.hostname) {  
             var target = $(this.hash);  
             target = target.length && target;  
             if (target.length) {  
                 var sclpos = 30;  
                 var scldurat = 1200;  
                 var targetOffset = target.offset().top - sclpos;  
                 $('html,body')  
                     .animate({scrollTop: targetOffset}, {duration: scldurat, easing: "easeOutExpo"});  
                 return false;  
             }  
         }  
     });  
 });  
