1jQuery(document).ready(function($){ 2 3 if(typeof themeColor =='undefined'){ 4 var themeColor="#1abc9c"; 5 6 } 7 8 function adjustIconboxes(themeColor){ 9 'use strict'; 10 $('.module_dt_iconboxes').each(function () { 11 var iconbox=$(this),moduleid=iconbox.attr('id'); 12 13 if($('.dt-iconboxes span',iconbox)){ 14 var icon=$('.dt-iconboxes span',iconbox); 15 var parnt=icon.parent(),color=icon.css("background-color"); 16 17 if('undefined'!==color && ('transparent'==color || 'rgba(0, 0, 0, 0)'==color) ) 18 { 19 for (var i=0;i<10;i++){ 20 var parnt2=$(parnt).parent(); 21 color=parnt2.css("background-color"); 22 parnt=parnt2; 23 if('transparent'!==color && 'rgba(0, 0, 0, 0)'!==color.toString() && 'undefined'!==color) 24 break; 25 } 26 27 if('transparent'!==color.toString() && 'rgba(0, 0, 0, 0)'!==color.toString() && 'undefined'!==color ){ 28 var style=''; 29 30 style+='#'+moduleid+' .dt-iconboxes span:after{border-top-color:'+color+' !important;}'; 31 style+='#'+moduleid+' .dt-iconboxes span:hover:after{border-top-color:'+themeColor+' !important;}'; 32 $('<style/>', {text: style}).appendTo('body'); 33 } 34 35 36 } 37 38 } 39 40 }); 41 42 //dt-iconboxes span 43 } 44 45 46 adjustIconboxes(themeColor); 47 48 /* --- Counter Functions--- */ 49 50 function dtDoCounter($this,$to) { 51 52 "use strict"; 53 $($this).css('opacity', '1'); 54 $($this).countTo({ 55 from: 0, 56 to: $to, 57 speed: 1500, 58 refreshInterval: 50 59 }) 60 } 61 62 63 function dtCounter() { 64 65 "use strict"; 66 if ($('.dt-counter').length) { 67 $('.dt-counter').each(function () { 68 69 70 $(this).appear(function () { 71 72 var $countTo = $(this).text(); 73 if ($(window).width()>480) { 74 dtDoCounter($(this),$countTo); 75 } 76 }, { 77 accX: 0, 78 accY: -100 79 }) 80 }) 81 } 82 } 83 84 dtCounter(); 85 86}); 87
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.