PageSourceSearch

https://book24.ua/local/templates/blog/js/social-icons/frontend.js

js book24.ua collected 2026-09-24 21:09:12 UTC 1,729 bytes, 42 lines download raw bytes

1(function ($) {
2  $(function () {
3   $('.aps-each-icon').hover(function(){
4     var animation_class = $(this).find('.animated').attr('data-animation-class');
5     if(animation_class!=='none')
6     {
7       $(this).find('.animated').addClass(animation_class);
8     }
9   },function(){
10     var animation_class = $(this).find('.animated').attr('data-animation-class');
11     if(animation_class!=='none')
12     {
13       $(this).find('.animated').removeClass(animation_class);
14     }
15   });
16   $('.aps-social-icon-wrapper .aps-each-icon[data-aps-tooltip-enabled="1"]').each(function(i,el){
17      var $this=$(el);
18      var toolTipText=$this.attr("data-aps-tooltip");
19      var toolTipBg=$this.attr("data-aps-tooltip-bg");
20      var toolTipTextColor=$this.attr("data-aps-tooltip-color");
21      var $toolTipHolder=$this.find('.aps-icon-tooltip');
22      $toolTipHolder.text(toolTipText).css({'background-color':toolTipBg,'color':toolTipTextColor,'margin-top':'-'+($toolTipHolder.outerHeight()/2)+'px','margin-left':'-'+($toolTipHolder.outerWidth()/2)+'px'});
23      $this.hover(function(){
24        $toolTipHolder.stop().fadeIn();
25      },function(){
26        $toolTipHolder.stop().fadeOut();
27      })
28   });
29   $('.aps-social-icon-wrapper .aps-group-vertical').each(function(){
30      var widthArray=new Array();
31      $(this).find('img').each(function(i,el){
32        var margin=$(el).parents('.aps-each-icon').css('marginLeft').replace('px','');
33        var itemWidth = parseInt(($(el).width())+(2*margin));
34        widthArray.push(itemWidth);
35      });
36      widthArray.max=function(){
37        return  Math.max.apply(Math,this);
38      }
39      $(this).width(widthArray.max());
40   });
41 });
42}(jQuery));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.